18#ifndef itkShapeSignedDistanceFunction_h
19#define itkShapeSignedDistanceFunction_h
52template <
typename TCoordRep,
unsigned int VSpaceDimension>
54 :
public SpatialFunction<double, VSpaceDimension, Point<TCoordRep, VSpaceDimension>>
70 using typename Superclass::OutputType;
73 using typename Superclass::InputType;
76 static constexpr unsigned int SpaceDimension = VSpaceDimension;
105 return this->GetNumberOfShapeParameters() + this->GetNumberOfPoseParameters();
126 Superclass::PrintSelf(os, indent);
Control indentation during Print() invocation.
Light weight base class for most itk classes.
A templated class holding a geometric point in n-Dimensional space.
Base class for functions which evaluates the signed distance from a shape.
virtual void SetParameters(const ParametersType &)=0
virtual unsigned int GetNumberOfPoseParameters() const =0
virtual void Initialize()
void PrintSelf(std::ostream &os, Indent indent) const override
virtual unsigned int GetNumberOfShapeParameters() const =0
~ShapeSignedDistanceFunction() override=default
OutputType Evaluate(const PointType &point) const override=0
virtual unsigned int GetNumberOfParameters() const
virtual ParametersType & GetParameters()
ShapeSignedDistanceFunction()=default
N-dimensional spatial function class.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
*par Constraints *The filter image with at least two dimensions and a vector *length of at least The theory supports extension to scalar but *the implementation of the itk vector classes do not **The template parameter TRealType must be floating point(float or double) or *a user-defined "real" numerical type with arithmetic operations defined *sufficient to compute derivatives. **\par Performance *This filter will automatically multithread if run with *SetUsePrincipleComponents