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 171 of file 3d/interpolator.hh.

Constructor & Destructor Documentation

◆ C3DInterpolatorFactory() [1/5]

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() [2/5]

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() [3/5]

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() [4/5]

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() [5/5]

C3DInterpolatorFactory::C3DInterpolatorFactory ( const C3DInterpolatorFactory o)

Copy constructor.

◆ ~C3DInterpolatorFactory()

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

Member Function Documentation

◆ create()

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 240 of file 3d/interpolator.hh.

Referenced by FDeformer3D::operator()().

◆ get_kernel()

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

◆ operator=()

C3DInterpolatorFactory& C3DInterpolatorFactory::operator= ( const C3DInterpolatorFactory o)

Assignment operator.


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