Public Member Functions
C3DInterpolatorFactory Class Reference

A factory to create interpolators of a given type by providing input data. More...

#include <mia/3d/interpolator.hh>

Public Member Functions

 C3DInterpolatorFactory (const std::string &kernel, const std::string &boundary_conditions)
 
 C3DInterpolatorFactory (PSplineKernel kernel, const CSplineBoundaryCondition &boundary_conditions)
 
 C3DInterpolatorFactory (PSplineKernel kernel, const CSplineBoundaryCondition &xbc, const CSplineBoundaryCondition &ybc, const CSplineBoundaryCondition &zbc)
 
 C3DInterpolatorFactory (PSplineKernel kernel, const std::string &bc)
 
 C3DInterpolatorFactory (const C3DInterpolatorFactory &o)
 Copy constructor. More...
 
template<class T >
T3DConvoluteInterpolator< T > * create (const T3DDatafield< T > &src) const __attribute__((warn_unused_result))
 
PSplineKernel get_kernel () const
 
C3DInterpolatorFactoryoperator= (const C3DInterpolatorFactory &o)
 Assignment operator. More...
 
virtual ~C3DInterpolatorFactory ()
 

Detailed Description

A factory to create interpolators of a given type by providing input data.

Definition at line 172 of file 3d/interpolator.hh.

Constructor & Destructor Documentation

C3DInterpolatorFactory::C3DInterpolatorFactory ( const std::string &  kernel,
const std::string &  boundary_conditions 
)

Construct the factory the interpolation kernel and according boundary conditions

Parameters
kerneldescription of the interpolation kernel
boundary_conditionsdescription of the boundary conditions
C3DInterpolatorFactory::C3DInterpolatorFactory ( PSplineKernel  kernel,
const CSplineBoundaryCondition boundary_conditions 
)

Construct the factory the interpolation kernel and according boundary conditions

Parameters
kerneldescription of the interpolation kernel
boundary_conditionsboundary condition proto type
C3DInterpolatorFactory::C3DInterpolatorFactory ( PSplineKernel  kernel,
const CSplineBoundaryCondition xbc,
const CSplineBoundaryCondition ybc,
const CSplineBoundaryCondition zbc 
)

Construct the factory the interpolation kernel and according boundary conditions

Parameters
kernel
xbcboundary conditions along the x-axis
ybcboundary conditions along the y-axis
zbcboundary conditions along the z-axis
C3DInterpolatorFactory::C3DInterpolatorFactory ( PSplineKernel  kernel,
const std::string &  bc 
)

Construct the factory from an interpolation kernel and according boundary conditions description

Parameters
kernelinterpolation kernel
bcdescription of the boundary conditions
C3DInterpolatorFactory::C3DInterpolatorFactory ( const C3DInterpolatorFactory o)

Copy constructor.

virtual C3DInterpolatorFactory::~C3DInterpolatorFactory ( )
virtual
Remarks
why do I need a virtual destructor here?

Member Function Documentation

template<class T >
T3DConvoluteInterpolator< T > * C3DInterpolatorFactory::create ( const T3DDatafield< T > &  src) const
Parameters
srcinput data
Returns
an interpolator with the given input data and the predefined interpolation type

Definition at line 245 of file 3d/interpolator.hh.

Referenced by FDeformer3D::operator()().

PSplineKernel C3DInterpolatorFactory::get_kernel ( ) const
Returns
the B-spline kernel used for interpolator creation
C3DInterpolatorFactory& C3DInterpolatorFactory::operator= ( const C3DInterpolatorFactory o)

Assignment operator.


The documentation for this class was generated from the following file: