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

FlatDataPack for random lines. More...

Inheritance diagram for RandomFlatDataPack:
[legend]

Public Member Functions

 RandomFlatDataPack (const RandomSeisDataPack &, int component)
 
bool isVertical () const
 
const TrcKeyPathgetPath () const
 
Coord3 getCoord (int i0, int i1) const
 
float getPosDistance (bool dim0, float trcfidx) const
 
const char * dimName (bool dim0) const
 
- Public Member Functions inherited from SeisFlatDataPack
 ~SeisFlatDataPack ()
 
int nrTrcs () const
 
TrcKey getTrcKey (int trcidx) const
 
const SeisDataPackgetSourceDataPack () const
 
bool is2D () const
 
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 FlatPosDataposData ()
 
const FlatPosDataposData () 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

void setSourceData ()
 
void setRegularizedPosData ()
 
void setTrcInfoFlds ()
 
- Protected Member Functions inherited from SeisFlatDataPack
 SeisFlatDataPack (const SeisDataPack &, int comp)
 
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 TrcKeyPathpath_
 
- Protected Attributes inherited from SeisFlatDataPack
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

FlatDataPack for random lines.

Constructor & Destructor Documentation

RandomFlatDataPack::RandomFlatDataPack ( const RandomSeisDataPack ,
int  component 
)

Member Function Documentation

const char* RandomFlatDataPack::dimName ( bool  dim0) const
inlinevirtual

Reimplemented from FlatDataPack.

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

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

Reimplemented from FlatDataPack.

const TrcKeyPath& RandomFlatDataPack::getPath ( ) const
inlinevirtual

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

Implements SeisFlatDataPack.

float RandomFlatDataPack::getPosDistance ( bool  dim0,
float  trcfidx 
) const
virtual

Reimplemented from FlatDataPack.

bool RandomFlatDataPack::isVertical ( ) const
inlinevirtual

Implements SeisFlatDataPack.

void RandomFlatDataPack::setRegularizedPosData ( )
protected

Sets distances from start and Z-values as X1 and X2 posData after regularizing.

void RandomFlatDataPack::setSourceData ( )
protectedvirtual

Implements SeisFlatDataPack.

void RandomFlatDataPack::setTrcInfoFlds ( )
protectedvirtual

Implements SeisFlatDataPack.

Member Data Documentation

const TrcKeyPath& RandomFlatDataPack::path_
protected

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