ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Types | Private Member Functions | Private Attributes
itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension > Class Template Reference

#include <itkSphereSignedDistanceFunction.h>

+ Inheritance diagram for itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >:
+ Collaboration diagram for itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef Superclass::CoordRepType CoordRepType
typedef Superclass::InputType InputType
typedef Superclass::OutputType OutputType
typedef Superclass::ParametersType ParametersType
typedef SmartPointer< SelfPointer
typedef Superclass::PointType PointType
typedef
SphereSignedDistanceFunction 
Self
typedef
ShapeSignedDistanceFunction
< TCoordRep, VSpaceDimension > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual OutputType Evaluate (const PointType &point) const
virtual const char * GetNameOfClass () const
virtual unsigned int GetNumberOfPoseParameters (void) const
virtual unsigned int GetNumberOfShapeParameters (void) const
virtual void SetParameters (const ParametersType &)

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int SpaceDimension = Superclass::SpaceDimension

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const
 SphereSignedDistanceFunction ()
 ~SphereSignedDistanceFunction ()

Private Types

typedef Vector< CoordRepType,
itkGetStaticConstMacro(SpaceDimension) > 
VectorType

Private Member Functions

void operator= (const Self &)
 SphereSignedDistanceFunction (const Self &)

Private Attributes

double m_Radius
VectorType m_Translation

Detailed Description

template<typename TCoordRep, unsigned int VSpaceDimension>
class itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >

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.

See also:
ShapeSignedDistanceFunction

Definition at line 44 of file itkSphereSignedDistanceFunction.h.


Member Typedef Documentation

template<typename TCoordRep , unsigned int VSpaceDimension>
typedef SmartPointer< const Self > itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::ConstPointer
template<typename TCoordRep , unsigned int VSpaceDimension>
typedef Superclass::CoordRepType itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::CoordRepType

CoordRep typedef support.

Reimplemented from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.

Definition at line 70 of file itkSphereSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension>
typedef Superclass::InputType itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::InputType

InputeType typedef support.

Reimplemented from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.

Definition at line 64 of file itkSphereSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension>
typedef Superclass::OutputType itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::OutputType

OutputType typedef support.

Reimplemented from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.

Definition at line 58 of file itkSphereSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension>
typedef Superclass::ParametersType itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::ParametersType

Type of the shape parameters.

Reimplemented from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.

Definition at line 76 of file itkSphereSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension>
typedef SmartPointer< Self > itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::Pointer
template<typename TCoordRep , unsigned int VSpaceDimension>
typedef Superclass::PointType itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::PointType

Point typedef support.

Reimplemented from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.

Definition at line 73 of file itkSphereSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension>
typedef SphereSignedDistanceFunction itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::Self

Standard class typedefs.

Reimplemented from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.

Definition at line 49 of file itkSphereSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension>
typedef ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension > itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::Superclass
template<typename TCoordRep , unsigned int VSpaceDimension>
typedef Vector< CoordRepType, itkGetStaticConstMacro(SpaceDimension) > itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::VectorType [private]

Definition at line 100 of file itkSphereSignedDistanceFunction.h.


Constructor & Destructor Documentation

template<typename TCoordRep , unsigned int VSpaceDimension>
itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::SphereSignedDistanceFunction ( ) [protected]
template<typename TCoordRep , unsigned int VSpaceDimension>
itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::~SphereSignedDistanceFunction ( ) [inline, protected]

Definition at line 92 of file itkSphereSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension>
itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::SphereSignedDistanceFunction ( const Self ) [private]

Member Function Documentation

template<typename TCoordRep , unsigned int VSpaceDimension>
virtual::itk::LightObject::Pointer itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::CreateAnother ( void  ) const [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.

template<typename TCoordRep , unsigned int VSpaceDimension>
virtual OutputType itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::Evaluate ( const PointType point) const [virtual]

Evaluate the signed distance from a shape at a given position.

Implements itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.

template<typename TCoordRep , unsigned int VSpaceDimension>
virtual const char* itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.

template<typename TCoordRep , unsigned int VSpaceDimension>
virtual unsigned int itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::GetNumberOfPoseParameters ( void  ) const [inline, virtual]
template<typename TCoordRep , unsigned int VSpaceDimension>
virtual unsigned int itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::GetNumberOfShapeParameters ( void  ) const [inline, virtual]
template<typename TCoordRep , unsigned int VSpaceDimension>
static Pointer itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::New ( ) [static]

New macro for creation of through the object factory.

Reimplemented from itk::Object.

template<typename TCoordRep , unsigned int VSpaceDimension>
void itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::operator= ( const Self ) [private]

Mutex lock to protect modification to the reference count

Reimplemented from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.

template<typename TCoordRep , unsigned int VSpaceDimension>
void itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

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 >.

template<typename TCoordRep , unsigned int VSpaceDimension>
virtual void itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::SetParameters ( const ParametersType ) [virtual]

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 >.


Member Data Documentation

template<typename TCoordRep , unsigned int VSpaceDimension>
double itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::m_Radius [private]

Definition at line 103 of file itkSphereSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension>
VectorType itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::m_Translation [private]

Definition at line 102 of file itkSphereSignedDistanceFunction.h.

template<typename TCoordRep , unsigned int VSpaceDimension>
const unsigned int itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >::SpaceDimension = Superclass::SpaceDimension [static]

Dimension underlying input image.

Reimplemented from itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >.

Definition at line 67 of file itkSphereSignedDistanceFunction.h.


The documentation for this class was generated from the following file: