18 #ifndef __itkFiniteDifferenceFunction_h
19 #define __itkFiniteDifferenceFunction_h
65 template<
class TImageType >
85 itkStaticConstMacro(ImageDimension,
unsigned int, ImageType::ImageDimension);
134 #if !defined( CABLE_CONFIGURATION )
135 virtual PixelType ComputeUpdate(
const NeighborhoodType & neighborhood,
137 const FloatOffsetType & offset = FloatOffsetType(0.0) ) = 0;
143 void SetRadius(
const RadiusType & r);
147 const RadiusType & GetRadius()
const;
152 void SetScaleCoefficients(PixelRealType vals[ImageDimension]);
157 const NeighborhoodScalesType ComputeNeighborhoodScales()
const;
165 virtual TimeStepType ComputeGlobalTimeStep(
void *GlobalData)
const = 0;
174 virtual void * GetGlobalDataPointer()
const = 0;
181 virtual void ReleaseGlobalDataPointer(
void *GlobalData)
const = 0;
187 void PrintSelf(std::ostream & os,
Indent indent)
const;
193 void operator=(
const Self &);
198 #define ITK_TEMPLATE_FiniteDifferenceFunction(_, EXPORT, TypeX, TypeY) \
201 _( 1 ( class EXPORT FiniteDifferenceFunction< ITK_TEMPLATE_1 TypeX > ) ) \
202 namespace Templates \
204 typedef FiniteDifferenceFunction< ITK_TEMPLATE_1 TypeX > FiniteDifferenceFunction##TypeY; \
208 #if ITK_TEMPLATE_EXPLICIT
209 #include "Templates/itkFiniteDifferenceFunction+-.h"
213 #include "itkFiniteDifferenceFunction.hxx"