OpendTect-6_4  6.4
Classes | Public Member Functions | Public Attributes | List of all members
Stats::DirectionalData Class Reference

A circle of data. More...

Inheritance diagram for Stats::DirectionalData:
[legend]

Classes

class  Setup
 

Public Member Functions

 DirectionalData (int nrsectors=0, int nrparts=0)
 
void init (int nrsectors, int nrparts)
 
SectorPartDataget (int isect, int ipart)
 
const SectorPartDataget (int isect, int ipart) const
 
int nrSectors () const
 
int nrParts (int isect) const
 
float angle (int isect, int bound=0) const
 
float angle (int isect, Angle::Type, int bound=0) const
 bound: -1=start, 1=stop, 0=center More...
 
int sector (float ang) const
 
int sector (float ang, Angle::Type) const
 
int part (int isect, float pos) const
 
- Public Member Functions inherited from ManagedObjectSet< SectorData >
 ManagedObjectSet ()
 
 ManagedObjectSet (const ManagedObjectSet< SectorData > &)
 
virtual ~ManagedObjectSet ()
 
ManagedObjectSet< SectorData > & operator= (const ObjectSet< SectorData > &)
 
ManagedObjectSet< SectorData > & operator= (const ManagedObjectSet< SectorData > &)
 
virtual bool isManaged () const
 
virtual void erase ()
 
virtual void append (const ObjectSet< SectorData > &)
 
virtual void removeRange (size_type, size_type)
 
virtual SectorData * removeSingle (int idx, bool kporder=true)
 
virtual SectorData * removeAndTake (int idx, bool kporder=true)
 
virtual SectorData * replace (int idx, SectorData *)
 
virtual ManagedObjectSet< SectorData > & operator-= (SectorData *)
 
- Public Member Functions inherited from ObjectSet< SectorData >
 ObjectSet ()
 
 ObjectSet (const ObjectSet< SectorData > &)
 
virtual ~ObjectSet ()
 
ObjectSet< SectorData > & operator= (const ObjectSet< SectorData > &)
 
bool nullAllowed () const
 
void allowNull (bool yn=true)
 
size_type size () const
 
virtual int64_t nrItems () const
 
virtual SectorData * operator[] (size_type)
 
virtual const SectorData * operator[] (size_type) const
 
virtual SectorData * operator[] (const SectorData *) const
 check & unconst More...
 
virtual bool validIdx (int64_t) const
 
virtual bool isPresent (const SectorData *) const
 
virtual size_type indexOf (const SectorData *) const
 
SectorData * first ()
 
const SectorData * first () const
 
SectorData * last ()
 
const SectorData * last () const
 
ObjectSet< SectorData > & add (SectorData *t)
 
ObjectSet< SectorData > & operator+= (SectorData *t)
 
void push (SectorData *t)
 
bool addIfNew (SectorData *)
 
virtual void insertAt (SectorData *newptr, size_type)
 
virtual void insertAfter (SectorData *newptr, size_type)
 
virtual void copy (const ObjectSet< SectorData > &)
 
virtual void swap (int64_t, int64_t)
 
virtual void reverse ()
 
virtual SectorData * pop ()
 
void plainErase ()
 
- Public Member Functions inherited from OD::Set
virtual ~Set ()
 
bool isEmpty () const
 
void setEmpty ()
 

Public Attributes

Setup setup_
 

Additional Inherited Members

- Public Types inherited from ManagedObjectSet< SectorData >
typedef int size_type
 
typedef SectorData object_type
 
- Public Types inherited from ObjectSet< SectorData >
typedef int size_type
 
typedef SectorData object_type
 
- Protected Member Functions inherited from ObjectSet< SectorData >
virtual ObjectSet< SectorData > & doAdd (SectorData *)
 
- Protected Attributes inherited from ObjectSet< SectorData >
VectorAccess< void *, size_typevec_
 
bool allow0_
 

Detailed Description

A circle of data.

The circle is subdivided in sectors, which are subdivided in sector parts. The relative 'pos_' from the sector part can be scaled with usrposrg_ to get user positions.

Angles are implicit: we always expect 360 degrees of data.

Constructor & Destructor Documentation

Stats::DirectionalData::DirectionalData ( int  nrsectors = 0,
int  nrparts = 0 
)
inline

Member Function Documentation

float Stats::DirectionalData::angle ( int  isect,
int  bound = 0 
) const
inline
float Stats::DirectionalData::angle ( int  isect,
Angle::Type  t,
int  bound = 0 
) const
inline

bound: -1=start, 1=stop, 0=center

SectorPartData& Stats::DirectionalData::get ( int  isect,
int  ipart 
)
inline
const SectorPartData& Stats::DirectionalData::get ( int  isect,
int  ipart 
) const
inline
void Stats::DirectionalData::init ( int  nrsectors,
int  nrparts 
)
inline
int Stats::DirectionalData::nrParts ( int  isect) const
inline
int Stats::DirectionalData::nrSectors ( ) const
inline
int Stats::DirectionalData::part ( int  isect,
float  pos 
) const
inline
int Stats::DirectionalData::sector ( float  ang) const
inline
int Stats::DirectionalData::sector ( float  ang,
Angle::Type  t 
) const
inline

Member Data Documentation

Setup Stats::DirectionalData::setup_

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019