Go to the documentation of this file.
41 #ifndef mia_1d_interpolator_hh
42 #define mia_1d_interpolator_hh
87 virtual T operator () (
const double& x)
const = 0;
94 virtual typename coeff_map<T>::coeff_type
derivative_at (
const double& x)
const = 0;
135 virtual typename coeff_map<T>::coeff_type
derivative_at (
const double& x)
const;
139 typedef std::vector< typename coeff_map< T >::coeff_type >
TCoeff1D;
192 __attribute__ ((warn_unused_result));
226 template <
typename T>
227 struct __dispatch_min_max {
228 static void apply(
const T i, T& min, T& max);
235 template <
typename I,
typename O>
236 struct __dispatch_copy {
C1DInterpolatorFactory(const std::string &kernel_descr, const std::string &boundary_descr)
~T1DConvoluteInterpolator()
C1DInterpolatorFactory(PSplineKernel kernel, const CSplineBoundaryCondition &bc)
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
std::vector< typename coeff_map< T >::coeff_type > TCoeff1D
Type of the coefficients after filtering.
PSplineKernel get_kernel() const
std::vector< int > VIndex
type for the index vector
Factory class for 1D interpolators.
Abstract base class for B-spline interpolation boundary conditions.
#define NS_MIA_END
conveniance define to end the mia namespace
TCoeff1D coeff_vector
vector to hold coefficients
std::vector< double > VWeight
type for the weight vector
T1DConvoluteInterpolator(const std::vector< T > &data, PSplineKernel kernel, const CSplineBoundaryCondition &boundary_conditions)
std::shared_ptr< CSplineKernel > PSplineKernel
Interpolator that uses some kind of spaciel kernel.
C1DInterpolatorFactory(const C1DInterpolatorFactory &o)
Copy constructor.
virtual ~C1DInterpolator()
Interpolator base class providing the full interface.
#define EXPORT_CORE
Macro to manage Visual C++ style dllimport/dllexport.
Basic Interpolator type for 1D Data.
T1DInterpolator< T > * create(const std::vector< T > &src) const __attribute__((warn_unused_result))
virtual T operator()(const double &x) const =0
std::shared_ptr< const C1DInterpolatorFactory > P1DInterpolatorFactory
virtual coeff_map< T >::coeff_type derivative_at(const double &x) const
virtual ~C1DInterpolatorFactory()
CSplineBoundaryCondition::Pointer PSplineBoundaryCondition
virtual coeff_map< T >::coeff_type derivative_at(const double &x) const =0