18 #ifndef __itkAdvancedLinearInterpolateImageFunction_h
19 #define __itkAdvancedLinearInterpolateImageFunction_h
21 #include "itkLinearInterpolateImageFunction.h"
51 template<
class TInputImage,
class TCoordRep =
double >
53 public LinearInterpolateImageFunction< TInputImage, TCoordRep >
59 typedef LinearInterpolateImageFunction< TInputImage, TCoordRep >
Superclass;
70 typedef typename Superclass::OutputType
OutputType;
80 typedef typename Superclass::RealType
RealType;
107 Dispatch< ImageDimension >(), x, value, deriv );
122 struct DispatchBase {};
123 template<
unsigned int >
124 struct Dispatch :
public DispatchBase {};
128 const Dispatch< 2 > &,
135 const Dispatch< 3 > &,
142 const DispatchBase &,
157 itkExceptionMacro( <<
"ERROR: EvaluateValueAndDerivativeAtContinuousIndex() "
158 <<
"is not implemented for this dimension ("
159 << ImageDimension <<
")." );
167 #ifndef ITK_MANUAL_INSTANTIATION
168 #include "itkAdvancedLinearInterpolateImageFunction.hxx"
Superclass::InputPixelType InputPixelType
void operator=(const Self &)
AdvancedLinearInterpolateImageFunction()
CovariantVector< OutputType, itkGetStaticConstMacro(ImageDimension) > CovariantVectorType
Superclass::OutputType OutputType
void EvaluateValueAndDerivativeOptimized(const DispatchBase &, const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv) const
SmartPointer< Self > Pointer
AdvancedLinearInterpolateImageFunction Self
Superclass::RealType RealType
LinearInterpolateImageFunction< TInputImage, TCoordRep > Superclass
Superclass::InputImageType InputImageType
void EvaluateValueAndDerivativeUnOptimized(const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv) const
ContinuousIndexType::ValueType ContinuousIndexValueType
CovariantVectorType EvaluateDerivativeAtContinuousIndex(const ContinuousIndexType &x) const
void EvaluateValueAndDerivativeAtContinuousIndex(const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv) const
void EvaluateValueAndDerivativeOptimized(const Dispatch< 2 > &, const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv) const
itkStaticConstMacro(ImageDimension, unsigned int, Superclass::ImageDimension)
Superclass::IndexType IndexType
Superclass::ContinuousIndexType ContinuousIndexType
~AdvancedLinearInterpolateImageFunction()
SmartPointer< const Self > ConstPointer
InputImageType::SpacingType InputImageSpacingType
Linearly interpolate an image at specified positions.