Public Member Functions
C1DInterpolatorFactory Class Reference

Factory class for 1D interpolators. More...

#include <mia/core/interpolator1d.hh>

Public Member Functions

 C1DInterpolatorFactory (PSplineKernel kernel, const CSplineBoundaryCondition &bc)
 
 C1DInterpolatorFactory (const C1DInterpolatorFactory &o)
 Copy constructor. More...
 
template<class T >
T1DInterpolator< T > * create (const std::vector< T > &src) const __attribute__((warn_unused_result))
 
PSplineKernel get_kernel () const
 
C1DInterpolatorFactoryoperator= (const C1DInterpolatorFactory &o)
 assignment operator More...
 
virtual ~C1DInterpolatorFactory ()
 

Detailed Description

Factory class for 1D interpolators.

Factory to create 1D interpolators of a give data type using the given input data.

Definition at line 160 of file interpolator1d.hh.

Constructor & Destructor Documentation

C1DInterpolatorFactory::C1DInterpolatorFactory ( PSplineKernel  kernel,
const CSplineBoundaryCondition bc 
)

Initialize the factory according B-Spline kernel and a boundary condition

Parameters
kernel
bc
C1DInterpolatorFactory::C1DInterpolatorFactory ( const C1DInterpolatorFactory o)

Copy constructor.

virtual C1DInterpolatorFactory::~C1DInterpolatorFactory ( )
virtual

Member Function Documentation

template<class T >
T1DInterpolator< T > * C1DInterpolatorFactory::create ( const std::vector< T > &  src) const

Create a 1D interpolator from a set of sampes that returns the same values as the original at grid points

Template Parameters
datatype to be interpolated
Parameters
srcinput data
Returns
the interpolator

Definition at line 213 of file interpolator1d.hh.

PSplineKernel C1DInterpolatorFactory::get_kernel ( ) const
Returns
the B-spline kernel
C1DInterpolatorFactory& C1DInterpolatorFactory::operator= ( const C1DInterpolatorFactory o)

assignment operator


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