ITK
4.9.0
Insight Segmentation and Registration 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 44 of file itkSphereSignedDistanceFunction.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::CoordRepType | CoordRepType |
typedef Superclass::InputType | InputType |
typedef Superclass::OutputType | OutputType |
typedef Superclass::ParametersType | ParametersType |
typedef SmartPointer< Self > | Pointer |
typedef Superclass::PointType | PointType |
typedef SphereSignedDistanceFunction | Self |
typedef ShapeSignedDistanceFunction < TCoordRep, VSpaceDimension > | Superclass |
Public Types inherited from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TCoordRep | CoordRepType |
typedef Superclass::InputType | InputType |
typedef Superclass::OutputType | OutputType |
typedef OptimizerParameters < double > | ParametersType |
typedef SmartPointer< Self > | Pointer |
typedef InputType | PointType |
typedef ShapeSignedDistanceFunction | Self |
typedef SpatialFunction < double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > > | Superclass |
Public Types inherited from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputType | InputType |
typedef Superclass::OutputType | OutputType |
typedef SmartPointer< Self > | Pointer |
typedef SpatialFunction | Self |
typedef FunctionBase< Point < TCoordRep, VSpaceDimension > , double > | Superclass |
Public Types inherited from itk::FunctionBase< Point< TCoordRep, VSpaceDimension >, double > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Point< TCoordRep, VSpaceDimension > | InputType |
typedef double | OutputType |
typedef SmartPointer< Self > | Pointer |
typedef FunctionBase | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual OutputType | Evaluate (const PointType &point) const override |
virtual const char * | GetNameOfClass () const |
virtual unsigned int | GetNumberOfPoseParameters (void) const override |
virtual unsigned int | GetNumberOfShapeParameters (void) const override |
virtual void | SetParameters (const ParametersType &) override |
Public Member Functions inherited from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension > | |
virtual unsigned int | GetNumberOfParameters (void) const |
virtual ParametersType & | GetParameters (void) |
virtual void | Initialize () throw ( ExceptionObject ) |
Public Member Functions inherited from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > > | |
virtual OutputType | Evaluate (const InputType &input) const override=0 |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
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 |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) override |
virtual void | UnRegister () const noexceptoverride |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
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 flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | SpaceDimension = Superclass::SpaceDimension |
Static Public Attributes inherited from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension > | |
static const unsigned int | SpaceDimension = VSpaceDimension |
Static Public Attributes inherited from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > > | |
static const unsigned int | ImageDimension |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
SphereSignedDistanceFunction () | |
~SphereSignedDistanceFunction () | |
Protected Member Functions inherited from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension > | |
ShapeSignedDistanceFunction () | |
~ShapeSignedDistanceFunction () | |
Protected Member Functions inherited from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > > | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
SpatialFunction () | |
virtual | ~SpatialFunction () |
Protected Member Functions inherited from itk::FunctionBase< Point< TCoordRep, VSpaceDimension >, double > | |
FunctionBase () | |
~FunctionBase () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Types | |
typedef Vector< CoordRepType, itkGetStaticConstMacro(SpaceDimension) > | VectorType |
Private Member Functions | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
SphereSignedDistanceFunction (const Self &) ITK_DELETE_FUNCTION | |
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 | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::ConstPointer |
Definition at line 52 of file itkSphereSignedDistanceFunction.h.
typedef Superclass::CoordRepType itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::CoordRepType |
CoordRep typedef support.
Definition at line 70 of file itkSphereSignedDistanceFunction.h.
typedef Superclass::InputType itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::InputType |
InputeType typedef support.
Definition at line 64 of file itkSphereSignedDistanceFunction.h.
typedef Superclass::OutputType itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::OutputType |
OutputType typedef support.
Definition at line 58 of file itkSphereSignedDistanceFunction.h.
typedef Superclass::ParametersType itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::ParametersType |
Type of the shape parameters.
Definition at line 76 of file itkSphereSignedDistanceFunction.h.
typedef SmartPointer< Self > itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::Pointer |
Definition at line 51 of file itkSphereSignedDistanceFunction.h.
typedef Superclass::PointType itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::PointType |
Point typedef support.
Definition at line 73 of file itkSphereSignedDistanceFunction.h.
typedef SphereSignedDistanceFunction itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::Self |
Standard class typedefs.
Definition at line 49 of file itkSphereSignedDistanceFunction.h.
typedef ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension > itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::Superclass |
Definition at line 50 of file itkSphereSignedDistanceFunction.h.
|
private |
Definition at line 100 of file itkSphereSignedDistanceFunction.h.
|
protected |
|
inlineprotected |
Definition at line 92 of file itkSphereSignedDistanceFunction.h.
|
private |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
overridevirtual |
Evaluate the signed distance from a shape at a given position.
Implements itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.
|
inlineoverridevirtual |
Implements itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.
Definition at line 84 of file itkSphereSignedDistanceFunction.h.
References itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::SpaceDimension.
|
inlineoverridevirtual |
Implements itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.
Definition at line 82 of file itkSphereSignedDistanceFunction.h.
|
static |
New macro for creation of through the object factory.
|
private |
|
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 103 of file itkSphereSignedDistanceFunction.h.
|
private |
Definition at line 102 of file itkSphereSignedDistanceFunction.h.
|
static |
Dimension underlying input image.
Definition at line 67 of file itkSphereSignedDistanceFunction.h.
Referenced by itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::GetNumberOfPoseParameters().