18 #ifndef itkFiniteDifferenceFunction_h
19 #define itkFiniteDifferenceFunction_h
65 template<
typename TImageType >
87 static constexpr
unsigned int ImageDimension = ImageType::ImageDimension;
135 virtual PixelType ComputeUpdate(
const NeighborhoodType & neighborhood,
137 const FloatOffsetType & offset = FloatOffsetType(0.0) ) = 0;
142 void SetRadius(
const RadiusType & r);
146 const RadiusType & GetRadius()
const;
151 void SetScaleCoefficients(PixelRealType vals[ImageDimension]);
154 void GetScaleCoefficients(PixelRealType vals[ImageDimension])
const;
159 const NeighborhoodScalesType ComputeNeighborhoodScales()
const;
167 virtual TimeStepType ComputeGlobalTimeStep(
void *GlobalData)
const = 0;
176 virtual void * GetGlobalDataPointer()
const = 0;
183 virtual void ReleaseGlobalDataPointer(
void *GlobalData)
const = 0;
189 void PrintSelf(std::ostream & os,
Indent indent)
const override;
196 #ifndef ITK_MANUAL_INSTANTIATION
197 #include "itkFiniteDifferenceFunction.hxx"
virtual void InitializeIteration()
Light weight base class for most itk classes.
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
typename ImageType::PixelType PixelType
typename ConstNeighborhoodIterator< TSparseImageType >::RadiusType RadiusType
A templated class holding a n-Dimensional vector.
Control indentation during Print() invocation.
TSparseImageType ImageType