18 #ifndef __itkVectorCentralDifferenceImageFunction_h
19 #define __itkVectorCentralDifferenceImageFunction_h
26 #ifndef __itkVectorInterpolateImageFunction_h
33 template<
typename T >
35 itkStaticConstMacro(
Dimension,
int, T::Dimension);
59 class TCoordRep =
float >
63 ::itk::GetDimension< typename TInputImage::PixelType >::Dimension, \
64 ::itk::GetImageDimension< TInputImage >::ImageDimension >,
71 itkStaticConstMacro(Dimension,
unsigned int,
72 InputPixelType::Dimension);
75 itkStaticConstMacro(ImageDimension,
unsigned int,
76 TInputImage::ImageDimension);
81 Matrix< double, itkGetStaticConstMacro(Dimension),
82 itkGetStaticConstMacro(ImageDimension) >,
130 this->ConvertPointToNearestIndex(point, index);
131 return this->EvaluateAtIndex(index);
139 this->ConvertContinuousIndexToNearestIndex(cindex, index);
140 return this->EvaluateAtIndex(index);
153 itkSetMacro(UseImageDirection,
bool);
154 itkGetConstMacro(UseImageDirection,
bool);
155 itkBooleanMacro(UseImageDirection);
159 void PrintSelf(std::ostream & os,
Indent indent)
const;
165 void operator=(
const Self &);
174 #ifndef ITK_MANUAL_INSTANTIATION
175 #include "itkVectorCentralDifferenceImageFunction.hxx"