OpendTect  7.0
Public Member Functions | Private Attributes | List of all members
SincInterpolator1D< RT, PT > Class Template Reference
Inheritance diagram for SincInterpolator1D< RT, PT >:
[legend]

Public Member Functions

 SincInterpolator1D (const RT *=0, int sz=-1)
 
RT getValue (PT) const
 
bool initTable (float fmax, int lmax)
 
bool isOK () const
 
void setInput (const RT *, bool datahasnoudf=false)
 
bool setSize (int)
 
- Public Member Functions inherited from SincInterpolator
 ~SincInterpolator ()
 
Extrapolation getExtrapolation ()
 
float getMaximumError () const
 
float getMaximumFrequency () const
 
int getMaximumLength () const
 
od_int64 getTableBytes () const
 
bool isTableOK () const
 
void setExtrapolation (Extrapolation)
 
- Public Member Functions inherited from MathFunction< RT, PT >
RT getNDValue (const PT *pos) const override
 
int getNrDim () const override
 
- Public Member Functions inherited from MathFunctionND< RT, PT >
virtual ~MathFunctionND ()
 

Private Attributes

const RT * data_
 
int nx_
 
int nxm_
 

Additional Inherited Members

- Public Types inherited from SincInterpolator
enum  Extrapolation { NONE =0 , ZERO =1 , CONSTANT =2 }
 
- Protected Member Functions inherited from SincInterpolator
 SincInterpolator ()
 
float getTableVal (int idx, int idy) const
 
bool init ()
 
template<class RT >
bool initUndefTable (const RT *, od_int64 sz)
 
- Protected Attributes inherited from SincInterpolator
const float ** asinc_
 
bool extrapcst_
 
bool extrapzero_
 
int ishift_
 
bool * isudfarr_
 
int lsinc_
 
int nsincm1_
 
const SincTableManager::Tabletable_
 
- Static Protected Attributes inherited from SincInterpolator
static const float snapdist
 

Detailed Description

template<class RT, class PT>
class SincInterpolator1D< RT, PT >

<>

Constructor & Destructor Documentation

◆ SincInterpolator1D()

template<class RT , class PT >
SincInterpolator1D< RT, PT >::SincInterpolator1D ( const RT *  data = 0,
int  sz = -1 
)

Member Function Documentation

◆ getValue()

template<class RT , class PT >
RT SincInterpolator1D< RT, PT >::getValue ( PT  x) const
virtual

◆ initTable()

template<class RT , class PT >
bool SincInterpolator1D< RT, PT >::initTable ( float  fmax,
int  lmax 
)
virtual
Parameters
fmaxMaximum frequency in input dataset
lmaxMaximum length of the interpolator

Reimplemented from SincInterpolator.

◆ isOK()

template<class RT , class PT >
bool SincInterpolator1D< RT, PT >::isOK ( ) const
inline

◆ setInput()

template<class RT , class PT >
void SincInterpolator1D< RT, PT >::setInput ( const RT *  data,
bool  datahasnoudf = false 
)

◆ setSize()

template<class RT , class PT >
bool SincInterpolator1D< RT, PT >::setSize ( int  nx)

Member Data Documentation

◆ data_

template<class RT , class PT >
const RT* SincInterpolator1D< RT, PT >::data_
private

◆ nx_

template<class RT , class PT >
int SincInterpolator1D< RT, PT >::nx_
private

◆ nxm_

template<class RT , class PT >
int SincInterpolator1D< RT, PT >::nxm_
private

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