ITK
6.0.0
Insight Toolkit
|
#include <itkSphereSignedDistanceFunction.h>
Compute the signed distance from a N-dimensional sphere.
A instance of sphere is defined by a set parameters. The first parameter is the radius and the next SpaceDimension parameters represent the center. The first parameter forms the set of ShapeParameters and the remaining parameters the set of PoseParameters.
This class is templated over the coordinate representation type (e.g. float or double) and the space dimension.
Definition at line 45 of file itkSphereSignedDistanceFunction.h.
Public Member Functions | |
OutputType | Evaluate (const PointType &point) const override |
const char * | GetNameOfClass () const override |
unsigned int | GetNumberOfPoseParameters () const override |
unsigned int | GetNumberOfShapeParameters () const override |
void | SetParameters (const ParametersType &) override |
Public Member Functions inherited from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension > | |
OutputType | Evaluate (const PointType &point) const override=0 |
const char * | GetNameOfClass () const override |
virtual unsigned int | GetNumberOfParameters () const |
virtual unsigned int | GetNumberOfPoseParameters () const =0 |
virtual unsigned int | GetNumberOfShapeParameters () const =0 |
virtual ParametersType & | GetParameters () |
virtual void | Initialize () |
virtual void | SetParameters (const ParametersType &)=0 |
Public Member Functions inherited from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > > | |
OutputType | Evaluate (const InputType &input) const override=0 |
const char * | GetNameOfClass () const override |
virtual OutputType | Evaluate (const InputType &input) const=0 |
const char * | GetNameOfClass () const override |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
const char * | GetNameOfClass () const override |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
Pointer | Clone () const |
virtual Pointer | CreateAnother () const |
virtual void | Delete () |
virtual const char * | GetNameOfClass () const |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
virtual void | Register () const |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const noexcept |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | SpaceDimension = Superclass::SpaceDimension |
Static Public Attributes inherited from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension > | |
static constexpr unsigned int | SpaceDimension = VSpaceDimension |
Static Public Attributes inherited from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > > | |
static constexpr unsigned int | ImageDimension |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
SphereSignedDistanceFunction () | |
~SphereSignedDistanceFunction () override=default | |
Protected Member Functions inherited from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension > | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
ShapeSignedDistanceFunction ()=default | |
~ShapeSignedDistanceFunction () override=default | |
Protected Member Functions inherited from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > > | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
SpatialFunction ()=default | |
~SpatialFunction () override=default | |
Protected Member Functions inherited from itk::FunctionBase< Point< TCoordRep, VSpaceDimension >, double > | |
FunctionBase ()=default | |
~FunctionBase () override=default | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Types | |
using | VectorType = Vector< CoordRepType, Self::SpaceDimension > |
Private Attributes | |
double | m_Radius {} |
VectorType | m_Translation {} |
Additional Inherited Members | |
Protected Attributes inherited from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension > | |
ParametersType | m_Parameters {} |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::ConstPointer = SmartPointer<const Self> |
Definition at line 54 of file itkSphereSignedDistanceFunction.h.
using itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::Pointer = SmartPointer<Self> |
Definition at line 53 of file itkSphereSignedDistanceFunction.h.
using itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::Self = SphereSignedDistanceFunction |
Standard class type aliases.
Definition at line 51 of file itkSphereSignedDistanceFunction.h.
using itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::Superclass = ShapeSignedDistanceFunction<TCoordRep, VSpaceDimension> |
Definition at line 52 of file itkSphereSignedDistanceFunction.h.
|
private |
Definition at line 108 of file itkSphereSignedDistanceFunction.h.
|
protected |
|
overrideprotecteddefault |
|
overridevirtual |
Evaluate the signed distance from a shape at a given position.
Implements itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.
|
overridevirtual |
Reimplemented from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.
|
inlineoverridevirtual |
Implements itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.
Definition at line 91 of file itkSphereSignedDistanceFunction.h.
|
inlineoverridevirtual |
Implements itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.
Definition at line 86 of file itkSphereSignedDistanceFunction.h.
|
static |
New macro for creation of through the object factory.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.
|
overridevirtual |
A sphere is defined by a set of shape parameters. The first parameter is the radius and the next SpaceDimension parameters represent the center.
Implements itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.
|
private |
Definition at line 111 of file itkSphereSignedDistanceFunction.h.
|
private |
Definition at line 110 of file itkSphereSignedDistanceFunction.h.
|
staticconstexpr |
Dimension underlying input image.
Definition at line 69 of file itkSphereSignedDistanceFunction.h.