OpendTect  6.3
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | List of all members
Gather Class Reference

PreStack gather. More...

Inheritance diagram for Gather:
[legend]

Public Member Functions

bool setFromTrcBuf (SeisTrcBuf &, int comp, bool snapzrangetosi=false)
 
- Public Member Functions inherited from FlatDataPack
 FlatDataPack (const char *categry, Array2D< float > *)
 Array2D become mine (of course) More...
 
 mDeclMonitorableAssignment (FlatDataPack)
 
virtual Array2D< float > & data ()
 
const Array2D< float > & data () const
 
virtual FlatPosDataposData ()
 
const FlatPosDataposData () const
 
virtual bool isVertical () const
 
virtual bool posDataIsCoord () const
 
virtual void getAltDim0Keys (BufferStringSet &) const
 First one is 'default'. More...
 
virtual double getAltDim0Value (int ikey, int idim0) const
 
virtual bool dimValuesInInt (const char *key) const
 
virtual int size (bool dim0) const
 
- Public Member Functions inherited from DataPack
 DataPack (const char *categry)
 
 DataPack (const DataPack &)
 
DataPackoperator= (const DataPack &)
 
bool operator== (const DataPack &) const
 
bool operator!= (const DataPack &oth) const
 
virtual DataPackclone () const
 
ChangeType compareWith (const Monitorable &) const
 
int isOK () const
 
ID id () const
 
FullID fullID (MgrID mgrid) const
 
const char * category () const
 
float nrKBytes () const
 
bool dumpInfo (IOPar &iop) const
 
DBKey dbKey () const
 
void setDBKey (const DBKey &_set_to_)
 
int nrArrays () const
 
const ArrayND< float > * arrayData (int iarr) const
 
void release ()
 
DataPackobtain ()
 
- Public Member Functions inherited from SharedObject
 SharedObject (const char *nm=0)
 
 SharedObject (const SharedObject &)
 
SharedObjectoperator= (const SharedObject &)
 
bool operator== (const SharedObject &) const
 
bool operator!= (const SharedObject &oth) const
 
ChangeType compareWith (const Monitorable &) const
 
- Public Member Functions inherited from NamedMonitorable
 NamedMonitorable (const char *nm=0)
 
 NamedMonitorable (const NamedObject &)
 
virtual ~NamedMonitorable ()
 
 NamedMonitorable (const NamedMonitorable &)
 
NamedMonitorableoperator= (const NamedMonitorable &)
 
bool operator== (const NamedMonitorable &) const
 
bool operator!= (const NamedMonitorable &oth) const
 
virtual NamedMonitorablegetClone () const
 
virtual BufferString getName () const
 
virtual void setName (const char *)
 
- Public Member Functions inherited from Monitorable
 Monitorable (const Monitorable &)
 
virtual ~Monitorable ()
 
Monitorableoperator= (const Monitorable &)
 
bool operator== (const Monitorable &) const
 
virtual ChangeDataNotifierobjectChanged () const
 
virtual Notifier< Monitorable > & objectToBeDeleted () const
 
virtual void touch () const
 
virtual DirtyCountType dirtyCount () const
 
void sendChangeNotification (const ChangeData &) const
 
void sendEntireObjectChangeNotification () const
 
void transferNotifsTo (const Monitorable &, const CallBacker *onlyfor=0) 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 detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
virtual bool isCapsule () const
 
void stopReceivingNotifications () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
bool getNameFromPar (const IOPar &)
 
void putNameInPar (IOPar &) const
 

Protected Member Functions

 ~Gather ()
 
- Protected Member Functions inherited from FlatDataPack
 FlatDataPack (const char *category)
 
 ~FlatDataPack ()
 
virtual float gtNrKBytes () const
 
virtual void doDumpInfo (IOPar &) const
 
virtual int gtNrArrays () const
 
virtual const ArrayND< float > * gtArrayData (int) const
 
- Protected Member Functions inherited from DataPack
void copyAll (const DataPack &)
 
virtual ~DataPack ()
 
virtual const char * gtCategory () const
 
void setManager (const DataPackMgr *)
 
void setCategory (const char *c)
 
- Protected Member Functions inherited from SharedObject
void copyAll (const SharedObject &)
 
virtual ~SharedObject ()
 
- Protected Member Functions inherited from NamedMonitorable
void copyAll (const NamedMonitorable &)
 
- Protected Member Functions inherited from Monitorable
 Monitorable ()
 
void copyAll (const Monitorable &)
 
void sendChgNotif (AccessLocker &, const ChangeData &) const
 calls objectChanged with released lock More...
 
void sendChgNotif (AccessLocker &, ChangeType, IDType) const
 calls objectChanged with released lock More...
 
void sendDelNotif () const
 
void stopChangeNotifications () const
 
void resumeChangeNotifications () const
 
template<class T >
getMemberSimple (const T &) const
 the get function used by mImplSimpleMonitoredGet More...
 
template<class TMember , class TSetTo >
void setMemberSimple (TMember &, TSetTo, ChangeType, IDType)
 the set function used by mImplSimpleMonitoredSet More...
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 

Protected Attributes

DBKey velocityid_
 
DBKey storageid_
 
DBKey staticsid_
 
bool offsetisangle_
 
bool iscorr_
 
bool zit_
 
TrcKey trckey_
 
Coord coord_
 
TypeSet< float > azimuths_
 
StepInterval< float > zrg_
 
- Protected Attributes inherited from FlatDataPack
Array2D< float > * arr2d_
 
FlatPosDataposdata_
 
- Protected Attributes inherited from DataPack
const ID id_
 
const BufferString category_
 
DBKey dbkey_
 
const DataPackMgrmanager_
 
- Protected Attributes inherited from Monitorable
Threads::Lock accesslock_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Private Member Functions

mODTextTranslationClass(Gather) public Gather (const FlatPosData &)
 
 mDeclMonitorableAssignment (Gather)
 
bool is3D () const
 
bool readFrom (const DBKey &, const TrcKey &, int component=0, uiString *errmsg=0)
 
bool readFrom (const IOObj &, const TrcKey &, int component=0, uiString *errmsg=0)
 
bool readFrom (const IOObj &, SeisPSReader &rdr, const TrcKey &, int component=0, uiString *errmsg=0)
 
const CoordgetCoord () const
 
virtual Coord3 getCoord (int, int) const
 
void detectOuterMutes (int *depths, int taperlen=0) const
 
void detectInnerMutes (int *depths, int taperlen=0) const
 
const TrcKeygetTrcKey () const
 
void setTrcKey (const TrcKey &tk)
 
const DBKeygetStoredID () const
 
const StepInterval< float > & zRange () const
 
void setZRange (const StepInterval< float > &zrg)
 
bool isLoaded () const
 
int nrOffsets () const
 
const char * dimName (bool dim0) const
 
void getAuxInfo (int, int, IOPar &) const
 
float getOffset (int) const
 
float getAzimuth (int) const
 
OffsetAzimuth getOffsetAzimuth (int) const
 
bool isOffsetAngle () const
 
bool isCorrected () const
 
void setCorrected (bool yn)
 
bool zIsTime () const
 
const DBKeygetVelocityID () const
 
const DBKeygetStorageID () const
 
const DBKeygetStaticsID () const
 
void getAzimuths (TypeSet< float > &azimuths) const
 
void setAzimuths (const TypeSet< float > &azimuths)
 
mDeprecated bool readFrom (const DBKey &, const BinID &, int component=0, uiString *errmsg=0)
 
mDeprecated bool readFrom (const IOObj &, const BinID &, int component=0, uiString *errmsg=0)
 
mDeprecated bool readFrom (const IOObj &, SeisPSReader &rdr, const BinID &, int component=0, uiString *errmsg=0)
 
mDeprecated bool readFrom (const DBKey &, const int tracenr, const char *linename, int comp, uiString *errmsg=0)
 
mDeprecated bool readFrom (const IOObj &, const int tracenr, const char *linename, int comp, uiString *errmsg=0)
 
const BinIDgetBinID () const
 
void setBinID (const BinID &bid)
 

Static Private Member Functions

static int offsetDim ()
 
static int zDim ()
 
static bool getVelocityID (const DBKey &stor, DBKey &vid)
 
static const char * sDataPackCategory ()
 
static const char * sKeyIsAngleGather ()
 
static const char * sKeyIsCorr ()
 
static const char * sKeyZisTime ()
 
static const char * sKeyPostStackDataID ()
 
static const char * sKeyStaticsID ()
 

Additional Inherited Members

- Public Types inherited from DataPack
typedef FullID::PackID ID
 
typedef FullID::MgrID MgrID
 
- Public Types inherited from Monitorable
typedef int ChangeType
 
typedef int64_t IDType
 
typedef int64_t DirtyCountType
 
typedef CNotifier< Monitorable, ChangeDataChangeDataNotifier
 
- Static Public Member Functions inherited from DataPack
static Notifier< DataPack > & instanceCreated ()
 
static const char * sKeyCategory ()
 
static ID cNoID ()
 
static ChangeType cDBKeyChg ()
 
- Static Public Member Functions inherited from SharedObject
static Notifier< SharedObject > & instanceCreated ()
 
- Static Public Member Functions inherited from NamedMonitorable
static Notifier< NamedMonitorable > & instanceCreated ()
 
static ChangeType cNameChange ()
 
- Static Public Member Functions inherited from Monitorable
static Notifier< Monitorable > & instanceCreated ()
 defines static instanceCreated() More...
 
static ChangeType cEntireObjectChange ()
 
static ChangeType cNoChange ()
 
static IDType cUnspecChgID ()
 
static IDType cEntireObjectChgID ()
 
static ChangeType changeNotificationTypeOf (CallBacker *)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Protected Types inherited from Monitorable
typedef Threads::Atomic< DirtyCountTypeDirtyCounter
 
- 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

PreStack gather.

Constructor & Destructor Documentation

mODTextTranslationClass (Gather) public Gather::Gather ( const FlatPosData )
private
Gather::~Gather ( )
protected

Member Function Documentation

void Gather::detectInnerMutes ( int *  depths,
int  taperlen = 0 
) const
private
void Gather::detectOuterMutes ( int *  depths,
int  taperlen = 0 
) const
private

For each trace, find the depth where the last outer-mute-affecte value is

const char* Gather::dimName ( bool  dim0) const
privatevirtual

Reimplemented from FlatDataPack.

void Gather::getAuxInfo ( int  ,
int  ,
IOPar  
) const
privatevirtual

Reimplemented from FlatDataPack.

float Gather::getAzimuth ( int  ) const
private
void Gather::getAzimuths ( TypeSet< float > &  azimuths) const
inlineprivate
const BinID& Gather::getBinID ( ) const
inlineprivate
const Coord& Gather::getCoord ( ) const
inlineprivate
virtual Coord3 Gather::getCoord ( int  ,
int   
) const
inlineprivatevirtual

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

Reimplemented from FlatDataPack.

float Gather::getOffset ( int  ) const
private
OffsetAzimuth Gather::getOffsetAzimuth ( int  ) const
private
const DBKey& Gather::getStaticsID ( ) const
inlineprivate
const DBKey& Gather::getStorageID ( ) const
inlineprivate
const DBKey& Gather::getStoredID ( ) const
inlineprivate
const TrcKey& Gather::getTrcKey ( ) const
inlineprivate
const DBKey& Gather::getVelocityID ( ) const
inlineprivate
static bool Gather::getVelocityID ( const DBKey stor,
DBKey vid 
)
staticprivate
bool Gather::is3D ( ) const
inlineprivate
bool Gather::isCorrected ( ) const
inlineprivate
bool Gather::isLoaded ( ) const
inlineprivate
bool Gather::isOffsetAngle ( ) const
inlineprivate
Gather::mDeclMonitorableAssignment ( Gather  )
private
int Gather::nrOffsets ( ) const
inlineprivate
static int Gather::offsetDim ( )
inlinestaticprivate
bool Gather::readFrom ( const DBKey ,
const TrcKey ,
int  component = 0,
uiString errmsg = 0 
)
private
bool Gather::readFrom ( const IOObj ,
const TrcKey ,
int  component = 0,
uiString errmsg = 0 
)
private
bool Gather::readFrom ( const IOObj ,
SeisPSReader rdr,
const TrcKey ,
int  component = 0,
uiString errmsg = 0 
)
private
mDeprecated bool Gather::readFrom ( const DBKey ,
const BinID ,
int  component = 0,
uiString errmsg = 0 
)
private
mDeprecated bool Gather::readFrom ( const IOObj ,
const BinID ,
int  component = 0,
uiString errmsg = 0 
)
private
mDeprecated bool Gather::readFrom ( const IOObj ,
SeisPSReader rdr,
const BinID ,
int  component = 0,
uiString errmsg = 0 
)
private
mDeprecated bool Gather::readFrom ( const DBKey ,
const int  tracenr,
const char *  linename,
int  comp,
uiString errmsg = 0 
)
private
mDeprecated bool Gather::readFrom ( const IOObj ,
const int  tracenr,
const char *  linename,
int  comp,
uiString errmsg = 0 
)
private
static const char* Gather::sDataPackCategory ( )
staticprivate
void Gather::setAzimuths ( const TypeSet< float > &  azimuths)
inlineprivate
void Gather::setBinID ( const BinID bid)
inlineprivate
void Gather::setCorrected ( bool  yn)
inlineprivate
bool Gather::setFromTrcBuf ( SeisTrcBuf ,
int  comp,
bool  snapzrangetosi = false 
)
void Gather::setTrcKey ( const TrcKey tk)
inlineprivate
void Gather::setZRange ( const StepInterval< float > &  zrg)
inlineprivate
static const char* Gather::sKeyIsAngleGather ( )
staticprivate
static const char* Gather::sKeyIsCorr ( )
staticprivate
static const char* Gather::sKeyPostStackDataID ( )
staticprivate
static const char* Gather::sKeyStaticsID ( )
staticprivate
static const char* Gather::sKeyZisTime ( )
staticprivate
static int Gather::zDim ( )
inlinestaticprivate
bool Gather::zIsTime ( ) const
inlineprivate
const StepInterval<float>& Gather::zRange ( ) const
inlineprivate

Member Data Documentation

TypeSet<float> Gather::azimuths_
protected
Coord Gather::coord_
protected
bool Gather::iscorr_
protected
bool Gather::offsetisangle_
protected
DBKey Gather::staticsid_
protected
DBKey Gather::storageid_
protected
TrcKey Gather::trckey_
protected
DBKey Gather::velocityid_
protected
bool Gather::zit_
protected
StepInterval<float> Gather::zrg_
protected

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