Interpolator that is based on convolution,like b-splines an o-moms. More...
#include <mia/3d/interpolator.hh>
Public Types | |
typedef T3DDatafield< typename coeff_map< T >::coeff_type > | TCoeff3D |
Public Member Functions | |
C3DWeightCache | create_cache () const |
const TCoeff3D & | get_coefficients () const |
T | operator() (const C3DFVector &x, C3DWeightCache &cache) const |
T | operator() (const C3DFVector &x) const |
T3DConvoluteInterpolator (const T3DDatafield< T > &data, PSplineKernel kernel) | |
T3DConvoluteInterpolator (const T3DDatafield< T > &data, PSplineKernel kernel, const CSplineBoundaryCondition &xbc, const CSplineBoundaryCondition &ybc, const CSplineBoundaryCondition &zbc) | |
~T3DConvoluteInterpolator () | |
Standart constructor for factory prototyping. More... | |
Public Member Functions inherited from T3DInterpolator< T > | |
virtual | ~T3DInterpolator () |
Protected Types | |
typedef std::vector< typename TCoeff3D::value_type > | coeff_vector |
helper class for filtering More... | |
Interpolator that is based on convolution,like b-splines an o-moms.
T | data type to be interpolated |
Definition at line 82 of file 3d/interpolator.hh.
|
protected |
helper class for filtering
Definition at line 143 of file 3d/interpolator.hh.
typedef T3DDatafield< typename coeff_map< T >::coeff_type > T3DConvoluteInterpolator< T >::TCoeff3D |
type how the coefficients are stored - this is done to use a higher accuracy if the input data is not of double floating point precicion
Definition at line 86 of file 3d/interpolator.hh.
T3DConvoluteInterpolator< T >::T3DConvoluteInterpolator | ( | const T3DDatafield< T > & | data, |
PSplineKernel | kernel | ||
) |
Create the interpolator from the input data and a given kernel
data | |
kernel |
T3DConvoluteInterpolator< T >::T3DConvoluteInterpolator | ( | const T3DDatafield< T > & | data, |
PSplineKernel | kernel, | ||
const CSplineBoundaryCondition & | xbc, | ||
const CSplineBoundaryCondition & | ybc, | ||
const CSplineBoundaryCondition & | zbc | ||
) |
Construtor to prefilter the input for proper interpolation
data | the data used for interpolation |
kernel | the spline kernel used for interpolation |
xbc | boundary conditions to be applied along the x-axis when interpolating |
ybc | boundary conditions to be applied along the y-axis when interpolating |
zbc | boundary conditions to be applied along the z-axis when interpolating |
T3DConvoluteInterpolator< T >::~T3DConvoluteInterpolator | ( | ) |
Standart constructor for factory prototyping.
C3DWeightCache T3DConvoluteInterpolator< T >::create_cache | ( | ) | const |
Create the cache structure needed to run the interpolation in a multi-threaded environment. This function must be called in each thread once.
|
inline |
Definition at line 137 of file 3d/interpolator.hh.
T T3DConvoluteInterpolator< T >::operator() | ( | const C3DFVector & | x, |
C3DWeightCache & | cache | ||
) | const |
get the interpolated value at a given location x
x | |
cache | the cache structure created by calling create_cache()- |
|
virtual |
get the interpolated value at a given location x
x |
Implements T3DInterpolator< T >.