18 #ifndef itkVectorInterpolateImageFunction_h
19 #define itkVectorInterpolateImageFunction_h
45 template<
typename TInputImage,
typename TCoordRep =
double >
49 typename NumericTraits< typename TInputImage::PixelType >::RealType,
54 itkStaticConstMacro(
Dimension,
unsigned int,
55 TInputImage::PixelType::Dimension);
59 TInputImage::ImageDimension);
75 typedef typename InputImageType::PixelType
PixelType;
103 this->
GetInputImage()->TransformPhysicalPointToContinuousIndex(point, index);
133 for (
unsigned int k = 0;
134 k < this->
GetInputImage()->GetNumberOfComponentsPerPixel(); k++ )
136 output[k] =
static_cast< double >( input[k] );
149 void operator=(const
Self &) ITK_DELETE_FUNCTION;
Superclass::ContinuousIndexType ContinuousIndexType
VectorInterpolateImageFunction()
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
virtual OutputType Evaluate(const PointType &point) const override
Superclass::IndexType IndexType
SmartPointer< Self > Pointer
void PrintSelf(std::ostream &os, Indent indent) const override
Superclass::InputImageType InputImageType
static const unsigned int ImageDimension
Superclass::PointType PointType
const InputImageType * GetInputImage() const
~VectorInterpolateImageFunction()
virtual OutputType EvaluateAtIndex(const IndexType &index) const override
NumericTraits< ValueType >::RealType RealType
void PrintSelf(std::ostream &os, Indent indent) const override
InputImageType::IndexType IndexType
TInputImage InputImageType
InputImageType::PixelType PixelType
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &index) const override=0
PixelType::ValueType ValueType
Control indentation during Print() invocation.
Base class for all vector image interpolaters.
ImageFunction< TInputImage, typename NumericTraits< typename TInputImage::PixelType >::RealType, TCoordRep > Superclass
static const unsigned int Dimension
Superclass::OutputType OutputType
Evaluates a function of an image at specified position.
VectorInterpolateImageFunction Self
SmartPointer< const Self > ConstPointer