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

SeisDataPack for random lines. More...

Inheritance diagram for RandomSeisDataPack:
[legend]

Public Member Functions

 RandomSeisDataPack (const char *cat, const BinDataDesc *bdd=0)
 
bool addComponent (const char *nm)
 
int getGlobalIdx (const TrcKey &) const
 
TrcKeyPathgetPath ()
 
const TrcKeyPathgetPath () const
 
TrcKey getTrcKey (int trcidx) const
 
const StepInterval< float > & getZRange () const
 
bool is2D () const
 
int nrTrcs () const
 
void setPath (const TrcKeyPath &path)
 
void setZRange (const StepInterval< float > &zrg)
 
- Public Member Functions inherited from SeisDataPack
 ~SeisDataPack ()
 
Array3DImpl< float > & data (int component=0)
 
const Array3DImpl< float > & data (int component=0) const
 
void deleteScaler ()
 
void dumpInfo (IOPar &) const
 
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 createDataPackFrom (const RegularSeisDataPack &, const TrcKeyPath &path, const Interval< float > &zrg)
 
static DataPack::ID createDataPackFrom (const RegularSeisDataPack &, const TrcKeyPath &path, const Interval< float > &zrg, const BufferStringSet *nms)
 
static DataPack::ID createDataPackFrom (const RegularSeisDataPack &, int rdmlineid, const Interval< float > &zrg)
 
static DataPack::ID createDataPackFrom (const RegularSeisDataPack &, int rdmlineid, const Interval< float > &zrg, const BufferStringSet *nms)
 
- 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

TrcKeyPath path_
 
StepInterval< float > zsamp_
 
- 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 random lines.

<>

Constructor & Destructor Documentation

◆ RandomSeisDataPack()

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

Member Function Documentation

◆ addComponent()

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

Implements SeisDataPack.

◆ createDataPackFrom() [1/4]

static DataPack::ID RandomSeisDataPack::createDataPackFrom ( const RegularSeisDataPack ,
const TrcKeyPath path,
const Interval< float > &  zrg 
)
static

◆ createDataPackFrom() [2/4]

static DataPack::ID RandomSeisDataPack::createDataPackFrom ( const RegularSeisDataPack ,
const TrcKeyPath path,
const Interval< float > &  zrg,
const BufferStringSet nms 
)
static

◆ createDataPackFrom() [3/4]

static DataPack::ID RandomSeisDataPack::createDataPackFrom ( const RegularSeisDataPack ,
int  rdmlineid,
const Interval< float > &  zrg 
)
static

◆ createDataPackFrom() [4/4]

static DataPack::ID RandomSeisDataPack::createDataPackFrom ( const RegularSeisDataPack ,
int  rdmlineid,
const Interval< float > &  zrg,
const BufferStringSet nms 
)
static

◆ getGlobalIdx()

int RandomSeisDataPack::getGlobalIdx ( const TrcKey ) const
virtual

Implements SeisDataPack.

◆ getPath() [1/2]

TrcKeyPath& RandomSeisDataPack::getPath ( )
inline

◆ getPath() [2/2]

const TrcKeyPath& RandomSeisDataPack::getPath ( ) const
inline

◆ getTrcKey()

TrcKey RandomSeisDataPack::getTrcKey ( int  trcidx) const
virtual

Implements SeisDataPack.

◆ getZRange()

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

Implements SeisDataPack.

◆ is2D()

bool RandomSeisDataPack::is2D ( ) const
inlinevirtual

Implements SeisDataPack.

◆ nrTrcs()

int RandomSeisDataPack::nrTrcs ( ) const
inlinevirtual

Implements SeisDataPack.

◆ setPath()

void RandomSeisDataPack::setPath ( const TrcKeyPath path)
inline

◆ setZRange()

void RandomSeisDataPack::setZRange ( const StepInterval< float > &  zrg)
inline

Member Data Documentation

◆ path_

TrcKeyPath RandomSeisDataPack::path_
protected

◆ zsamp_

StepInterval<float> RandomSeisDataPack::zsamp_
protected

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