OpendTect  7.0
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
TimeDepthModelSet Class Reference

Data holder for all TimeDepthModels that share the same depths distributions. There will always be at least one model in the set. Models may be annotated by a given value, typically offset or angle See the TimeDepthModel class for a description of the units of measure. More...

Inheritance diagram for TimeDepthModelSet:
[legend]

Classes

class  Setup
 

Public Member Functions

 TimeDepthModelSet (const ElasticModel &, const Setup &=Setup(), const TypeSet< float > *axisvals=nullptr, float *velmax=nullptr)
 
 TimeDepthModelSet (const TimeDepthModel &, const TypeSet< float > *axisvals=nullptr)
 
void forceTimes (const TimeDepthModel &, bool defonly)
 
const TimeDepthModelget (int) const
 
const TimeDepthModelgetDefaultModel () const
 
virtual bool isOK () const
 
int modelSize () const
 
int nrModels () const
 
void setDefTWT (int idz, float)
 
void setDepth (int idz, float)
 
void setTWT (int imdl, int idz, float)
 
int size () const
 
- Public Member Functions inherited from RefCount::Referenced
void addObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
int nrRefs () const
 Only for expert use. More...
 
void ref () const
 
bool refIfReffed () const
 Don't use in production, for debugging. More...
 
void removeObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
bool tryRef () const
 Not for normal use. May become private. More...
 
void unRef () const
 
void unRefNoDelete () const
 

Protected Member Functions

virtual ~TimeDepthModelSet ()
 
- Protected Member Functions inherited from RefCount::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
virtual ~Referenced ()
 
Referencedoperator= (const Referenced &)
 

Protected Attributes

bool isbad_ = false
 

Private Member Functions

 TimeDepthModelSet (int modelsz, const TypeSet< float > *axisvals=nullptr)
 
TimeDepthModelget (int)
 
TimeDepthModelgetDefaultModel ()
 
void init (int modelsz, const TypeSet< float > *axisvals)
 
 mOD_DisableCopy (TimeDepthModelSet)
 
void setFrom (const ElasticModel &, const Setup &, float *velmax)
 

Private Attributes

TimeDepthModeldefmodel_ = nullptr
 
bool singleton_ = true
 
ObjectSet< TimeDepthModeltdmodels_
 

Friends

class RayTracer1D
 
class ReflCalc1D
 

Additional Inherited Members

- Static Public Member Functions inherited from RefCount::Referenced
static bool isSane (const Referenced *)
 

Detailed Description

Data holder for all TimeDepthModels that share the same depths distributions. There will always be at least one model in the set. Models may be annotated by a given value, typically offset or angle See the TimeDepthModel class for a description of the units of measure.

<>

Constructor & Destructor Documentation

◆ TimeDepthModelSet() [1/3]

TimeDepthModelSet::TimeDepthModelSet ( const ElasticModel ,
const Setup = Setup(),
const TypeSet< float > *  axisvals = nullptr,
float *  velmax = nullptr 
)

◆ TimeDepthModelSet() [2/3]

TimeDepthModelSet::TimeDepthModelSet ( const TimeDepthModel ,
const TypeSet< float > *  axisvals = nullptr 
)

◆ ~TimeDepthModelSet()

virtual TimeDepthModelSet::~TimeDepthModelSet ( )
protectedvirtual

◆ TimeDepthModelSet() [3/3]

TimeDepthModelSet::TimeDepthModelSet ( int  modelsz,
const TypeSet< float > *  axisvals = nullptr 
)
private

Member Function Documentation

◆ forceTimes()

void TimeDepthModelSet::forceTimes ( const TimeDepthModel ,
bool  defonly 
)

◆ get() [1/2]

TimeDepthModel* TimeDepthModelSet::get ( int  )
private

◆ get() [2/2]

const TimeDepthModel* TimeDepthModelSet::get ( int  ) const

◆ getDefaultModel() [1/2]

TimeDepthModel& TimeDepthModelSet::getDefaultModel ( )
private

◆ getDefaultModel() [2/2]

const TimeDepthModel& TimeDepthModelSet::getDefaultModel ( ) const

◆ init()

void TimeDepthModelSet::init ( int  modelsz,
const TypeSet< float > *  axisvals 
)
private

◆ isOK()

virtual bool TimeDepthModelSet::isOK ( ) const
virtual

◆ mOD_DisableCopy()

TimeDepthModelSet::mOD_DisableCopy ( TimeDepthModelSet  )
private

◆ modelSize()

int TimeDepthModelSet::modelSize ( ) const

◆ nrModels()

int TimeDepthModelSet::nrModels ( ) const

◆ setDefTWT()

void TimeDepthModelSet::setDefTWT ( int  idz,
float   
)

◆ setDepth()

void TimeDepthModelSet::setDepth ( int  idz,
float   
)

◆ setFrom()

void TimeDepthModelSet::setFrom ( const ElasticModel ,
const Setup ,
float *  velmax 
)
private

◆ setTWT()

void TimeDepthModelSet::setTWT ( int  imdl,
int  idz,
float   
)

◆ size()

int TimeDepthModelSet::size ( ) const
inline

Friends And Related Function Documentation

◆ RayTracer1D

friend class RayTracer1D
friend

◆ ReflCalc1D

friend class ReflCalc1D
friend

Member Data Documentation

◆ defmodel_

TimeDepthModel* TimeDepthModelSet::defmodel_ = nullptr
private

◆ isbad_

bool TimeDepthModelSet::isbad_ = false
protected

◆ singleton_

bool TimeDepthModelSet::singleton_ = true
private

◆ tdmodels_

ObjectSet<TimeDepthModel> TimeDepthModelSet::tdmodels_
private

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