OpendTect
7.0
|
SeisDataPack for 2D and 3D seismic data. More...
Public Member Functions | |
RegularSeisDataPack (const char *cat, const BinDataDesc *=nullptr) | |
bool | addComponent (const char *nm) override |
bool | addComponentNoInit (const char *nm) |
RegularSeisDataPack * | clone () const |
bool | copyFrom (const RegularSeisDataPack &) |
void | dumpInfo (StringPairSet &) const override |
void | fillTrace (const TrcKey &, SeisTrc &) const |
void | fillTraceData (const TrcKey &, TraceData &) const |
void | fillTraceInfo (const TrcKey &, SeisTrcInfo &) const |
int | getGlobalIdx (const TrcKey &) const override |
RegularSeisDataPack * | getSimilar () const |
TrcKey | getTrcKey (int globaltrcidx) const override |
const PosInfo::CubeData * | getTrcsSampling () const |
Only for 3D. More... | |
bool | is2D () const override |
int | nrTrcs () const override |
const TrcKeyZSampling & | sampling () const |
void | setSampling (const TrcKeyZSampling &tkzs) |
void | setTrcsSampling (PosInfo::CubeData *) |
Becomes mine. More... | |
ZSampling | zRange () const override |
Public Member Functions inherited from 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 BinDataDesc & | getDataDesc () const |
virtual int | getNearestGlobalIdx (const TrcKey &) const |
void | getPath (TrcKeyPath &) const |
RandomLineID | getRandomLineID () const |
float | getRefNr (int globaltrcidx) const |
const Scaler * | getScaler () const |
float * | getTrcData (int comp, int globaltrcidx) |
const float * | getTrcData (int comp, int globaltrcidx) const |
const OffsetValueSeries< float > | getTrcStorage (int comp, int globaltrcidx) const |
bool | isEmpty () const |
int | nrComponents () const |
float | nrKBytes () const override |
void | setComponentName (const char *, int comp=0) |
void | setDataDesc (const BinDataDesc &) |
void | setRandomLineID (RandomLineID) |
void | setRefNrs (const TypeSet< float > &refnrs) |
void | setScaler (const Scaler &) |
void | setValUnit (const UnitOfMeasure *) |
void | setZDomain (const ZDomain::Info &) |
BufferString | unitStr (bool val, bool withparens=false) const |
bool | validComp (int comp) const |
const UnitOfMeasure * | valUnit () const |
const ZDomain::Info & | zDomain () const |
const UnitOfMeasure * | zUnit () const |
Public Member Functions inherited from DataPack | |
virtual const char * | category () const |
FullID | fullID (DataPackMgrID mgrid) const |
DataPackID | id () const |
virtual bool | isOK () const |
DataPack * | obtain () |
void | release () |
Threads::Lock & | updateLock () const |
Public Member Functions inherited from SharedObject | |
SharedObject (const char *nm=nullptr) | |
SharedObject (const SharedObject &) | |
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 |
virtual CallBacker * | trueCaller () |
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 &) |
const name_type & | name () const override |
NamedObject & | operator= (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 |
Public Member Functions inherited from RefCount::Referenced | |
void | addObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
int | nrRefs () const |
Only for expert use. More... | |
void | ref () const |
bool | refIfReffed () const |
Don't use in production, for debugging. More... | |
void | removeObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
bool | tryRef () const |
Not for normal use. May become private. More... | |
void | unRef () const |
void | unRefNoDelete () const |
Static Public Member Functions | |
static DataPackID | createDataPackForZSlice (const BinIDValueSet *, const TrcKeyZSampling &, const ZDomain::Info &, const BufferStringSet *nms=nullptr) |
static RefMan< RegularSeisDataPack > | createDataPackForZSliceRM (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 DataPackID | cNoID () |
static DataPackID | cUdfID () |
static DataPackID | getID (const FullID &fid) |
static const char * | sKeyCategory () |
Static Public Member Functions inherited from SharedObject | |
static Notifier< SharedObject > & | instanceCreated () |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Static Public Member Functions inherited from RefCount::Referenced | |
static bool | isSane (const Referenced *) |
Protected Member Functions | |
~RegularSeisDataPack () | |
Protected Member Functions inherited from SeisDataPack | |
SeisDataPack (const char *, const BinDataDesc *) | |
~SeisDataPack () | |
bool | addArray (int sz0, int sz1, int sz2) |
bool | addArrayNoInit (int sz0, int sz1, int sz2) |
Protected Member Functions inherited from DataPack | |
DataPack (const char *categry) | |
DataPack (const DataPack &) | |
~DataPack () | |
void | setCategory (const char *c) |
void | setManager (const DataPackMgr *) |
Protected Member Functions inherited from SharedObject | |
virtual | ~SharedObject () |
Protected Member Functions inherited from NamedCallBacker | |
void | sendDelNotif () const |
Protected Member Functions inherited from RefCount::Referenced | |
Referenced () | |
Referenced (const Referenced &) | |
virtual | ~Referenced () |
Referenced & | operator= (const Referenced &) |
Protected Attributes | |
PosInfo::CubeData * | rgldpckposinfo_ |
TrcKeyZSampling | sampling_ |
Protected Attributes inherited from SeisDataPack | |
ObjectSet< Array3DImpl< float > > | arrays_ |
BufferStringSet | componentnames_ |
BinDataDesc | desc_ |
RandomLineID | rdlid_ |
TypeSet< float > | refnrs_ |
const Scaler * | scaler_ = nullptr |
ZDomain::Info * | zdomaininfo_ |
Protected Attributes inherited from DataPack | |
const BufferString | category_ |
const DataPackID | id_ |
const DataPackMgr * | manager_ = nullptr |
Threads::Lock | updatelock_ |
Protected Attributes inherited from NamedCallBacker | |
Threads::Atomic< bool > | delalreadytriggered_ |
Notifier< NamedCallBacker > | delnotif_ |
Protected Attributes inherited from NamedObject | |
BufferString | name_ |
Additional Inherited Members | |
Public Types inherited from DataPack | |
using | ID = DataPackID |
using | MgrID = DataPackMgrID |
Public Types inherited from ObjectWithName | |
typedef OD::String | name_type |
Static Protected Member Functions inherited from DataPack | |
static DataPackID | getNewID () |
ensures a global data pack ID More... | |
static float | sKb2MbFac () |
1 / 1024 More... | |
SeisDataPack for 2D and 3D seismic data.
<>
RegularSeisDataPack::RegularSeisDataPack | ( | const char * | cat, |
const BinDataDesc * | = nullptr |
||
) |
|
protected |
|
overridevirtual |
Implements SeisDataPack.
bool RegularSeisDataPack::addComponentNoInit | ( | const char * | nm | ) |
RegularSeisDataPack* RegularSeisDataPack::clone | ( | ) | const |
bool RegularSeisDataPack::copyFrom | ( | const RegularSeisDataPack & | ) |
|
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.
nms | is for passing component names. |
|
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.
nms | is for passing component names. |
|
overridevirtual |
Reimplemented from SeisDataPack.
void RegularSeisDataPack::fillTraceInfo | ( | const TrcKey & | , |
SeisTrcInfo & | |||
) | const |
|
overridevirtual |
Implements SeisDataPack.
RegularSeisDataPack* RegularSeisDataPack::getSimilar | ( | ) | const |
|
overridevirtual |
Implements SeisDataPack.
const PosInfo::CubeData* RegularSeisDataPack::getTrcsSampling | ( | ) | const |
Only for 3D.
|
overridevirtual |
Implements SeisDataPack.
|
inlineoverridevirtual |
Implements SeisDataPack.
|
inline |
|
inline |
void RegularSeisDataPack::setTrcsSampling | ( | PosInfo::CubeData * | ) |
Becomes mine.
|
inlineoverridevirtual |
Implements SeisDataPack.
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024