18 #ifndef __itkSphereSignedDistanceFunction_h
19 #define __itkSphereSignedDistanceFunction_h
43 template<
typename TCoordRep,
unsigned int VSpaceDimension >
61 typedef typename Superclass::OutputType
OutputType;
67 itkStaticConstMacro(SpaceDimension,
unsigned int, Superclass::SpaceDimension);
82 virtual unsigned int GetNumberOfShapeParameters(
void)
const
84 virtual unsigned int GetNumberOfPoseParameters(
void)
const
85 {
return SpaceDimension; }
88 virtual OutputType Evaluate(
const PointType & point)
const;
94 void PrintSelf(std::ostream & os,
Indent indent)
const;
98 void operator=(
const Self &);
108 #define ITK_TEMPLATE_SphereSignedDistanceFunction(_, EXPORT, TypeX, TypeY) \
111 _( 2 ( class EXPORT SphereSignedDistanceFunction< ITK_TEMPLATE_2 TypeX > ) ) \
112 namespace Templates \
114 typedef SphereSignedDistanceFunction< ITK_TEMPLATE_2 TypeX > \
115 SphereSignedDistanceFunction##TypeY; \
119 #if ITK_TEMPLATE_EXPLICIT
120 #include "Templates/itkSphereSignedDistanceFunction+-.h"
124 #include "itkSphereSignedDistanceFunction.hxx"