OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
VolumeDataPack Class Reference

DataPack for volume data, where the dims correspond to inl/crl/z . More...

Inheritance diagram for VolumeDataPack:
[legend]

Public Member Functions

virtual Array3D< float > & data ()
 
const Array3D< float > & data () const
 
virtual const char * dimName (char dim) const
 
virtual double getPos (char dim, int idx) const
 
int size (char dim) const
 
virtual float nrKBytes () const
 
virtual void dumpInfo (IOPar &) 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...
 

Protected Member Functions

 VolumeDataPack (const char *categry, Array3D< float > *)
 Array3D become mine (of course) More...
 
 ~VolumeDataPack ()
 
 VolumeDataPack (const char *category)
 
- 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

Array3D< float > * arr3d_
 
- 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 Public Member Functions inherited from DataPack
static ID getID (const FullID &fid)
 
static const char * sKeyCategory ()
 
static ID cNoID ()
 
- 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, where the dims correspond to inl/crl/z .

Constructor & Destructor Documentation

VolumeDataPack::VolumeDataPack ( const char *  categry,
Array3D< float > *   
)
protected

Array3D become mine (of course)

VolumeDataPack::~VolumeDataPack ( )
protected
VolumeDataPack::VolumeDataPack ( const char *  category)
protected

For this you have to overload data() and the destructor

Member Function Documentation

virtual Array3D<float>& VolumeDataPack::data ( )
virtual
const Array3D<float>& VolumeDataPack::data ( ) const
virtual const char* VolumeDataPack::dimName ( char  dim) const
virtual
virtual void VolumeDataPack::dumpInfo ( IOPar ) const
virtual

Reimplemented from DataPack.

virtual double VolumeDataPack::getPos ( char  dim,
int  idx 
) const
virtual
virtual float VolumeDataPack::nrKBytes ( ) const
virtual

Implements DataPack.

int VolumeDataPack::size ( char  dim) const

Member Data Documentation

Array3D<float>* VolumeDataPack::arr3d_
protected

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