21 #ifndef otbBCOInterpolateImageFunction_h
22 #define otbBCOInterpolateImageFunction_h
24 #include <boost/version.hpp>
25 #if BOOST_VERSION >= 105800
26 #include <boost/container/small_vector.hpp>
28 #include "vnl/vnl_vector.h"
31 #include "itkInterpolateImageFunction.h"
61 template <
class TInputImage,
class TCoordRep =
double>
67 typedef itk::InterpolateImageFunction<TInputImage, TCoordRep>
Superclass;
73 typedef typename Superclass::OutputType
OutputType;
82 typedef typename Superclass::RealType
RealType;
85 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
98 #if BOOST_VERSION >= 105800
109 virtual void SetRadius(
unsigned int radius);
110 virtual unsigned int GetRadius()
const;
114 virtual void SetAlpha(
double alpha);
115 virtual double GetAlpha()
const;
131 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
133 CoefContainerType EvaluateCoef(
const ContinuousIndexValueType& indexValue)
const;
146 void operator=(
const Self&) =
delete;
150 template <
class TInputImage,
class TCoordRep =
double>
162 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
179 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
183 void operator=(
const Self&) =
delete;
187 template <
typename TPixel,
unsigned int VImageDimension,
class TCoordRep>
200 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
217 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
221 void operator=(
const Self&) =
delete;
226 #ifndef OTB_MANUAL_INSTANTIATION