18 #ifndef __itkVectorNearestNeighborInterpolateImageFunction_h
19 #define __itkVectorNearestNeighborInterpolateImageFunction_h
42 template<
class TInputImage,
class TCoordRep =
double >
65 typedef typename Superclass::RealType
RealType;
68 itkStaticConstMacro(Dimension,
unsigned int,
69 Superclass::Dimension);
72 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
96 this->ConvertContinuousIndexToNearestIndex(index, nindex);
97 return static_cast< OutputType >( this->GetInputImage()->GetPixel(nindex) );
103 void PrintSelf(std::ostream & os,
Indent indent)
const
104 { Superclass::PrintSelf(os, indent); }
109 void operator=(
const Self &);