OpendTect  6.6
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)
 
void fillPar (IOPar &) const
 
const char * getFromZDomainString () const
 
float getGoodZStep () const
 
const char * getToZDomainString () const
 
const Interval< float > & getVavgRg (bool start) const
 
const char * getZDomainID () const
 
Interval< float > getZInterval (bool from) const
 
bool isOK () const
 
bool loadDataIfMissing (int, TaskRunner *=0)
 
bool needsVolumeOfInterest () const
 
void removeVolumeOfInterest (int)
 
bool setVelData (const MultiID &)
 
void setVolumeOfInterest (int, const TrcKeyZSampling &, bool)
 
void transformTrc (const TrcKey &, const SamplingData< float > &, int, float *) const
 
void transformTrcBack (const TrcKey &, const SamplingData< float > &, int, float *) const
 
bool usePar (const IOPar &)
 
- Public Member Functions inherited from VelocityStretcher
bool canTransformSurv (Pos::SurvID sid) const
 
- Public Member Functions inherited from ZAxisTransform
virtual NotifierAccesschangeNotifier ()
 
virtual uiString errMsg () const
 
ZDomain::InfofromZDomainInfo ()
 
const ZDomain::InfofromZDomainInfo () const
 
const char * fromZDomainKey () const
 
virtual float getZIntervalCenter (bool from) const
 
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
 

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 &)
 

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)
 
- Protected Member Functions inherited from ZAxisTransform
 ZAxisTransform (const ZDomain::Def &from, const ZDomain::Def &to)
 

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_
 

Friends

class TimeDepthDataLoader
 

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 
)
virtual
Returns
id of new Volume of Interest.

Reimplemented from ZAxisTransform.

◆ fillPar()

void Time2DepthStretcher::fillPar ( IOPar ) const
virtual

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
virtual
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()

const char* Time2DepthStretcher::getZDomainID ( ) const

◆ getZInterval()

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

Implements ZAxisTransform.

◆ isOK()

bool Time2DepthStretcher::isOK ( ) const
virtual

Reimplemented from ZAxisTransform.

◆ loadDataIfMissing()

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

Reimplemented from ZAxisTransform.

◆ needsVolumeOfInterest()

bool Time2DepthStretcher::needsVolumeOfInterest ( ) const
inlinevirtual

Reimplemented from ZAxisTransform.

◆ releaseData()

void Time2DepthStretcher::releaseData ( )
protected

◆ removeVolumeOfInterest()

void Time2DepthStretcher::removeVolumeOfInterest ( int  )
virtual

Reimplemented from ZAxisTransform.

◆ setVelData()

bool Time2DepthStretcher::setVelData ( const MultiID )
virtual

Implements VelocityStretcher.

◆ setVolumeOfInterest()

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

Reimplemented from ZAxisTransform.

◆ transformTrc()

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

Implements ZAxisTransform.

◆ transformTrcBack()

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

Implements ZAxisTransform.

◆ udfFill()

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

◆ usePar()

bool Time2DepthStretcher::usePar ( const IOPar )
virtual

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-2022