OpendTect  7.0
Public Member Functions | Static 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 override
 
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
 
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
 
TimeDepthModeloperator= (const TimeDepthModel &)
 
bool setModel (const float *dpths, const float *times, int sz)
 
int size () const
 

Static Public Member Functions

static const UnitOfMeasuregetDepthUnit ()
 
static const UnitOfMeasuregetTimeUnit ()
 
- 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

bool readFromFile (const char *)
 
bool writeToFile (const char *) const
 
- Protected Member Functions inherited from TimeDepthModel
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)
 

Protected Attributes

TypeSet< float > rawdepths_
 
TypeSet< float > rawtimes_
 
- Protected Attributes inherited from TimeDepthModel
uiString errmsg_
 

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

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

◆ getDepthUnit()

static const UnitOfMeasure* SimpleTimeDepthModel::getDepthUnit ( )
static

◆ getRawDepths()

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

◆ getRawTimes()

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

◆ getTimeUnit()

static const UnitOfMeasure* SimpleTimeDepthModel::getTimeUnit ( )
static

◆ isOK()

virtual bool SimpleTimeDepthModel::isOK ( ) const
overridevirtual

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-2024