18 #ifndef __itkInterpolateImageFunction_h
19 #define __itkInterpolateImageFunction_h
43 template<
class TInputImage,
class TCoordRep =
double >
46 typename NumericTraits< typename TInputImage::PixelType >::RealType, TCoordRep >
62 typedef typename Superclass::OutputType
OutputType;
68 itkStaticConstMacro(ImageDimension,
unsigned int,
69 Superclass::ImageDimension);
96 this->GetInputImage()->TransformPhysicalPointToContinuousIndex(point, index);
97 return ( this->EvaluateAtContinuousIndex(index) );
110 virtual OutputType EvaluateAtContinuousIndex(
111 const ContinuousIndexType & index)
const = 0;
123 return ( static_cast< RealType >( this->GetInputImage()->GetPixel(index) ) );
129 void PrintSelf(std::ostream & os,
Indent indent)
const
130 { Superclass::PrintSelf(os, indent); }
134 void operator=(
const Self &);