OpendTect-6_4  6.4
Public Member Functions | Public Attributes | List of all members
Interpolate::PolyReg1DWithUdf< T > Class Template Reference

PolyReg1D which smoothly handles undefined values. More...

Public Member Functions

 PolyReg1DWithUdf ()
 
 PolyReg1DWithUdf (const T *v)
 
 PolyReg1DWithUdf (T vm1, T v0, T v1, T v2)
 
void set (T vm1, T v0, T v1, T v2)
 
apply (float x) const
 

Public Attributes

PolyReg1D< T > intp_
 
bool v0udf_
 
bool v1udf_
 

Detailed Description

template<class T>
class Interpolate::PolyReg1DWithUdf< T >

PolyReg1D which smoothly handles undefined values.

Note that this class requires x to be between 0 and 1 for correct undef handling. Correct means: if the nearest sample is undefined, return undefined. Otherwise always return a value.

Constructor & Destructor Documentation

template<class T>
Interpolate::PolyReg1DWithUdf< T >::PolyReg1DWithUdf ( )
inline
template<class T>
Interpolate::PolyReg1DWithUdf< T >::PolyReg1DWithUdf ( const T *  v)
inline
template<class T>
Interpolate::PolyReg1DWithUdf< T >::PolyReg1DWithUdf ( vm1,
v0,
v1,
v2 
)
inline

Member Function Documentation

template<class T>
T Interpolate::PolyReg1DWithUdf< T >::apply ( float  x) const
inline
template<class T>
void Interpolate::PolyReg1DWithUdf< T >::set ( vm1,
v0,
v1,
v2 
)
inline

Member Data Documentation

template<class T>
PolyReg1D<T> Interpolate::PolyReg1DWithUdf< T >::intp_
template<class T>
bool Interpolate::PolyReg1DWithUdf< T >::v0udf_
template<class T>
bool Interpolate::PolyReg1DWithUdf< T >::v1udf_

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