![]() |
OpendTect
7.0
|
Converts between time and depth given a model. It expects a valueseries, where unit of value should be SI unit. Scaler provides factor value in case the valueseries in non SI unit. More...
Public Member Functions | |
TimeDepthConverter () | |
~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 override |
bool | setVelocityModel (const ValueSeries< float > &vels, int sz, const SamplingData< double > &sd, const VelocityDesc &, bool istime, const Scaler *scaler=nullptr) |
![]() | |
TimeDepthModel () | |
TimeDepthModel (const TimeDepthModel &) | |
virtual | ~TimeDepthModel () |
const char * | errMsg () const |
float | getDepth (float time) const |
float | getDepth (int idx) const |
const float * | getDepths () const |
float | getFirstTime () const |
float | getLastTime () const |
float | getTime (float depth) const |
float | getTime (int idx) const |
const float * | getTimes () 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, const Scaler *scaler=nullptr) |
static bool | calcDepths (const ValueSeries< float > &vels, int velsz, const ValueSeries< double > ×, double *depths, const Scaler *scaler=nullptr) |
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, const Scaler *scaler=nullptr) |
static bool | calcTimes (const ValueSeries< float > &vels, int velsz, const ValueSeries< float > &depth, float *times, const Scaler *scaler=nullptr) |
static bool | isVelocityDescUseable (const VelocityDesc &, bool velintime, uiString *errmsg=0) |
![]() | |
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) |
Private Member Functions | |
void | calcZ (ValueSeries< float > &, int outpsz, const SamplingData< double > &, bool istime) const |
Private Attributes | |
float | firstvel_ |
float | lastvel_ |
bool | regularinput_ = true |
SamplingData< double > & | sd_ |
Additional Inherited Members | |
![]() | |
void | forceTimes (const TimeDepthModel &) |
float * | getDepths () |
float * | getTimes () |
void | setAllVals (float *dpths, float *times, int sz) |
void | setEmpty () |
void | setSize (int sz) |
void | setVals (float *, bool isdepth, bool becomesmine=true) |
![]() | |
static float | convertTo (const float *dpths, const float *times, int sz, float z, bool targetistime) |
![]() | |
uiString | errmsg_ |
Converts between time and depth given a model. It expects a valueseries, where unit of value should be SI unit. Scaler provides factor value in case the valueseries in non SI unit.
<>
TimeDepthConverter::TimeDepthConverter | ( | ) |
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 |
|
private |
|
overridevirtual |
Reimplemented from TimeDepthModel.
|
static |
bool TimeDepthConverter::setVelocityModel | ( | const ValueSeries< float > & | vels, |
int | sz, | ||
const SamplingData< double > & | sd, | ||
const VelocityDesc & | , | ||
bool | istime, | ||
const Scaler * | scaler = nullptr |
||
) |
|
private |
|
private |
|
private |
|
private |
Generated at 02/08/2024 10:19:44 for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024