OpendTect-6_4  6.4
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

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

Public Attributes

start
 
step
 

Detailed Description

template<class T>
class SamplingData< T >

Holds the fundamental sampling info: start and interval.

Constructor & Destructor Documentation

template<class T>
SamplingData< T >::SamplingData ( sa = 0,
se = 1 
)
inline
template<class T>
SamplingData< T >::SamplingData ( x0,
y0,
x1,
y1 
)
inline
template<class T >
template<class FT >
SamplingData< T >::SamplingData ( const SamplingData< FT > &  sd)
inline
template<class T >
template<class FT >
SamplingData< T >::SamplingData ( const StepInterval< FT > &  intv)
inline

Member Function Documentation

template<class T >
template<class IT >
T SamplingData< T >::atIndex ( IT  idx) const
inline
Parameters
epsis in number of samples.
template<class T >
template<class FT >
float SamplingData< T >::getfIndex ( FT  val) const
inline
template<class T >
template<class FT >
int SamplingData< T >::indexOnOrAfter ( FT  x,
float  eps = (1e-10) 
) const
inline
template<class T >
template<class IT >
StepInterval< T > SamplingData< T >::interval ( IT  nrsamples) const
inline
template<class T >
bool SamplingData< T >::isUdf ( ) const
inline
template<class T >
template<class FT >
int SamplingData< T >::nearestIndex ( FT  x) const
inline
template<class T >
bool SamplingData< T >::operator!= ( const SamplingData< T > &  sd) const
inline
template<class T >
bool SamplingData< T >::operator== ( const SamplingData< T > &  sd) const
inline
template<class T>
void SamplingData< T >::scale ( scl)
inline
template<class T >
template<class FT >
void SamplingData< T >::set ( FT  sa,
FT  se 
)
inline
template<class T >
template<class FT >
void SamplingData< T >::set ( const SamplingData< FT > &  sd)
inline
template<class T >
template<class FT >
void SamplingData< T >::set ( const StepInterval< FT > &  intv)
inline
template<class T >
template<class FT >
T SamplingData< T >::snap ( FT  val) const
inline

Member Data Documentation

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

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