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

Converts between time, depth and velocity given a model. The velocity model can be either RMO-velocities in time, or interval velocity in either depth or time. More...

Inheritance diagram for TimeDepthModel:
[legend]

Static Protected Member Functions

static float convertTo (const float *dpths, const float *times, int sz, float z, bool targetistime)
 

Protected Attributes

int sz_
 
float * times_
 
float * depths_
 
uiString errmsg_
 

Private Member Functions

mODTextTranslationClass(TimeDepthModel) public TimeDepthModel (const TimeDepthModel &)
 
virtual ~TimeDepthModel ()
 
TimeDepthModeloperator= (const TimeDepthModel &)
 
virtual bool isOK () const
 
const char * errMsg () const
 
int size () const
 
bool setModel (const float *dpths, const float *times, int sz)
 
float getDepth (float time) const
 
float getTime (float depth) const
 
float getVelocity (float depth) const
 
float getFirstTime () const
 
float getLastTime () const
 
float getDepth (int idx) const
 
float getTime (int idx) const
 

Static Private Member Functions

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)
 

Detailed Description

Converts between time, depth and velocity given a model. The velocity model can be either RMO-velocities in time, or interval velocity in either depth or time.

Constructor & Destructor Documentation

mODTextTranslationClass (TimeDepthModel) public TimeDepthModel::TimeDepthModel ( const TimeDepthModel )
private
virtual TimeDepthModel::~TimeDepthModel ( )
privatevirtual

Member Function Documentation

static float TimeDepthModel::convertTo ( const float *  dpths,
const float *  times,
int  sz,
float  z,
bool  targetistime 
)
staticprotected
const char* TimeDepthModel::errMsg ( ) const
private
float TimeDepthModel::getDepth ( float  time) const
private
static float TimeDepthModel::getDepth ( const float *  dpths,
const float *  times,
int  sz,
float  time 
)
staticprivate
float TimeDepthModel::getDepth ( int  idx) const
private
float TimeDepthModel::getFirstTime ( ) const
private
float TimeDepthModel::getLastTime ( ) const
private
float TimeDepthModel::getTime ( float  depth) const
private
static float TimeDepthModel::getTime ( const float *  dpths,
const float *  times,
int  sz,
float  depth 
)
staticprivate
float TimeDepthModel::getTime ( int  idx) const
private
float TimeDepthModel::getVelocity ( float  depth) const
private
static float TimeDepthModel::getVelocity ( const float *  dpths,
const float *  times,
int  sz,
float  depth 
)
staticprivate
virtual bool TimeDepthModel::isOK ( ) const
privatevirtual

Reimplemented in TimeDepthConverter.

TimeDepthModel& TimeDepthModel::operator= ( const TimeDepthModel )
private
bool TimeDepthModel::setModel ( const float *  dpths,
const float *  times,
int  sz 
)
private
int TimeDepthModel::size ( ) const
inlineprivate

Member Data Documentation

float* TimeDepthModel::depths_
protected
uiString TimeDepthModel::errmsg_
protected
int TimeDepthModel::sz_
protected
float* TimeDepthModel::times_
protected

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