18 #ifndef itkInterpolateImageFunction_h 19 #define itkInterpolateImageFunction_h 43 template<
typename TInputImage,
typename TCoordRep =
double >
46 typename NumericTraits< typename TInputImage::PixelType >::RealType, TCoordRep >
82 typedef typename NumericTraits< typename TInputImage::PixelType >::RealType
RealType;
92 virtual OutputType
Evaluate(
const PointType & point)
const ITK_OVERRIDE
94 ContinuousIndexType index;
96 this->
GetInputImage()->TransformPhysicalPointToContinuousIndex(point, index);
111 const ContinuousIndexType & index)
const ITK_OVERRIDE = 0;
123 return ( static_cast< RealType >( this->
GetInputImage()->GetPixel(index) ) );
134 void operator=(
const Self &) ITK_DELETE_FUNCTION;
void PrintSelf(std::ostream &os, Indent indent) const override
~InterpolateImageFunction()
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
virtual OutputType Evaluate(const PointType &point) const override
virtual OutputType EvaluateAtIndex(const IndexType &index) const override
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Superclass::IndexType IndexType
InterpolateImageFunction Self
Superclass::OutputType OutputType
static const unsigned int ImageDimension
const InputImageType * GetInputImage() const
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
static const unsigned int ImageDimension
Superclass::PointType PointType
void operator=(const Self &) ITK_DELETE_FUNCTION
InputImageType::IndexType IndexType
Superclass::InputImageType InputImageType
void PrintSelf(std::ostream &os, Indent indent) const override
TInputImage InputImageType
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
Superclass::ContinuousIndexType ContinuousIndexType
Base class for all image interpolaters.
InterpolateImageFunction()
Control indentation during Print() invocation.
Superclass::IndexValueType IndexValueType
virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &index) const override=0
Evaluates a function of an image at specified position.
InputImageType::IndexValueType IndexValueType
NumericTraits< typename TInputImage::PixelType >::RealType RealType
ImageFunction< TInputImage, typename NumericTraits< typename TInputImage::PixelType >::RealType, TCoordRep > Superclass