17 #ifndef __itkInterpolateImageFunction_h
18 #define __itkInterpolateImageFunction_h
41 template <
class TInputImage,
class TCoordRep =
double>
44 ITK_TYPENAME NumericTraits<typename TInputImage::PixelType>::RealType, TCoordRep >
50 typename NumericTraits<typename TInputImage::PixelType>::RealType,
59 typedef typename Superclass::OutputType
OutputType;
65 itkStaticConstMacro(ImageDimension,
unsigned int,
66 Superclass::ImageDimension);
79 typedef typename NumericTraits<typename TInputImage::PixelType>::RealType
RealType;
92 this->GetInputImage()->TransformPhysicalPointToContinuousIndex( point, index );
93 return ( this->EvaluateAtContinuousIndex( index ) );
106 virtual OutputType EvaluateAtContinuousIndex(
107 const ContinuousIndexType & index )
const = 0;
119 return ( static_cast<RealType>( this->GetInputImage()->GetPixel( index ) ) );
125 void PrintSelf(std::ostream& os,
Indent indent)
const
126 { Superclass::PrintSelf( os, indent ); }
130 void operator=(
const Self& );