18 #ifndef __itkScatterMatrixImageFunction_h
19 #define __itkScatterMatrixImageFunction_h
44 template<
class TInputImage,
class TCoordRep =
float >
48 typename NumericTraits< typename TInputImage::PixelType::ValueType >::RealType >,
85 itkStaticConstMacro(ImageDimension,
unsigned int,
86 InputImageType::ImageDimension);
101 this->ConvertPointToNearestIndex(point, index);
102 return this->EvaluateAtIndex(index);
110 this->ConvertContinuousIndexToNearestIndex(cindex, index);
111 return this->EvaluateAtIndex(index);
116 itkSetMacro(NeighborhoodRadius,
unsigned int);
117 itkGetConstReferenceMacro(NeighborhoodRadius,
unsigned int);
121 void PrintSelf(std::ostream & os,
Indent indent)
const;
126 void operator=(
const Self &);
133 #define ITK_TEMPLATE_ScatterMatrixImageFunction(_, EXPORT, TypeX, TypeY) \
136 _( 2 ( class EXPORT ScatterMatrixImageFunction< ITK_TEMPLATE_2 TypeX > ) ) \
137 namespace Templates \
139 typedef ScatterMatrixImageFunction< ITK_TEMPLATE_2 TypeX > \
140 ScatterMatrixImageFunction##TypeY; \
144 #if ITK_TEMPLATE_EXPLICIT
145 #include "Templates/itkScatterMatrixImageFunction+-.h"
149 #include "itkScatterMatrixImageFunction.hxx"