OpendTect-6_4  6.4
Classes | Macros
sincinterpolator.h File Reference
Include dependency graph for sincinterpolator.h:

Go to the source code of this file.

Classes

class  SincTableManager
 A manager used for constructing the table necessary for Sinc interpolations. The manager creates one table per design and provides its as necessary A table contains shifted, stretched KaiserWindow functions in both directions. More...
 
class  SincTableManager::Table
 
class  SincInterpolator
 A sinc interpolator for bandlimited uniformly-sampled functions y(x). Interpolators can be designed for any two of three parameters: maximum error (emax), maximum frequency (fmax) and maximum length (lmax). The parameter not specified is computed when an interpolator is designed. More...
 
class  SincInterpolator1D< RT, PT >
 
class  SincInterpolator2D< RT, PT >
 
class  SincInterpolator3D< RT, PT >
 

Macros

#define mKSinc(frac)   ( mCast(int,frac*nsincm1_+0.5) )
 
#define mValidPos(is, ns)   ( (is > -1 && is < ns) )
 
#define mCheckUdf(totidx)
 
#define mAddVal(val, weight, totidx, outval)
 
#define mAddValW(val, totidx, weight, outval, sumweights)
 
#define mGetOffset(idx, idy, idz)   ( idz + nz_*( idy + ny_*idx ) )
 

Macro Definition Documentation

#define mAddVal (   val,
  weight,
  totidx,
  outval 
)
Value:
{ \
mCheckUdf(totidx) \
outval += val * weight; \
}
#define mAddValW (   val,
  totidx,
  weight,
  outval,
  sumweights 
)
Value:
{ \
mCheckUdf(totidx) \
outval += val * weight; \
sumweights += weight; \
}
#define mCheckUdf (   totidx)
Value:
{ \
if ( isudfarr_ && isudfarr_[totidx] ) \
continue; \
}
#define mGetOffset (   idx,
  idy,
  idz 
)    ( idz + nz_*( idy + ny_*idx ) )
#define mKSinc (   frac)    ( mCast(int,frac*nsincm1_+0.5) )
#define mValidPos (   is,
  ns 
)    ( (is > -1 && is < ns) )

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