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

Base class for RegularFlatDataPack and RandomFlatDataPack. More...

Inheritance diagram for SeisFlatDataPack:
[legend]

Public Member Functions

 ~SeisFlatDataPack ()
 
int nrTrcs () const
 
TrcKey getTrcKey (int trcidx) const
 
const SeisDataPackgetSourceDataPack () const
 
bool is2D () const
 
virtual bool isVertical () const =0
 
virtual const TrcKeyPathgetPath () const =0
 
const StepInterval< float > & getZRange () const
 
bool dimValuesInInt (const char *keystr) const
 
void getAltDim0Keys (BufferStringSet &) const
 First one is 'default'. More...
 
double getAltDim0Value (int ikey, int i0) const
 
void getAuxInfo (int i0, int i1, IOPar &) const
 
const ScalergetScaler () const
 
const ZDomain::InfozDomain () const
 
float nrKBytes () const
 
int getRandomLineID () 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 const char * dimName (bool dim0) const
 
virtual Coord3 getCoord (int, int) const
 
virtual bool posDataIsCoord () 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 Member Functions

 SeisFlatDataPack (const SeisDataPack &, int comp)
 
virtual void setSourceData ()=0
 
virtual void setTrcInfoFlds ()=0
 
void setPosData ()
 
- 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...
 

Protected Attributes

const SeisDataPacksource_
 
int comp_
 
const StepInterval< float > & zsamp_
 
TypeSet< SeisTrcInfo::Fldtiflds_
 
int rdlid_
 
- 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 ()
 
- 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

Base class for RegularFlatDataPack and RandomFlatDataPack.

Constructor & Destructor Documentation

SeisFlatDataPack::~SeisFlatDataPack ( )
SeisFlatDataPack::SeisFlatDataPack ( const SeisDataPack ,
int  comp 
)
protected

Member Function Documentation

bool SeisFlatDataPack::dimValuesInInt ( const char *  keystr) const
virtual

Reimplemented from FlatDataPack.

void SeisFlatDataPack::getAltDim0Keys ( BufferStringSet ) const
virtual

First one is 'default'.

Reimplemented from FlatDataPack.

double SeisFlatDataPack::getAltDim0Value ( int  ikey,
int  i0 
) const
virtual

Reimplemented from FlatDataPack.

void SeisFlatDataPack::getAuxInfo ( int  i0,
int  i1,
IOPar  
) const
virtual

Reimplemented from FlatDataPack.

virtual const TrcKeyPath& SeisFlatDataPack::getPath ( ) const
pure virtual

Will be empty if isVertical() is false Eg: Z-slices. Or if the data corresponds to a single trace.

Implemented in RandomFlatDataPack, and RegularFlatDataPack.

int SeisFlatDataPack::getRandomLineID ( ) const
const Scaler* SeisFlatDataPack::getScaler ( ) const
inline
const SeisDataPack& SeisFlatDataPack::getSourceDataPack ( ) const
inline
TrcKey SeisFlatDataPack::getTrcKey ( int  trcidx) const
inline
const StepInterval<float>& SeisFlatDataPack::getZRange ( ) const
inline
bool SeisFlatDataPack::is2D ( ) const
inline
virtual bool SeisFlatDataPack::isVertical ( ) const
pure virtual
float SeisFlatDataPack::nrKBytes ( ) const
virtual

Reimplemented from FlatDataPack.

int SeisFlatDataPack::nrTrcs ( ) const
inline
void SeisFlatDataPack::setPosData ( )
protected

Sets distances from start and Z-values as X1 and X2 posData. Assumes getPath() is not empty.

virtual void SeisFlatDataPack::setSourceData ( )
protectedpure virtual
virtual void SeisFlatDataPack::setTrcInfoFlds ( )
protectedpure virtual
const ZDomain::Info& SeisFlatDataPack::zDomain ( ) const
inline

Member Data Documentation

int SeisFlatDataPack::comp_
protected
int SeisFlatDataPack::rdlid_
protected
const SeisDataPack& SeisFlatDataPack::source_
protected
TypeSet<SeisTrcInfo::Fld> SeisFlatDataPack::tiflds_
protected
const StepInterval<float>& SeisFlatDataPack::zsamp_
protected

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