OpendTect  7.0
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 (const T *, float xstretch=1)
 
 PolyReg2DWithUdf (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)
 
apply (float x, float y) const override
 
void set (const T *) override
 
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)
 
- Public Member Functions inherited from Interpolate::Applier2D< T >
virtual ~Applier2D ()
 

Protected Member Functions

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

Protected Attributes

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

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

◆ PolyReg2DWithUdf() [1/3]

template<class T >
Interpolate::PolyReg2DWithUdf< T >::PolyReg2DWithUdf ( float  xstretch = 1)
inline

◆ PolyReg2DWithUdf() [2/3]

template<class T >
Interpolate::PolyReg2DWithUdf< T >::PolyReg2DWithUdf ( const T *  v,
float  xstretch = 1 
)
inline

◆ PolyReg2DWithUdf() [3/3]

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

◆ apply()

template<class T >
T Interpolate::PolyReg2DWithUdf< T >::apply ( float  x,
float  y 
) const
inlineoverridevirtual

◆ fillInner2Inner()

template<class T >
void Interpolate::PolyReg2DWithUdf< T >::fillInner2Inner ( T &  v00,
T &  v01,
T &  v10,
T &  v11 
)
inlineprotected

◆ fillInner2Outer()

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

◆ fillOuter2Inner()

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

◆ set() [1/2]

template<class T >
void Interpolate::PolyReg2DWithUdf< T >::set ( const T *  v)
inlineoverridevirtual

◆ set() [2/2]

template<class T >
void Interpolate::PolyReg2DWithUdf< T >::set ( vm10,
vm11,
v0m1,
v00,
v01,
v02,
v1m1,
v10,
v11,
v12,
v20,
v21 
)
inline

Member Data Documentation

◆ haveudf_

template<class T >
bool Interpolate::PolyReg2DWithUdf< T >::haveudf_
protected

◆ intp_

template<class T >
PolyReg2D<T> Interpolate::PolyReg2DWithUdf< T >::intp_
protected

◆ u00_

template<class T >
bool Interpolate::PolyReg2DWithUdf< T >::u00_
protected

◆ u01_

template<class T >
bool Interpolate::PolyReg2DWithUdf< T >::u01_
protected

◆ u02_

template<class T >
bool Interpolate::PolyReg2DWithUdf< T >::u02_
protected

◆ u0m1_

template<class T >
bool Interpolate::PolyReg2DWithUdf< T >::u0m1_
protected

◆ u10_

template<class T >
bool Interpolate::PolyReg2DWithUdf< T >::u10_
protected

◆ u11_

template<class T >
bool Interpolate::PolyReg2DWithUdf< T >::u11_
protected

◆ u12_

template<class T >
bool Interpolate::PolyReg2DWithUdf< T >::u12_
protected

◆ u1m1_

template<class T >
bool Interpolate::PolyReg2DWithUdf< T >::u1m1_
protected

◆ u20_

template<class T >
bool Interpolate::PolyReg2DWithUdf< T >::u20_
protected

◆ u21_

template<class T >
bool Interpolate::PolyReg2DWithUdf< T >::u21_
protected

◆ um10_

template<class T >
bool Interpolate::PolyReg2DWithUdf< T >::um10_
protected

◆ um11_

template<class T >
bool Interpolate::PolyReg2DWithUdf< T >::um11_
protected

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