OpendTect-6_4  6.4
Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | List of all members
TimeDepthConverter Class Reference

Converts between time and depth given a model. More...

Inheritance diagram for TimeDepthConverter:
[legend]

Protected Member Functions

void calcZ (const float *, int inpsz, ValueSeries< float > &, int outpsz, const SamplingData< double > &, bool istime) const
 

Protected Attributes

float firstvel_
 
float lastvel_
 
bool regularinput_
 
int sz_
 
SamplingData< double > sd_
 
- Protected Attributes inherited from TimeDepthModel
int sz_
 
float * times_
 
float * depths_
 
uiString errmsg_
 

Private Member Functions

mODTextTranslationClass(TimeDepthConverter) public bool isOK () const
 
bool setVelocityModel (const ValueSeries< float > &vels, int sz, const SamplingData< double > &sd, const VelocityDesc &, bool istime)
 
bool calcDepths (ValueSeries< float > &, int sz, const SamplingData< double > &timesamp) const
 
bool calcTimes (ValueSeries< float > &, int sz, const SamplingData< double > &depthsamp) const
 

Static Private Member Functions

static bool isVelocityDescUseable (const VelocityDesc &, bool velintime, uiString *errmsg=0)
 
static bool calcDepths (const ValueSeries< float > &vels, int velsz, const SamplingData< double > &, float *depths)
 
static bool calcDepths (const ValueSeries< float > &vels, int velsz, const ValueSeries< double > &times, double *depths)
 
static bool mDeprecated calcDepths (const ValueSeries< float > &vels, int velsz, const ValueSeries< float > &times, float *depths)
 
static bool calcTimes (const ValueSeries< float > &vels, int velsz, const ValueSeries< float > &depth, float *times)
 
static bool calcTimes (const ValueSeries< float > &vels, int velsz, const SamplingData< double > &, float *times)
 

Additional Inherited Members

- Static Protected Member Functions inherited from TimeDepthModel
static float convertTo (const float *dpths, const float *times, int sz, float z, bool targetistime)
 

Detailed Description

Converts between time and depth given a model.

Member Function Documentation

bool TimeDepthConverter::calcDepths ( ValueSeries< float > &  ,
int  sz,
const SamplingData< double > &  timesamp 
) const
private
static bool TimeDepthConverter::calcDepths ( const ValueSeries< float > &  vels,
int  velsz,
const SamplingData< double > &  ,
float *  depths 
)
staticprivate
Parameters
velsVelocity as Vint in time
static bool TimeDepthConverter::calcDepths ( const ValueSeries< float > &  vels,
int  velsz,
const ValueSeries< double > &  times,
double *  depths 
)
staticprivate
static bool mDeprecated TimeDepthConverter::calcDepths ( const ValueSeries< float > &  vels,
int  velsz,
const ValueSeries< float > &  times,
float *  depths 
)
staticprivate
Parameters
velsVelocity as Vint in time
bool TimeDepthConverter::calcTimes ( ValueSeries< float > &  ,
int  sz,
const SamplingData< double > &  depthsamp 
) const
private
static bool TimeDepthConverter::calcTimes ( const ValueSeries< float > &  vels,
int  velsz,
const ValueSeries< float > &  depth,
float *  times 
)
staticprivate
Parameters
velsVelocity as Vint in depth
static bool TimeDepthConverter::calcTimes ( const ValueSeries< float > &  vels,
int  velsz,
const SamplingData< double > &  ,
float *  times 
)
staticprivate
Parameters
velsVelocity as Vint in depth
void TimeDepthConverter::calcZ ( const float *  ,
int  inpsz,
ValueSeries< float > &  ,
int  outpsz,
const SamplingData< double > &  ,
bool  istime 
) const
protected
mODTextTranslationClass (TimeDepthConverter) public bool TimeDepthConverter::isOK ( ) const
privatevirtual

Reimplemented from TimeDepthModel.

static bool TimeDepthConverter::isVelocityDescUseable ( const VelocityDesc ,
bool  velintime,
uiString errmsg = 0 
)
staticprivate
bool TimeDepthConverter::setVelocityModel ( const ValueSeries< float > &  vels,
int  sz,
const SamplingData< double > &  sd,
const VelocityDesc ,
bool  istime 
)
private

Member Data Documentation

float TimeDepthConverter::firstvel_
protected
float TimeDepthConverter::lastvel_
protected
bool TimeDepthConverter::regularinput_
protected
SamplingData<double> TimeDepthConverter::sd_
protected
int TimeDepthConverter::sz_
protected

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