OpendTect  6.3
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)
 
SectorPartDatagetPartData (int isect, int ipart)
 
const SectorPartDatagetPartData (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
 
- Public Member Functions inherited from ManagedObjectSet< SectorData >
 ManagedObjectSet ()
 
 ManagedObjectSet (const ManagedObjectSet< SectorData > &)
 
 ManagedObjectSet (const ObjectSet< SectorData > &)
 
ManagedObjectSet< SectorData > & operator= (const ObjectSet< SectorData > &os)
 
virtual void append (const ObjectSet< SectorData > &)
 
- Public Member Functions inherited from ManagedObjectSetBase< SectorData >
virtual bool isManaged () const
 
virtual SectorData * removeSingle (int idx, bool kporder=true)
 
virtual void removeRange (int, int)
 
virtual SectorData * replace (int idx, SectorData *)
 
virtual SectorData * removeAndTake (int idx, bool kporder=true)
 
virtual void erase ()
 
virtual ManagedObjectSetBase< 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 bool validIdx (int64_t) const
 
virtual bool isPresent (const SectorData *) const
 
virtual size_type indexOf (const SectorData *) const
 
virtual SectorData * get (size_type)
 
virtual const SectorData * get (size_type) const
 
virtual SectorData * get (const SectorData *) const
 check & unconst More...
 
SectorData * first ()
 
const SectorData * first () const
 
SectorData * last ()
 
const SectorData * last () const
 
ObjectSet< SectorData > & add (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 ()
 
ObjectSet< SectorData > & operator+= (SectorData *t)
 
SectorData * operator[] (size_type i)
 
const SectorData * operator[] (size_type i) const
 
const SectorData * operator[] (const SectorData *t) const
 
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 ObjectSet< SectorData >
typedef int size_type
 
typedef SectorData object_type
 
- Protected Types inherited from ManagedObjectSetBase< SectorData >
typedef void(* PtrFunc) (SectorData *ptr)
 
- Protected Member Functions inherited from ManagedObjectSetBase< SectorData >
 ManagedObjectSetBase (PtrFunc delfunc)
 
 ~ManagedObjectSetBase ()
 
- 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::getPartData ( int  isect,
int  ipart 
)
inline
const SectorPartData& Stats::DirectionalData::getPartData ( int  isect,
int  ipart 
) const
inline
int Stats::DirectionalData::nrParts ( int  isect) const
inline
int Stats::DirectionalData::nrSectors ( ) 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. 2017