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 ITK_OVERRIDE
85 {
return SpaceDimension; }
88 virtual OutputType Evaluate(
const PointType & point)
const ITK_OVERRIDE;
94 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
106 #ifndef ITK_MANUAL_INSTANTIATION
107 #include "itkSphereSignedDistanceFunction.hxx"
Light weight base class for most itk classes.
Superclass::ParametersType ParametersType
ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension > Superclass
virtual unsigned int GetNumberOfPoseParameters(void) const override
SmartPointer< Self > Pointer
Superclass::InputType InputType
SphereSignedDistanceFunction Self
Compute the signed distance from a N-dimensional sphere.
Vector< CoordRepType, itkGetStaticConstMacro(SpaceDimension) > VectorType
Superclass::OutputType OutputType
Superclass::CoordRepType CoordRepType
Base class for functions which evaluates the signed distance from a shape.
ImageBaseType::PointType PointType
Superclass::PointType PointType
Control indentation during Print() invocation.
SmartPointer< const Self > ConstPointer
~SphereSignedDistanceFunction() override