18 #ifndef itkVectorNearestNeighborInterpolateImageFunction_h 19 #define itkVectorNearestNeighborInterpolateImageFunction_h 42 template<
typename TInputImage,
typename TCoordRep =
double >
68 itkStaticConstMacro(
Dimension,
unsigned int,
92 const ContinuousIndexType & index)
const ITK_OVERRIDE
97 return static_cast< OutputType
>( this->
GetInputImage()->GetPixel(nindex) );
108 void operator=(
const Self &) ITK_DELETE_FUNCTION;
void PrintSelf(std::ostream &os, Indent indent) const override
Superclass::ContinuousIndexType ContinuousIndexType
Superclass::RealType RealType
Superclass::ContinuousIndexType ContinuousIndexType
Superclass::IndexType IndexType
~VectorNearestNeighborInterpolateImageFunction()
Nearest neighbor interpolate a vector image at specified positions.
Superclass::ValueType ValueType
VectorInterpolateImageFunction< TInputImage, TCoordRep > Superclass
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Superclass::InputImageType InputImageType
Superclass::PixelType PixelType
static const unsigned int ImageDimension
VectorNearestNeighborInterpolateImageFunction()
Superclass::IndexType IndexType
const InputImageType * GetInputImage() const
virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &index) const override
NumericTraits< ValueType >::RealType RealType
SmartPointer< const Self > ConstPointer
void PrintSelf(std::ostream &os, Indent indent) const override
VectorNearestNeighborInterpolateImageFunction Self
void operator=(const Self &) ITK_DELETE_FUNCTION
static const unsigned int Dimension
SmartPointer< Self > Pointer
InputImageType::PixelType PixelType
Superclass::InputImageType InputImageType
Superclass::OutputType OutputType
PixelType::ValueType ValueType
Control indentation during Print() invocation.
Base class for all vector image interpolaters.
static const unsigned int ImageDimension
void ConvertContinuousIndexToNearestIndex(const ContinuousIndexType &cindex, IndexType &index) const
static const unsigned int Dimension
Superclass::OutputType OutputType