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

FlatDataPack based on SeisTrcBuf. More...

Inheritance diagram for SeisTrcBufDataPack:
[legend]

Public Member Functions

 SeisTrcBufDataPack (SeisTrcBuf *, Seis::GeomType, SeisTrcInfo::Fld, const char *categry, int compnr=0)
 buf becomes mine More...
 
 SeisTrcBufDataPack (const SeisTrcBuf &, Seis::GeomType, SeisTrcInfo::Fld, const char *categry, int compnr=0)
 buf stays yours (and must remain alive!) More...
 
 SeisTrcBufDataPack (const SeisTrcBufDataPack &)
 
void setBuffer (SeisTrcBuf *, Seis::GeomType, SeisTrcInfo::Fld, int icomp=0, bool manage_buf=true)
 
bool getTrcKeyZSampling (TrcKeyZSampling &) const
 
const char * dimName (bool) const
 
Coord3 getCoord (int, int) const
 
void getAltDim0Keys (BufferStringSet &) const
 First one is 'default'. More...
 
bool dimValuesInInt (const char *key) const
 
double getAltDim0Value (int, int) const
 
void getAuxInfo (int, int, IOPar &) const
 
bool posDataIsCoord () const
 
SeisTrcBufArray2DtrcBufArr2D ()
 
const SeisTrcBufArray2DtrcBufArr2D () const
 
SeisTrcBuftrcBuf ()
 
const SeisTrcBuftrcBuf () const
 
- Public Member Functions inherited from FlatDataPack
 FlatDataPack (const char *categry, Array2D< float > *)
 Array2D become mine (of course) More...
 
 FlatDataPack (const FlatDataPack &)
 
 ~FlatDataPack ()
 
virtual Array2D< float > & data ()
 
const Array2D< float > & data () const
 
virtual float getPosDistance (bool dim0, float posfidx) const
 
virtual FlatPosDataposData ()
 
const FlatPosDataposData () const
 
virtual float nrKBytes () const
 
virtual void dumpInfo (IOPar &) const
 
virtual int size (bool dim0) 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 Attributes

Seis::GeomType gt_
 
SeisTrcInfo::Fld posfld_
 
TypeSet< SeisTrcInfo::Fldflds_
 
- Protected Attributes inherited from FlatDataPack
Array2D< float > * arr2d_
 
FlatPosDataposdata_
 
- 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 ()
 
- Protected Member Functions inherited from FlatDataPack
 FlatDataPack (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...
 
- 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

FlatDataPack based on SeisTrcBuf.

Constructor & Destructor Documentation

SeisTrcBufDataPack::SeisTrcBufDataPack ( SeisTrcBuf ,
Seis::GeomType  ,
SeisTrcInfo::Fld  ,
const char *  categry,
int  compnr = 0 
)

buf becomes mine

SeisTrcBufDataPack::SeisTrcBufDataPack ( const SeisTrcBuf ,
Seis::GeomType  ,
SeisTrcInfo::Fld  ,
const char *  categry,
int  compnr = 0 
)

buf stays yours (and must remain alive!)

SeisTrcBufDataPack::SeisTrcBufDataPack ( const SeisTrcBufDataPack )

Member Function Documentation

const char* SeisTrcBufDataPack::dimName ( bool  ) const
virtual

Reimplemented from FlatDataPack.

bool SeisTrcBufDataPack::dimValuesInInt ( const char *  key) const
virtual

Reimplemented from FlatDataPack.

void SeisTrcBufDataPack::getAltDim0Keys ( BufferStringSet ) const
virtual

First one is 'default'.

Reimplemented from FlatDataPack.

double SeisTrcBufDataPack::getAltDim0Value ( int  ,
int   
) const
virtual

Reimplemented from FlatDataPack.

void SeisTrcBufDataPack::getAuxInfo ( int  ,
int  ,
IOPar  
) const
virtual

Reimplemented from FlatDataPack.

Coord3 SeisTrcBufDataPack::getCoord ( int  ,
int   
) const
virtual

int,int = Array2D position if not overloaded, returns posData() (z=0)

Reimplemented from FlatDataPack.

bool SeisTrcBufDataPack::getTrcKeyZSampling ( TrcKeyZSampling ) const
bool SeisTrcBufDataPack::posDataIsCoord ( ) const
inlinevirtual

Reimplemented from FlatDataPack.

void SeisTrcBufDataPack::setBuffer ( SeisTrcBuf ,
Seis::GeomType  ,
SeisTrcInfo::Fld  ,
int  icomp = 0,
bool  manage_buf = true 
)
SeisTrcBuf& SeisTrcBufDataPack::trcBuf ( )
inline
const SeisTrcBuf& SeisTrcBufDataPack::trcBuf ( ) const
inline
SeisTrcBufArray2D& SeisTrcBufDataPack::trcBufArr2D ( )
inline
const SeisTrcBufArray2D& SeisTrcBufDataPack::trcBufArr2D ( ) const
inline

Member Data Documentation

TypeSet<SeisTrcInfo::Fld> SeisTrcBufDataPack::flds_
protected
Seis::GeomType SeisTrcBufDataPack::gt_
protected
SeisTrcInfo::Fld SeisTrcBufDataPack::posfld_
protected

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