OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
Time2DepthStretcher Class Reference
Inheritance diagram for Time2DepthStretcher:
[legend]

Public Member Functions

 Time2DepthStretcher ()
 
int addVolumeOfInterest (const TrcKeyZSampling &, bool) override
 
void fillPar (IOPar &) const override
 
const char * getFromZDomainString () const
 
float getGoodZStep () const override
 
const char * getToZDomainString () const
 
const Interval< float > & getVavgRg (bool start) const
 
MultiID getZDomainID () const
 
Interval< float > getZInterval (bool from) const override
 
bool isOK () const override
 
bool loadDataIfMissing (int, TaskRunner *=0) override
 
bool needsVolumeOfInterest () const override
 
void removeVolumeOfInterest (int) override
 
bool setVelData (const MultiID &) override
 
void setVolumeOfInterest (int, const TrcKeyZSampling &, bool) override
 
void transformTrc (const TrcKey &, const SamplingData< float > &, int, float *) const override
 
void transformTrcBack (const TrcKey &, const SamplingData< float > &, int, float *) const override
 
bool usePar (const IOPar &) override
 
- Public Member Functions inherited from VelocityStretcher
bool canTransformSurv (OD::GeomSystem) const override
 
- Public Member Functions inherited from ZAxisTransform
virtual NotifierAccesschangeNotifier ()
 
virtual uiString errMsg () const
 
ZDomain::InfofromZDomainInfo ()
 
const ZDomain::InfofromZDomainInfo () const
 
const char * fromZDomainKey () const
 
mDeprecatedDef const ScalergetVelUnitOfMeasure () const
 
virtual mDeprecatedDef float getZIntervalCenter (bool from) const
 
virtual bool isReferenceHorizon (const MultiID &horid, float &refz) const
 
mDeprecatedDef void setVelUnitOfMeasure (const Scaler *)
 
ZDomain::InfotoZDomainInfo ()
 
const ZDomain::InfotoZDomainInfo () const
 
const char * toZDomainKey () const
 
virtual float toZScale () const
 
virtual void transform (const BinID &, const SamplingData< float > &, int sz, float *res) const
 
float transform (const BinIDValue &) const
 
float transform (const Coord3 &) const
 
virtual void transform2D (const char *linenm, int trcnr, const SamplingData< float > &, int sz, float *res) const
 
float transform2D (const char *linenm, int trcnr, float z) const
 
virtual void transformBack (const BinID &, const SamplingData< float > &, int sz, float *res) const
 
float transformBack (const BinIDValue &) const
 
float transformBack (const Coord3 &) const
 
virtual void transformBack2D (const char *linenm, int trcnr, const SamplingData< float > &, int sz, float *res) const
 
float transformBack2D (const char *linenm, int trcnr, float z) const
 
float transformTrc (const TrcKey &, float z) const
 
float transformTrcBack (const TrcKey &, float z) const
 
virtual float zScale () 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
 
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 Interval< float > getDefaultVAvg ()
 
- Static Public Member Functions inherited from VelocityStretcher
static const char * sKeyBotVavg ()
 
static const char * sKeyTopVavg ()
 
- Static Public Member Functions inherited from ZAxisTransform
static ZAxisTransformcreate (const IOPar &)
 
- 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

 ~Time2DepthStretcher ()
 
Interval< float > getDepthInterval (const BinID &, int voiidx) const
 
Interval< float > getTimeInterval (const BinID &, int voiidx) const
 
void releaseData ()
 
- Protected Member Functions inherited from VelocityStretcher
 VelocityStretcher (const ZDomain::Def &from, const ZDomain::Def &to)
 
 ~VelocityStretcher ()
 
- Protected Member Functions inherited from ZAxisTransform
 ZAxisTransform (const ZDomain::Def &from, const ZDomain::Def &to)
 
virtual ~ZAxisTransform ()
 
- 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 &)
 

Static Protected Member Functions

static void udfFill (ValueSeries< float > &, int)
 

Protected Attributes

Interval< float > botvavg_
 
Interval< float > topvavg_
 
VelocityDesc veldesc_
 
bool velintime_
 
SeisTrcReadervelreader_
 
ObjectSet< Array3D< float > > voidata_
 
TypeSet< int > voiids_
 
BoolTypeSet voiintime_
 
TypeSet< TrcKeyZSamplingvoivols_
 
- Protected Attributes inherited from ZAxisTransform
uiString errmsg_
 
ZDomain::Infofromzdomaininfo_
 
ZDomain::Infotozdomaininfo_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Friends

class TimeDepthDataLoader
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 

Detailed Description

ZAxisstretcher that converts from time to depth (or back) using a velocity model on disk.

<>

Constructor & Destructor Documentation

◆ Time2DepthStretcher()

Time2DepthStretcher::Time2DepthStretcher ( )

◆ ~Time2DepthStretcher()

Time2DepthStretcher::~Time2DepthStretcher ( )
protected

Member Function Documentation

◆ addVolumeOfInterest()

int Time2DepthStretcher::addVolumeOfInterest ( const TrcKeyZSampling ,
bool  zistrans 
)
overridevirtual
Returns
id of new Volume of Interest.

Reimplemented from ZAxisTransform.

◆ fillPar()

void Time2DepthStretcher::fillPar ( IOPar ) const
overridevirtual

Reimplemented from ZAxisTransform.

◆ getDefaultVAvg()

static Interval<float> Time2DepthStretcher::getDefaultVAvg ( )
static

◆ getDepthInterval()

Interval<float> Time2DepthStretcher::getDepthInterval ( const BinID ,
int  voiidx 
) const
protected

◆ getFromZDomainString()

const char* Time2DepthStretcher::getFromZDomainString ( ) const

◆ getGoodZStep()

float Time2DepthStretcher::getGoodZStep ( ) const
overridevirtual
Returns
a position within the z-range that is a logical 'center'

Reimplemented from ZAxisTransform.

◆ getTimeInterval()

Interval<float> Time2DepthStretcher::getTimeInterval ( const BinID ,
int  voiidx 
) const
protected

◆ getToZDomainString()

const char* Time2DepthStretcher::getToZDomainString ( ) const

◆ getVavgRg()

const Interval<float>& Time2DepthStretcher::getVavgRg ( bool  start) const

◆ getZDomainID()

MultiID Time2DepthStretcher::getZDomainID ( ) const

◆ getZInterval()

Interval<float> Time2DepthStretcher::getZInterval ( bool  from) const
overridevirtual

Implements ZAxisTransform.

◆ isOK()

bool Time2DepthStretcher::isOK ( ) const
overridevirtual

Reimplemented from ZAxisTransform.

◆ loadDataIfMissing()

bool Time2DepthStretcher::loadDataIfMissing ( int  ,
TaskRunner = 0 
)
overridevirtual

Reimplemented from ZAxisTransform.

◆ needsVolumeOfInterest()

bool Time2DepthStretcher::needsVolumeOfInterest ( ) const
inlineoverridevirtual

Reimplemented from ZAxisTransform.

◆ releaseData()

void Time2DepthStretcher::releaseData ( )
protected

◆ removeVolumeOfInterest()

void Time2DepthStretcher::removeVolumeOfInterest ( int  )
overridevirtual

Reimplemented from ZAxisTransform.

◆ setVelData()

bool Time2DepthStretcher::setVelData ( const MultiID )
overridevirtual

Implements VelocityStretcher.

◆ setVolumeOfInterest()

void Time2DepthStretcher::setVolumeOfInterest ( int  ,
const TrcKeyZSampling ,
bool   
)
overridevirtual

Reimplemented from ZAxisTransform.

◆ transformTrc()

void Time2DepthStretcher::transformTrc ( const TrcKey ,
const SamplingData< float > &  ,
int  ,
float *   
) const
overridevirtual

Implements ZAxisTransform.

◆ transformTrcBack()

void Time2DepthStretcher::transformTrcBack ( const TrcKey ,
const SamplingData< float > &  ,
int  ,
float *   
) const
overridevirtual

Implements ZAxisTransform.

◆ udfFill()

static void Time2DepthStretcher::udfFill ( ValueSeries< float > &  ,
int   
)
staticprotected

◆ usePar()

bool Time2DepthStretcher::usePar ( const IOPar )
overridevirtual

Reimplemented from ZAxisTransform.

Friends And Related Function Documentation

◆ TimeDepthDataLoader

friend class TimeDepthDataLoader
friend

Member Data Documentation

◆ botvavg_

Interval<float> Time2DepthStretcher::botvavg_
protected

◆ topvavg_

Interval<float> Time2DepthStretcher::topvavg_
protected

◆ veldesc_

VelocityDesc Time2DepthStretcher::veldesc_
protected

◆ velintime_

bool Time2DepthStretcher::velintime_
protected

◆ velreader_

SeisTrcReader* Time2DepthStretcher::velreader_
protected

◆ voidata_

ObjectSet<Array3D<float> > Time2DepthStretcher::voidata_
protected

◆ voiids_

TypeSet<int> Time2DepthStretcher::voiids_
protected

◆ voiintime_

BoolTypeSet Time2DepthStretcher::voiintime_
protected

◆ voivols_

TypeSet<TrcKeyZSampling> Time2DepthStretcher::voivols_
protected

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