OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
PreStack::GatherSetDataPack Class Reference

A DataPack containing a set of gathers. More...

Inheritance diagram for PreStack::GatherSetDataPack:
[legend]

Public Member Functions

 GatherSetDataPack (const char *ctgery)
 
 GatherSetDataPack (const char *ctgery, const ObjectSet< Gather > &)
 
void addGather (PreStack::Gather &)
 Gather becomes mine. More...
 
const Array3D< float > & data () const
 
void fill (Array2D< float > &, int offsetidx) const
 
void fill (SeisTrcBuf &, int offsetidx) const
 
void fill (SeisTrcBuf &, Interval< float > stackrg) const
 
void finalize ()
 Once when all gathers have been added. More...
 
ConstRefMan< PreStack::GathergetGather (int gatheridx) const
 
DataPackID getGatherID (const BinID &) const
 
DataPackID getGatherIDByIdx (int idx) const
 
SeisTrcgetTrace (int gatheridx, int offsetidx)
 
const SeisTrcgetTrace (int gatheridx, int offsetidx) const
 
TrcKey getTrcKeyByIdx (int idx) const
 
bool isCorrected () const
 
bool isOffsetAngle () const
 
bool isOffsetInFeet () const
 
bool isOffsetInMeters () const
 
int nrGathers () const
 
float nrKBytes () const override
 
void obtainGathers ()
 
Interval< float > offsetRange () const
 
float offsetRangeStep () const
 
Seis::OffsetType offsetType () const
 
GatherSetDataPacksetCorrected (bool yn)
 
void setName (const char *) override
 
GatherSetDataPacksetOffsetType (Seis::OffsetType)
 
GatherSetDataPacksetZDomain (const ZDomain::Info &)
 
const ZDomain::InfozDomain () const
 
bool zInFeet () const
 
bool zInMeter () const
 
bool zIsTime () const
 
ZSampling zRange () const
 
- Public Member Functions inherited from DataPack
virtual const char * category () const
 
virtual void dumpInfo (StringPairSet &) const
 
FullID fullID (DataPackMgrID mgrid) const
 
DataPackID id () const
 
virtual bool isOK () const
 
DataPackobtain ()
 
void release ()
 
Threads::LockupdateLock () 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 CallBackertrueCaller ()
 
- 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_typename () const override
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
- 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 const char * sDataPackCategory ()
 
- 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

 ~GatherSetDataPack ()
 
- 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 ()
 
Referencedoperator= (const Referenced &)
 

Private Member Functions

SeisTrcgtTrace (int gatheridx, int offsetidx) const
 
 mOD_DisableCopy (GatherSetDataPack)
 

Private Attributes

Array3D< float > & arr3d_
 
RefObjectSet< Gathergathers_
 

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...
 
- Protected Attributes inherited from DataPack
const BufferString category_
 
const DataPackID id_
 
const DataPackMgrmanager_ = nullptr
 
Threads::Lock updatelock_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Detailed Description

A DataPack containing a set of gathers.

<>

Constructor & Destructor Documentation

◆ GatherSetDataPack() [1/2]

PreStack::GatherSetDataPack::GatherSetDataPack ( const char *  ctgery)

◆ GatherSetDataPack() [2/2]

PreStack::GatherSetDataPack::GatherSetDataPack ( const char *  ctgery,
const ObjectSet< Gather > &   
)

◆ ~GatherSetDataPack()

PreStack::GatherSetDataPack::~GatherSetDataPack ( )
protected

Member Function Documentation

◆ addGather()

void PreStack::GatherSetDataPack::addGather ( PreStack::Gather )

Gather becomes mine.

◆ data()

const Array3D<float>& PreStack::GatherSetDataPack::data ( ) const
inline

◆ fill() [1/3]

void PreStack::GatherSetDataPack::fill ( Array2D< float > &  ,
int  offsetidx 
) const

◆ fill() [2/3]

void PreStack::GatherSetDataPack::fill ( SeisTrcBuf ,
int  offsetidx 
) const

◆ fill() [3/3]

void PreStack::GatherSetDataPack::fill ( SeisTrcBuf ,
Interval< float >  stackrg 
) const

◆ finalize()

void PreStack::GatherSetDataPack::finalize ( )

Once when all gathers have been added.

◆ getGather()

ConstRefMan<PreStack::Gather> PreStack::GatherSetDataPack::getGather ( int  gatheridx) const

◆ getGatherID()

DataPackID PreStack::GatherSetDataPack::getGatherID ( const BinID ) const

◆ getGatherIDByIdx()

DataPackID PreStack::GatherSetDataPack::getGatherIDByIdx ( int  idx) const

◆ getTrace() [1/2]

SeisTrc* PreStack::GatherSetDataPack::getTrace ( int  gatheridx,
int  offsetidx 
)

◆ getTrace() [2/2]

const SeisTrc* PreStack::GatherSetDataPack::getTrace ( int  gatheridx,
int  offsetidx 
) const

◆ getTrcKeyByIdx()

TrcKey PreStack::GatherSetDataPack::getTrcKeyByIdx ( int  idx) const

◆ gtTrace()

SeisTrc* PreStack::GatherSetDataPack::gtTrace ( int  gatheridx,
int  offsetidx 
) const
private

◆ isCorrected()

bool PreStack::GatherSetDataPack::isCorrected ( ) const

◆ isOffsetAngle()

bool PreStack::GatherSetDataPack::isOffsetAngle ( ) const

◆ isOffsetInFeet()

bool PreStack::GatherSetDataPack::isOffsetInFeet ( ) const

◆ isOffsetInMeters()

bool PreStack::GatherSetDataPack::isOffsetInMeters ( ) const

◆ mOD_DisableCopy()

PreStack::GatherSetDataPack::mOD_DisableCopy ( GatherSetDataPack  )
private

◆ nrGathers()

int PreStack::GatherSetDataPack::nrGathers ( ) const

◆ nrKBytes()

float PreStack::GatherSetDataPack::nrKBytes ( ) const
inlineoverridevirtual

Implements DataPack.

◆ obtainGathers()

void PreStack::GatherSetDataPack::obtainGathers ( )

Make all gathers available in the FlatDataPack Mgr

◆ offsetRange()

Interval<float> PreStack::GatherSetDataPack::offsetRange ( ) const

◆ offsetRangeStep()

float PreStack::GatherSetDataPack::offsetRangeStep ( ) const

◆ offsetType()

Seis::OffsetType PreStack::GatherSetDataPack::offsetType ( ) const

◆ sDataPackCategory()

static const char* PreStack::GatherSetDataPack::sDataPackCategory ( )
static

◆ setCorrected()

GatherSetDataPack& PreStack::GatherSetDataPack::setCorrected ( bool  yn)

◆ setName()

void PreStack::GatherSetDataPack::setName ( const char *  )
overridevirtual

Reimplemented from NamedObject.

◆ setOffsetType()

GatherSetDataPack& PreStack::GatherSetDataPack::setOffsetType ( Seis::OffsetType  )

◆ setZDomain()

GatherSetDataPack& PreStack::GatherSetDataPack::setZDomain ( const ZDomain::Info )

◆ zDomain()

const ZDomain::Info& PreStack::GatherSetDataPack::zDomain ( ) const

◆ zInFeet()

bool PreStack::GatherSetDataPack::zInFeet ( ) const

◆ zInMeter()

bool PreStack::GatherSetDataPack::zInMeter ( ) const

◆ zIsTime()

bool PreStack::GatherSetDataPack::zIsTime ( ) const

◆ zRange()

ZSampling PreStack::GatherSetDataPack::zRange ( ) const

Member Data Documentation

◆ arr3d_

Array3D<float>& PreStack::GatherSetDataPack::arr3d_
private

◆ gathers_

RefObjectSet<Gather> PreStack::GatherSetDataPack::gathers_
private

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