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 |
C1DInterpolatorFactory & | operator= (const C1DInterpolatorFactory &o) |
assignment operator More... | |
virtual | ~C1DInterpolatorFactory () |
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.
C1DInterpolatorFactory::C1DInterpolatorFactory | ( | PSplineKernel | kernel, |
const CSplineBoundaryCondition & | bc | ||
) |
Initialize the factory according B-Spline kernel and a boundary condition
kernel | |
bc |
C1DInterpolatorFactory::C1DInterpolatorFactory | ( | const C1DInterpolatorFactory & | o) |
Copy constructor.
|
virtual |
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
data | type to be interpolated |
src | input data |
Definition at line 213 of file interpolator1d.hh.
PSplineKernel C1DInterpolatorFactory::get_kernel | ( | ) | const |
C1DInterpolatorFactory& C1DInterpolatorFactory::operator= | ( | const C1DInterpolatorFactory & | o) |
assignment operator