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;
99 virtual OutputType
Evaluate(
const PointType & point)
const ITK_OVERRIDE
101 ContinuousIndexType index;
103 this->
GetInputImage()->TransformPhysicalPointToContinuousIndex(point, index);
118 const ContinuousIndexType & index)
const ITK_OVERRIDE = 0;
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;
void PrintSelf(std::ostream &os, Indent indent) const override
Superclass::ContinuousIndexType ContinuousIndexType
virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &index) const override=0
VectorInterpolateImageFunction()
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
Superclass::IndexType IndexType
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Superclass::InputImageType InputImageType
static const unsigned int ImageDimension
Superclass::PointType PointType
const InputImageType * GetInputImage() const
~VectorInterpolateImageFunction()
NumericTraits< ValueType >::RealType RealType
void PrintSelf(std::ostream &os, Indent indent) const override
InputImageType::IndexType IndexType
TInputImage InputImageType
virtual OutputType Evaluate(const PointType &point) const override
InputImageType::PixelType PixelType
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
PixelType::ValueType ValueType
void operator=(const Self &) ITK_DELETE_FUNCTION
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
virtual OutputType EvaluateAtIndex(const IndexType &index) const override
SmartPointer< const Self > ConstPointer