OpendTect  7.0
Public Member Functions | Public Attributes | List of all members
SamplingData< T > Class Template Reference

Holds the fundamental sampling info: start and interval. More...

Inheritance diagram for SamplingData< T >:
[legend]

Public Member Functions

template<class FT >
 SamplingData (const SamplingData< FT > &)
 
template<class FT >
 SamplingData (const StepInterval< FT > &)
 
 SamplingData (T sa=0, T se=1)
 
 SamplingData (T x0, T y0, T x1, T y1)
 
template<class IT >
atIndex (IT) const
 
template<class FT >
float getfIndex (FT) const
 
template<class FT >
int indexOnOrAfter (FT x, float eps=(1e-10)) const
 
template<class IT >
StepInterval< T > interval (IT nrsamples) const
 
bool isUdf () const
 
template<class FT >
int nearestIndex (FT) const
 
template<class FT >
int nrSteps (FT) const
 
bool operator!= (const SamplingData &) const
 
bool operator== (const SamplingData &) const
 
void scale (T)
 
template<class FT >
void set (const SamplingData< FT > &)
 
template<class FT >
void set (const StepInterval< FT > &)
 
template<class FT >
void set (FT, FT)
 
template<class FT >
snap (FT) const
 

Public Attributes

start
 
step
 

Detailed Description

template<class T>
class SamplingData< T >

Holds the fundamental sampling info: start and interval.

<>

Constructor & Destructor Documentation

◆ SamplingData() [1/4]

template<class T >
SamplingData< T >::SamplingData ( sa = 0,
se = 1 
)
inline

◆ SamplingData() [2/4]

template<class T >
SamplingData< T >::SamplingData ( x0,
y0,
x1,
y1 
)
inline

◆ SamplingData() [3/4]

template<class T >
template<class FT >
SamplingData< T >::SamplingData ( const SamplingData< FT > &  sd)
inline

◆ SamplingData() [4/4]

template<class T >
template<class FT >
SamplingData< T >::SamplingData ( const StepInterval< FT > &  intv)
inline

Member Function Documentation

◆ atIndex()

template<class T >
template<class IT >
T SamplingData< T >::atIndex ( IT  idx) const
inline

◆ getfIndex()

template<class T >
template<class FT >
float SamplingData< T >::getfIndex ( FT  val) const
inline

◆ indexOnOrAfter()

template<class T >
template<class FT >
int SamplingData< T >::indexOnOrAfter ( FT  x,
float  eps = (1e-10) 
) const
inline
Parameters
xget index for value x
epsis in number of samples.

◆ interval()

template<class T >
template<class IT >
StepInterval< T > SamplingData< T >::interval ( IT  nrsamples) const
inline

◆ isUdf()

template<class T >
bool SamplingData< T >::isUdf
inline

◆ nearestIndex()

template<class T >
template<class FT >
int SamplingData< T >::nearestIndex ( FT  x) const
inline

◆ nrSteps()

template<class T >
template<class FT >
int SamplingData< T >::nrSteps ( FT  x) const
inline

◆ operator!=()

template<class T >
bool SamplingData< T >::operator!= ( const SamplingData< T > &  sd) const
inline

◆ operator==()

template<class T >
bool SamplingData< T >::operator== ( const SamplingData< T > &  sd) const
inline

◆ scale()

template<class T >
void SamplingData< T >::scale ( scl)
inline

◆ set() [1/3]

template<class T >
template<class FT >
void SamplingData< T >::set ( const SamplingData< FT > &  sd)
inline

◆ set() [2/3]

template<class T >
template<class FT >
void SamplingData< T >::set ( const StepInterval< FT > &  intv)
inline

◆ set() [3/3]

template<class T >
template<class FT >
void SamplingData< T >::set ( FT  sa,
FT  se 
)
inline

◆ snap()

template<class T >
template<class FT >
T SamplingData< T >::snap ( FT  val) const
inline

Member Data Documentation

◆ start

template<class T >
T SamplingData< T >::start

◆ step

template<class T >
T SamplingData< T >::step

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