OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SeisDataPack Class Referenceabstract

DataPack for volume data. Should be renamed to VolumeDataPack later. More...

Inheritance diagram for SeisDataPack:
[legend]

Public Member Functions

 ~SeisDataPack ()
 
virtual bool is2D () const =0
 
virtual int nrTrcs () const =0
 
virtual TrcKey getTrcKey (int globaltrcidx) const =0
 
virtual int getGlobalIdx (const TrcKey &) const =0
 
virtual int getNearestGlobalIdx (const TrcKey &) const
 
void getPath (TrcKeyPath &) const
 
virtual bool addComponent (const char *nm)=0
 
virtual const StepInterval< float > & getZRange () const =0
 
const OffsetValueSeries< float > getTrcStorage (int comp, int globaltrcidx) const
 
OffsetValueSeries< float > getTrcStorage (int comp, int globaltrcidx)
 
const float * getTrcData (int comp, int globaltrcidx) const
 
float * getTrcData (int comp, int globaltrcidx)
 
int nrComponents () const
 
bool isEmpty () const
 
bool validComp (int comp) const
 
void setComponentName (const char *, int comp=0)
 
const char * getComponentName (int comp=0) const
 
const Array3DImpl< float > & data (int component=0) const
 
Array3DImpl< float > & data (int component=0)
 
void setZDomain (const ZDomain::Info &)
 
const ZDomain::InfozDomain () const
 
void setScaler (const Scaler &)
 
void deleteScaler ()
 
const ScalergetScaler () const
 
void setRefNrs (const TypeSet< float > &refnrs)
 
float getRefNr (int globaltrcidx) const
 
const BinDataDescgetDataDesc () const
 
void setDataDesc (const BinDataDesc &)
 
float nrKBytes () const
 
void dumpInfo (IOPar &) const
 
void setRandomLineID (int)
 
int getRandomLineID () const
 
int getComponentIdx (const char *nm, int defcompidx=-1) const
 
- Public Member Functions inherited from DataPack
 DataPack (const char *categry)
 
 DataPack (const DataPack &dp)
 
virtual ~DataPack ()
 
ID id () const
 
FullID fullID (int mgrid) const
 
virtual const char * category () const
 
virtual bool isOK () const
 
Threads::LockupdateLock () const
 
void release ()
 
DataPackobtain ()
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject *linkedto)
 
 NamedObject (const NamedObject &)
 
virtual ~NamedObject ()
 
void setLinkedTo (NamedObject *)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual const OD::StringannotName () const
 
virtual void setName (const char *)
 
void setCleanName (const char *)
 cleans string first More...
 
void deleteNotify (const CallBack &)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Static Public Member Functions

static const char * categoryStr (bool isvertical, bool is2d)
 
- Static Public Member Functions inherited from DataPack
static ID getID (const FullID &fid)
 
static const char * sKeyCategory ()
 
static ID cNoID ()
 

Protected Member Functions

 SeisDataPack (const char *, const BinDataDesc *)
 
bool addArray (int sz0, int sz1, int sz2)
 
bool addArrayNoInit (int sz0, int sz1, int sz2)
 
- Protected Member Functions inherited from DataPack
void setManager (const DataPackMgr *)
 
void setCategory (const char *c)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

BufferStringSet componentnames_
 
ObjectSet< Array3DImpl< float > > arrays_
 
TypeSet< float > refnrs_
 
ZDomain::Infozdomaininfo_
 
BinDataDesc desc_
 
const Scalerscaler_
 
int rdlid_
 
- Protected Attributes inherited from DataPack
const ID id_
 
const BufferString category_
 
int nrusers_
 
Threads::Lock nruserslock_
 
Threads::Lock updatelock_
 
const DataPackMgrmanager_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Additional Inherited Members

- Public Types inherited from DataPack
typedef int ID
 
typedef MultiID FullID
 
- Static Protected Member Functions inherited from DataPack
static ID getNewID ()
 ensures a global data pack ID More...
 
static float sKb2MbFac ()
 1 / 1024 More...
 

Detailed Description

DataPack for volume data. Should be renamed to VolumeDataPack later.

Constructor & Destructor Documentation

SeisDataPack::~SeisDataPack ( )
SeisDataPack::SeisDataPack ( const char *  ,
const BinDataDesc  
)
protected

Member Function Documentation

bool SeisDataPack::addArray ( int  sz0,
int  sz1,
int  sz2 
)
protected
bool SeisDataPack::addArrayNoInit ( int  sz0,
int  sz1,
int  sz2 
)
protected
virtual bool SeisDataPack::addComponent ( const char *  nm)
pure virtual
static const char* SeisDataPack::categoryStr ( bool  isvertical,
bool  is2d 
)
static
const Array3DImpl<float>& SeisDataPack::data ( int  component = 0) const
Array3DImpl<float>& SeisDataPack::data ( int  component = 0)
void SeisDataPack::deleteScaler ( )
void SeisDataPack::dumpInfo ( IOPar ) const
virtual

Reimplemented from DataPack.

Reimplemented in RegularSeisDataPack.

int SeisDataPack::getComponentIdx ( const char *  nm,
int  defcompidx = -1 
) const
const char* SeisDataPack::getComponentName ( int  comp = 0) const
const BinDataDesc& SeisDataPack::getDataDesc ( ) const
inline
virtual int SeisDataPack::getGlobalIdx ( const TrcKey ) const
pure virtual
virtual int SeisDataPack::getNearestGlobalIdx ( const TrcKey ) const
virtual
void SeisDataPack::getPath ( TrcKeyPath ) const
int SeisDataPack::getRandomLineID ( ) const
float SeisDataPack::getRefNr ( int  globaltrcidx) const
const Scaler* SeisDataPack::getScaler ( ) const
inline
const float* SeisDataPack::getTrcData ( int  comp,
int  globaltrcidx 
) const
float* SeisDataPack::getTrcData ( int  comp,
int  globaltrcidx 
)
virtual TrcKey SeisDataPack::getTrcKey ( int  globaltrcidx) const
pure virtual
const OffsetValueSeries<float> SeisDataPack::getTrcStorage ( int  comp,
int  globaltrcidx 
) const
OffsetValueSeries<float> SeisDataPack::getTrcStorage ( int  comp,
int  globaltrcidx 
)
virtual const StepInterval<float>& SeisDataPack::getZRange ( ) const
pure virtual
virtual bool SeisDataPack::is2D ( ) const
pure virtual
bool SeisDataPack::isEmpty ( ) const
inline
int SeisDataPack::nrComponents ( ) const
inline
float SeisDataPack::nrKBytes ( ) const
virtual

Implements DataPack.

virtual int SeisDataPack::nrTrcs ( ) const
pure virtual
void SeisDataPack::setComponentName ( const char *  ,
int  comp = 0 
)
void SeisDataPack::setDataDesc ( const BinDataDesc )
void SeisDataPack::setRandomLineID ( int  )
void SeisDataPack::setRefNrs ( const TypeSet< float > &  refnrs)
inline
void SeisDataPack::setScaler ( const Scaler )
void SeisDataPack::setZDomain ( const ZDomain::Info )
bool SeisDataPack::validComp ( int  comp) const
inline
const ZDomain::Info& SeisDataPack::zDomain ( ) const
inline

Member Data Documentation

ObjectSet<Array3DImpl<float> > SeisDataPack::arrays_
protected
BufferStringSet SeisDataPack::componentnames_
protected
BinDataDesc SeisDataPack::desc_
protected
int SeisDataPack::rdlid_
protected
TypeSet<float> SeisDataPack::refnrs_
protected
const Scaler* SeisDataPack::scaler_
protected
ZDomain::Info* SeisDataPack::zdomaininfo_
protected

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