OpendTect-6_4  6.4
Public Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | List of all members
PreStack::Gather Class Reference

PreStack gather. More...

Inheritance diagram for PreStack::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...
 
 FlatDataPack (const FlatDataPack &)
 
 ~FlatDataPack ()
 
virtual Array2D< float > & data ()
 
const Array2D< float > & data () const
 
virtual float getPosDistance (bool dim0, float posfidx) const
 
virtual FlatPosDataposData ()
 
const FlatPosDataposData () 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 float nrKBytes () const
 
virtual void dumpInfo (IOPar &) const
 
virtual int size (bool dim0) const
 
- Public Member Functions inherited from DataPack
 DataPack (const char *categry)
 
 DataPack (const DataPack &dp)
 
virtual ~DataPack ()
 
ID id () const
 
FullID fullID (int mgrid) const
 
virtual const char * category () const
 
virtual bool isOK () const
 
Threads::LockupdateLock () const
 
void release ()
 
DataPackobtain ()
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject *linkedto)
 
 NamedObject (const NamedObject &)
 
virtual ~NamedObject ()
 
void setLinkedTo (NamedObject *)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual const OD::StringannotName () const
 
virtual void setName (const char *)
 
void setCleanName (const char *)
 cleans string first More...
 
void deleteNotify (const CallBack &)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Protected Attributes

MultiID velocitymid_
 
MultiID storagemid_
 
MultiID staticsmid_
 
bool offsetisangle_
 
bool iscorr_
 
bool zit_
 
BinID binid_
 
Coord coord_
 
TypeSet< float > azimuths_
 
StepInterval< float > zrg_
 
BufferString linename_
 
- Protected Attributes inherited from FlatDataPack
Array2D< float > * arr2d_
 
FlatPosDataposdata_
 
- Protected Attributes inherited from DataPack
const ID id_
 
const BufferString category_
 
int nrusers_
 
Threads::Lock nruserslock_
 
Threads::Lock updatelock_
 
const DataPackMgrmanager_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Private Member Functions

mODTextTranslationClass(Gather) public Gather (const Gather &)
 
 Gather (const FlatPosData &)
 
 ~Gather ()
 
bool is3D () const
 
bool readFrom (const MultiID &, const BinID &, int component=0, uiString *errmsg=0)
 
bool readFrom (const IOObj &, const BinID &, int component=0, uiString *errmsg=0)
 
bool readFrom (const IOObj &, SeisPSReader &rdr, const BinID &, 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 BinIDgetBinID () const
 
void setBinID (const BinID &bid)
 
const MultiIDgetStoredID () const
 
const StepInterval< float > & zRange () const
 
void setZRange (const StepInterval< float > &zrg)
 
bool readFrom (const MultiID &, const int tracenr, const char *linename, int comp, uiString *errmsg=0)
 
bool readFrom (const IOObj &, const int tracenr, const char *linename, int comp, uiString *errmsg=0)
 
int getSeis2DTraceNr () const
 
const char * getSeis2DName () const
 
bool isLoaded () 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
 
void setOffsetIsAngle (bool yn)
 
bool isCorrected () const
 
void setCorrected (bool yn)
 
bool zIsTime () const
 
const MultiIDgetVelocityID () const
 
const MultiIDgetStorageID () const
 
const MultiIDgetStaticsID () const
 
void getAzimuths (TypeSet< float > &azimuths) const
 
void setAzimuths (const TypeSet< float > &azimuths)
 

Static Private Member Functions

static int offsetDim ()
 
static int zDim ()
 
static bool getVelocityID (const MultiID &stor, MultiID &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 int ID
 
typedef MultiID FullID
 
- Static Public Member Functions inherited from DataPack
static ID getID (const FullID &fid)
 
static const char * sKeyCategory ()
 
static ID cNoID ()
 
- Protected Member Functions inherited from FlatDataPack
 FlatDataPack (const char *category)
 
- Protected Member Functions inherited from DataPack
void setManager (const DataPackMgr *)
 
void setCategory (const char *c)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 
- 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 PreStack::Gather::Gather ( const Gather )
private
PreStack::Gather::Gather ( const FlatPosData )
private
PreStack::Gather::~Gather ( )
private

Member Function Documentation

void PreStack::Gather::detectInnerMutes ( int *  depths,
int  taperlen = 0 
) const
private
void PreStack::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* PreStack::Gather::dimName ( bool  dim0) const
privatevirtual

Reimplemented from FlatDataPack.

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

Reimplemented from FlatDataPack.

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

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

Reimplemented from FlatDataPack.

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

Member Data Documentation

TypeSet<float> PreStack::Gather::azimuths_
protected
BinID PreStack::Gather::binid_
protected
Coord PreStack::Gather::coord_
protected
bool PreStack::Gather::iscorr_
protected
BufferString PreStack::Gather::linename_
protected
bool PreStack::Gather::offsetisangle_
protected
MultiID PreStack::Gather::staticsmid_
protected
MultiID PreStack::Gather::storagemid_
protected
MultiID PreStack::Gather::velocitymid_
protected
bool PreStack::Gather::zit_
protected
StepInterval<float> PreStack::Gather::zrg_
protected

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