OpendTect  6.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SimpleTimeDepthModel Class Reference

Simple Time-Depth model in the form of a Time-Depth table. More...

Inheritance diagram for SimpleTimeDepthModel:
[legend]

Public Member Functions

 SimpleTimeDepthModel ()
 
 SimpleTimeDepthModel (const MultiID &)
 
virtual ~SimpleTimeDepthModel ()
 
const TypeSet< float > & getRawDepths () const
 
const TypeSet< float > & getRawTimes () const
 
virtual bool isOK () const
 
bool save (const MultiID &) const
 
void setRawData (const TypeSet< float > &times, const TypeSet< float > &depths)
 
- 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
 
TimeDepthModeloperator= (const TimeDepthModel &)
 
bool setModel (const float *dpths, const float *times, int sz)
 
int size () const
 

Protected Member Functions

bool readFromFile (const char *)
 
bool writeToFile (const char *) const
 

Protected Attributes

TypeSet< float > rawdepths_
 
TypeSet< float > rawtimes_
 
- Protected Attributes inherited from TimeDepthModel
float * depths_
 
uiString errmsg_
 
int sz_
 
float * times_
 

Additional Inherited Members

- 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)
 
- Static Protected Member Functions inherited from TimeDepthModel
static float convertTo (const float *dpths, const float *times, int sz, float z, bool targetistime)
 

Detailed Description

Simple Time-Depth model in the form of a Time-Depth table.

<>

Constructor & Destructor Documentation

◆ SimpleTimeDepthModel() [1/2]

SimpleTimeDepthModel::SimpleTimeDepthModel ( )

◆ SimpleTimeDepthModel() [2/2]

SimpleTimeDepthModel::SimpleTimeDepthModel ( const MultiID )

◆ ~SimpleTimeDepthModel()

virtual SimpleTimeDepthModel::~SimpleTimeDepthModel ( )
inlinevirtual

Member Function Documentation

◆ getRawDepths()

const TypeSet<float>& SimpleTimeDepthModel::getRawDepths ( ) const
inline

◆ getRawTimes()

const TypeSet<float>& SimpleTimeDepthModel::getRawTimes ( ) const
inline

◆ isOK()

virtual bool SimpleTimeDepthModel::isOK ( ) const
virtual

Reimplemented from TimeDepthModel.

◆ readFromFile()

bool SimpleTimeDepthModel::readFromFile ( const char *  )
protected

◆ save()

bool SimpleTimeDepthModel::save ( const MultiID ) const

◆ setRawData()

void SimpleTimeDepthModel::setRawData ( const TypeSet< float > &  times,
const TypeSet< float > &  depths 
)

◆ writeToFile()

bool SimpleTimeDepthModel::writeToFile ( const char *  ) const
protected

Member Data Documentation

◆ rawdepths_

TypeSet<float> SimpleTimeDepthModel::rawdepths_
protected

◆ rawtimes_

TypeSet<float> SimpleTimeDepthModel::rawtimes_
protected

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