OpendTect
6.6
|
Converts between time and depth given a model. More...
Public Member Functions | |
TimeDepthConverter () | |
bool | calcDepths (ValueSeries< float > &, int sz, const SamplingData< double > ×amp) const |
bool | calcTimes (ValueSeries< float > &, int sz, const SamplingData< double > &depthsamp) const |
bool | isOK () const |
bool | setVelocityModel (const ValueSeries< float > &vels, int sz, const SamplingData< double > &sd, const VelocityDesc &, bool istime) |
Public Member Functions inherited from TimeDepthModel | |
TimeDepthModel () | |
TimeDepthModel (const TimeDepthModel &) | |
virtual | ~TimeDepthModel () |
const char * | errMsg () const |
float | getDepth (float time) const |
float | getDepth (int idx) const |
float | getFirstTime () const |
float | getLastTime () const |
float | getTime (float depth) const |
float | getTime (int idx) const |
float | getVelocity (float depth) const |
TimeDepthModel & | operator= (const TimeDepthModel &) |
bool | setModel (const float *dpths, const float *times, int sz) |
int | size () const |
Static Public Member Functions | |
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 > ×, double *depths) |
static mDeprecatedDef bool | calcDepths (const ValueSeries< float > &vels, int velsz, const ValueSeries< float > ×, float *depths) |
static bool | calcTimes (const ValueSeries< float > &vels, int velsz, const SamplingData< double > &, float *times) |
static bool | calcTimes (const ValueSeries< float > &vels, int velsz, const ValueSeries< float > &depth, float *times) |
static bool | isVelocityDescUseable (const VelocityDesc &, bool velintime, uiString *errmsg=0) |
Static Public Member Functions inherited from TimeDepthModel | |
static float | getDepth (const float *dpths, const float *times, int sz, float time) |
static float | getTime (const float *dpths, const float *times, int sz, float depth) |
static float | getVelocity (const float *dpths, const float *times, int sz, float depth) |
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_ |
SamplingData< double > | sd_ |
int | sz_ |
Protected Attributes inherited from TimeDepthModel | |
float * | depths_ |
uiString | errmsg_ |
int | sz_ |
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) |
Converts between time and depth given a model.
<>
TimeDepthConverter::TimeDepthConverter | ( | ) |
|
static |
vels | Velocity as Vint in time |
velsz,depths |
|
static |
vels | Velocity as Vint in time |
velsz,times,depths |
|
static |
bool TimeDepthConverter::calcDepths | ( | ValueSeries< float > & | , |
int | sz, | ||
const SamplingData< double > & | timesamp | ||
) | const |
|
static |
vels | Velocity as Vint in depth |
velsz,times |
|
static |
vels | Velocity as Vint in depth |
velsz,times,depth |
bool TimeDepthConverter::calcTimes | ( | ValueSeries< float > & | , |
int | sz, | ||
const SamplingData< double > & | depthsamp | ||
) | const |
|
protected |
|
virtual |
Reimplemented from TimeDepthModel.
|
static |
bool TimeDepthConverter::setVelocityModel | ( | const ValueSeries< float > & | vels, |
int | sz, | ||
const SamplingData< double > & | sd, | ||
const VelocityDesc & | , | ||
bool | istime | ||
) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022