OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
RegularSeisDataPack Class Reference

SeisDataPack for 2D and 3D seismic data. More...

Inheritance diagram for RegularSeisDataPack:
[legend]

Public Member Functions

 RegularSeisDataPack (const char *cat, const BinDataDesc *bdd=0)
 
 ~RegularSeisDataPack ()
 
bool addComponent (const char *nm)
 
bool addComponentNoInit (const char *nm)
 
RegularSeisDataPackclone () const
 
bool copyFrom (const RegularSeisDataPack &)
 
virtual void dumpInfo (IOPar &) const
 
void fillTrace (const TrcKey &, SeisTrc &) const
 
void fillTraceData (const TrcKey &, TraceData &) const
 
void fillTraceInfo (const TrcKey &, SeisTrcInfo &) const
 
int getGlobalIdx (const TrcKey &) const
 
RegularSeisDataPackgetSimilar () const
 
TrcKey getTrcKey (int globaltrcidx) const
 
const PosInfo::CubeDatagetTrcsSampling () const
 Only for 3D. More...
 
const StepInterval< float > & getZRange () const
 
bool is2D () const
 
int nrTrcs () const
 
const TrcKeyZSamplingsampling () const
 
void setSampling (const TrcKeyZSampling &tkzs)
 
void setTrcsSampling (PosInfo::CubeData *)
 Becomes mine. More...
 
StepInterval< float > zRange () const
 
- Public Member Functions inherited from SeisDataPack
 ~SeisDataPack ()
 
Array3DImpl< float > & data (int component=0)
 
const Array3DImpl< float > & data (int component=0) const
 
void deleteScaler ()
 
int getComponentIdx (const char *nm, int defcompidx=-1) const
 
const char * getComponentName (int comp=0) const
 
bool getCopiedTrcData (int comp, int globaltrcidx, Array1D< float > &) const
 
const BinDataDescgetDataDesc () const
 
virtual int getNearestGlobalIdx (const TrcKey &) const
 
void getPath (TrcKeyPath &) const
 
int getRandomLineID () const
 
float getRefNr (int globaltrcidx) const
 
const ScalergetScaler () const
 
float * getTrcData (int comp, int globaltrcidx)
 
const float * getTrcData (int comp, int globaltrcidx) const
 
OffsetValueSeries< float > getTrcStorage (int comp, int globaltrcidx)
 
const OffsetValueSeries< float > getTrcStorage (int comp, int globaltrcidx) const
 
bool isEmpty () const
 
int nrComponents () const
 
float nrKBytes () const
 
void setComponentName (const char *, int comp=0)
 
void setDataDesc (const BinDataDesc &)
 
void setRandomLineID (int)
 
void setRefNrs (const TypeSet< float > &refnrs)
 
void setScaler (const Scaler &)
 
void setZDomain (const ZDomain::Info &)
 
bool validComp (int comp) const
 
const ZDomain::InfozDomain () const
 
- Public Member Functions inherited from DataPack
 DataPack (const char *categry)
 
 DataPack (const DataPack &)
 
virtual ~DataPack ()
 
virtual const char * category () const
 
FullID fullID (int mgrid) const
 
ID id () const
 
virtual bool isOK () const
 
DataPackobtain ()
 
void release ()
 
Threads::LockupdateLock () const
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
virtual const name_typename () const
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

Static Public Member Functions

static DataPack::ID createDataPackForZSlice (const BinIDValueSet *, const TrcKeyZSampling &, const ZDomain::Info &, const BufferStringSet *nms=nullptr)
 
- Static Public Member Functions inherited from SeisDataPack
static const char * categoryStr (bool isvertical, bool is2d)
 
- Static Public Member Functions inherited from DataPack
static ID cNoID ()
 
static ID cUdfID ()
 
static ID getID (const FullID &fid)
 
static Notifier< DataPack > & instanceCreated ()
 
static const char * sKeyCategory ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Attributes

PosInfo::CubeDatargldpckposinfo_
 
TrcKeyZSampling sampling_
 
- Protected Attributes inherited from SeisDataPack
ObjectSet< Array3DImpl< float > > arrays_
 
BufferStringSet componentnames_
 
BinDataDesc desc_
 
int rdlid_
 
TypeSet< float > refnrs_
 
const Scalerscaler_
 
ZDomain::Infozdomaininfo_
 
- Protected Attributes inherited from DataPack
const BufferString category_
 
const ID id_
 
const DataPackMgrmanager_
 
int nrusers_
 
Threads::Lock nruserslock_
 
Threads::Lock updatelock_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Additional Inherited Members

- Public Types inherited from DataPack
typedef MultiID FullID
 
typedef int ID
 
- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Protected Member Functions inherited from SeisDataPack
 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 setCategory (const char *c)
 
void setManager (const DataPackMgr *)
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 
- 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

SeisDataPack for 2D and 3D seismic data.

<>

Constructor & Destructor Documentation

◆ RegularSeisDataPack()

RegularSeisDataPack::RegularSeisDataPack ( const char *  cat,
const BinDataDesc bdd = 0 
)

◆ ~RegularSeisDataPack()

RegularSeisDataPack::~RegularSeisDataPack ( )

Member Function Documentation

◆ addComponent()

bool RegularSeisDataPack::addComponent ( const char *  nm)
virtual

Implements SeisDataPack.

◆ addComponentNoInit()

bool RegularSeisDataPack::addComponentNoInit ( const char *  nm)

◆ clone()

RegularSeisDataPack* RegularSeisDataPack::clone ( ) const

◆ copyFrom()

bool RegularSeisDataPack::copyFrom ( const RegularSeisDataPack )

◆ createDataPackForZSlice()

static DataPack::ID RegularSeisDataPack::createDataPackForZSlice ( const BinIDValueSet ,
const TrcKeyZSampling ,
const ZDomain::Info ,
const BufferStringSet nms = nullptr 
)
static

Creates RegularSeisDataPack from BinIDValueSet for z-slices in z-axis transformed domain. nrComponents() in the created datapack will be one less than BinIDValueSet::nrVals(), as the z-component is not used.

Parameters
nmsis for passing component names.

◆ dumpInfo()

virtual void RegularSeisDataPack::dumpInfo ( IOPar ) const
virtual

Reimplemented from SeisDataPack.

◆ fillTrace()

void RegularSeisDataPack::fillTrace ( const TrcKey ,
SeisTrc  
) const

◆ fillTraceData()

void RegularSeisDataPack::fillTraceData ( const TrcKey ,
TraceData  
) const

◆ fillTraceInfo()

void RegularSeisDataPack::fillTraceInfo ( const TrcKey ,
SeisTrcInfo  
) const

◆ getGlobalIdx()

int RegularSeisDataPack::getGlobalIdx ( const TrcKey ) const
virtual

Implements SeisDataPack.

◆ getSimilar()

RegularSeisDataPack* RegularSeisDataPack::getSimilar ( ) const

◆ getTrcKey()

TrcKey RegularSeisDataPack::getTrcKey ( int  globaltrcidx) const
virtual

Implements SeisDataPack.

◆ getTrcsSampling()

const PosInfo::CubeData* RegularSeisDataPack::getTrcsSampling ( ) const

Only for 3D.

◆ getZRange()

const StepInterval<float>& RegularSeisDataPack::getZRange ( ) const
inlinevirtual

Implements SeisDataPack.

◆ is2D()

bool RegularSeisDataPack::is2D ( ) const
virtual

Implements SeisDataPack.

◆ nrTrcs()

int RegularSeisDataPack::nrTrcs ( ) const
inlinevirtual

Implements SeisDataPack.

◆ sampling()

const TrcKeyZSampling& RegularSeisDataPack::sampling ( ) const
inline

◆ setSampling()

void RegularSeisDataPack::setSampling ( const TrcKeyZSampling tkzs)
inline

◆ setTrcsSampling()

void RegularSeisDataPack::setTrcsSampling ( PosInfo::CubeData )

Becomes mine.

◆ zRange()

StepInterval<float> RegularSeisDataPack::zRange ( ) const
inline

Member Data Documentation

◆ rgldpckposinfo_

PosInfo::CubeData* RegularSeisDataPack::rgldpckposinfo_
protected

◆ sampling_

TrcKeyZSampling RegularSeisDataPack::sampling_
protected

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