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

PolyReg2D which smoothly handles undefined values. More...

Inheritance diagram for Interpolate::PolyReg2DWithUdf< T >:
[legend]

Public Member Functions

 PolyReg2DWithUdf (float xstretch=1)
 
 PolyReg2DWithUdf (const T *, float xstretch=1)
 
 PolyReg2DWithUdf (T vm10, T vm11, T v0m1, T v00, T v01, T v02, T v1m1, T v10, T v11, T v12, T v20, T v21, float xstretch=1)
 
void set (const T *)
 
void set (T vm10, T vm11, T v0m1, T v00, T v01, T v02, T v1m1, T v10, T v11, T v12, T v20, T v21)
 
apply (float x, float y) const
 
- Public Member Functions inherited from Interpolate::Applier2D< T >
virtual ~Applier2D ()
 

Protected Member Functions

void fillOuter2Inner (T, T, T, T, T, T, T, T, T &, T &, T &, T &)
 
void fillInner2Inner (T &, T &, T &, T &)
 
void fillInner2Outer (T, T, T, T, T &, T &, T &, T &, T &, T &, T &, T &)
 

Protected Attributes

PolyReg2D< T > intp_
 
bool haveudf_
 
bool u00_
 
bool u10_
 
bool u01_
 
bool u11_
 
bool um10_
 
bool um11_
 
bool u0m1_
 
bool u02_
 
bool u1m1_
 
bool u12_
 
bool u20_
 
bool u21_
 

Detailed Description

template<class T>
class Interpolate::PolyReg2DWithUdf< T >

PolyReg2D which smoothly handles undefined values.

Note that this class requires x and y 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::PolyReg2DWithUdf< T >::PolyReg2DWithUdf ( float  xstretch = 1)
inline
template<class T >
Interpolate::PolyReg2DWithUdf< T >::PolyReg2DWithUdf ( const T *  v,
float  xstretch = 1 
)
inline
template<class T >
Interpolate::PolyReg2DWithUdf< T >::PolyReg2DWithUdf ( vm10,
vm11,
v0m1,
v00,
v01,
v02,
v1m1,
v10,
v11,
v12,
v20,
v21,
float  xstretch = 1 
)
inline

Member Function Documentation

template<class T >
T Interpolate::PolyReg2DWithUdf< T >::apply ( float  x,
float  y 
) const
inlinevirtual
template<class T >
void Interpolate::PolyReg2DWithUdf< T >::fillInner2Inner ( T &  v00,
T &  v01,
T &  v10,
T &  v11 
)
inlineprotected
template<class T >
void Interpolate::PolyReg2DWithUdf< T >::fillInner2Outer ( v00,
v01,
v10,
v11,
T &  vm10,
T &  vm11,
T &  v0m1,
T &  v02,
T &  v1m1,
T &  v12,
T &  v20,
T &  v21 
)
inlineprotected
template<class T >
void Interpolate::PolyReg2DWithUdf< T >::fillOuter2Inner ( vm10,
vm11,
v0m1,
v02,
v1m1,
v12,
v20,
v21,
T &  v00,
T &  v01,
T &  v10,
T &  v11 
)
inlineprotected
template<class T >
void Interpolate::PolyReg2DWithUdf< T >::set ( const T *  v)
inlinevirtual
template<class T >
void Interpolate::PolyReg2DWithUdf< T >::set ( vm10,
vm11,
v0m1,
v00,
v01,
v02,
v1m1,
v10,
v11,
v12,
v20,
v21 
)
inline

Member Data Documentation

template<class T>
bool Interpolate::PolyReg2DWithUdf< T >::haveudf_
protected
template<class T>
PolyReg2D<T> Interpolate::PolyReg2DWithUdf< T >::intp_
protected
template<class T>
bool Interpolate::PolyReg2DWithUdf< T >::u00_
protected
template<class T>
bool Interpolate::PolyReg2DWithUdf< T >::u01_
protected
template<class T>
bool Interpolate::PolyReg2DWithUdf< T >::u02_
protected
template<class T>
bool Interpolate::PolyReg2DWithUdf< T >::u0m1_
protected
template<class T>
bool Interpolate::PolyReg2DWithUdf< T >::u10_
protected
template<class T>
bool Interpolate::PolyReg2DWithUdf< T >::u11_
protected
template<class T>
bool Interpolate::PolyReg2DWithUdf< T >::u12_
protected
template<class T>
bool Interpolate::PolyReg2DWithUdf< T >::u1m1_
protected
template<class T>
bool Interpolate::PolyReg2DWithUdf< T >::u20_
protected
template<class T>
bool Interpolate::PolyReg2DWithUdf< T >::u21_
protected
template<class T>
bool Interpolate::PolyReg2DWithUdf< T >::um10_
protected
template<class T>
bool Interpolate::PolyReg2DWithUdf< T >::um11_
protected

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