OpendTect-6_4  6.4
Classes | Namespaces | Macros | Functions
interpol2d.h File Reference
Include dependency graph for interpol2d.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Interpolate::Applier2D< T >
 specification for a 2D interpolator More...
 
class  Interpolate::LinearReg2D< T >
 Linear 2D interpolation. More...
 
class  Interpolate::LinearReg2DWithUdf< T >
 Linear 2D interpolation with standard undef handling. More...
 
class  Interpolate::PolyReg2D< T >
 Interpolate 2D regularly sampled, using a 2nd order surface. More...
 
class  Interpolate::PolyReg2DWithUdf< T >
 PolyReg2D which smoothly handles undefined values. More...
 

Namespaces

 Interpolate
 

Macros

#define mFillIfUdfFromSquare(nd, left, right, opp)
 
#define mRetUdfIfNearestUdf()
 
#define mFillWithEither(nd, cand1, cand2)
 
#define mFillIfUdf(nd, src)   if ( mIsUdf(v##nd) ) v##nd= v##src;
 

Functions

template<class T >
Interpolate::linearReg2D (T v00, T v01, T v10, T v11, float x, float y)
 
template<class T >
Interpolate::linearReg2DWithUdf (T v00, T v01, T v10, T v11, float x, float y)
 
template<class T >
Interpolate::polyReg2D (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 x, float y, float xs=1)
 
template<class T >
Interpolate::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 x, float y)
 

Macro Definition Documentation

#define mFillIfUdf (   nd,
  src 
)    if ( mIsUdf(v##nd) ) v##nd= v##src;
#define mFillIfUdfFromSquare (   nd,
  left,
  right,
  opp 
)
Value:
if ( u##nd##_ ) \
{ \
if ( u##left##_ && u##right##_ ) \
v##nd = v##opp; \
else \
v##nd = u##left##_ || u##right##_ ? \
(u##right##_ ? v##left : v##right) \
: (v##left + v##right) / 2; \
}
if(!noudf_ &&(mIsUdf(inpval)))
Definition: arrayndalgo.h:1662
Definition: i_layout.h:28
Definition: i_layout.h:28
#define mFillWithEither (   nd,
  cand1,
  cand2 
)
Value:
if ( u##nd##_ ) \
{ \
if ( !u##cand1##_ ) v##nd = v##cand1; \
else if ( !u##cand2##_ ) v##nd = v##cand2; \
}
if(!noudf_ &&(mIsUdf(inpval)))
Definition: arrayndalgo.h:1662
#define mRetUdfIfNearestUdf ( )
Value:
if ( haveudf_ && ( \
( u00_ && x < 0.5 && y < 0.5 ) \
|| ( u10_ && x >= 0.5 && y < 0.5 ) \
|| ( u01_ && x < 0.5 && y >= 0.5 ) \
|| ( u11_ && x >= 0.5 && y >= 0.5 ) ) ) \
return mUdf(T)
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:272

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