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] );
Superclass::ContinuousIndexType ContinuousIndexType
VectorInterpolateImageFunction()
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
Superclass::IndexType IndexType
void operator=(const Self &)
SmartPointer< Self > Pointer
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::InputImageType InputImageType
static const unsigned int ImageDimension
Superclass::PointType PointType
const InputImageType * GetInputImage() const
~VectorInterpolateImageFunction()
NumericTraits< ValueType >::RealType RealType
InputImageType::IndexType IndexType
TInputImage InputImageType
virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &index) const =0
InputImageType::PixelType PixelType
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
void PrintSelf(std::ostream &os, Indent indent) const
virtual OutputType EvaluateAtIndex(const IndexType &index) const
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
virtual OutputType Evaluate(const PointType &point) const
SmartPointer< const Self > ConstPointer