ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkShapeSignedDistanceFunction.h>
Public Types | |
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 > > | |
Public Types inherited from itk::FunctionBase< Point< TCoordRep, VSpaceDimension >, double > | |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Public Member Functions | |
virtual OutputType | Evaluate (const PointType &point) const =0 |
virtual const char * | GetNameOfClass () const |
virtual unsigned int | GetNumberOfParameters (void) const |
virtual unsigned int | GetNumberOfPoseParameters (void) const =0 |
virtual unsigned int | GetNumberOfShapeParameters (void) const =0 |
virtual ParametersType & | GetParameters (void) |
virtual void | Initialize () throw ( ExceptionObject ) |
virtual void | SetParameters (const ParametersType &)=0 |
Public Member Functions inherited from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > > | |
virtual OutputType | Evaluate (const InputType &input) const =0 |
Static Public Attributes | |
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 |
ShapeSignedDistanceFunction () | |
~ShapeSignedDistanceFunction () | |
Protected Member Functions inherited from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > > | |
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 () |
Protected Attributes | |
ParametersType | m_Parameters |
Private Member Functions | |
void | operator= (const Self &) |
ShapeSignedDistanceFunction (const Self &) |
Base class for functions which evaluates the signed distance from a shape.
ShapeSignedDistanceFunction is the base class for functions which returns the signed distance from a shape at an arbitrary point. A shape assumed to be defined by a set of shape and pose parameters.
Note that Initialize() must be called before use. This allows the class an opportunity to validate any inputs.
This class is templated over the coordinate representation type (e.g. float or double) and the space dimension.
ShapeSignedDistanceFunction is used to encapsulate the shape prior in ShapePriorSegmentationLevelSetFunctions.
Definition at line 52 of file itkShapeSignedDistanceFunction.h.
typedef SmartPointer< const Self > itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >::ConstPointer |
Reimplemented from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > >.
Reimplemented in itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >, and itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >.
Definition at line 62 of file itkShapeSignedDistanceFunction.h.
typedef TCoordRep itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >::CoordRepType |
CoordRep typedef support.
Reimplemented in itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >, and itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >.
Definition at line 77 of file itkShapeSignedDistanceFunction.h.
typedef Superclass::InputType itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >::InputType |
InputType typedef support.
Reimplemented from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > >.
Reimplemented in itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >, and itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >.
Definition at line 71 of file itkShapeSignedDistanceFunction.h.
typedef Superclass::OutputType itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >::OutputType |
OutputType typedef support.
Reimplemented from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > >.
Reimplemented in itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >, and itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >.
Definition at line 65 of file itkShapeSignedDistanceFunction.h.
typedef OptimizerParameters< double > itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >::ParametersType |
Type of the shape parameters.
Reimplemented in itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >, and itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >.
Definition at line 83 of file itkShapeSignedDistanceFunction.h.
typedef SmartPointer< Self > itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >::Pointer |
Reimplemented from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > >.
Reimplemented in itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >, and itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >.
Definition at line 61 of file itkShapeSignedDistanceFunction.h.
typedef InputType itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >::PointType |
Point typedef support.
Reimplemented in itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >, and itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >.
Definition at line 80 of file itkShapeSignedDistanceFunction.h.
typedef ShapeSignedDistanceFunction itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >::Self |
Standard class typedefs.
Reimplemented from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > >.
Reimplemented in itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >, and itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >.
Definition at line 57 of file itkShapeSignedDistanceFunction.h.
typedef SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > > itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >::Superclass |
Reimplemented from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > >.
Reimplemented in itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >, and itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >.
Definition at line 59 of file itkShapeSignedDistanceFunction.h.
|
inlineprotected |
Definition at line 106 of file itkShapeSignedDistanceFunction.h.
|
inlineprotected |
Definition at line 108 of file itkShapeSignedDistanceFunction.h.
|
private |
|
pure virtual |
Evaluate the signed distance from a shape at a given position.
Implemented in itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > >.
Reimplemented in itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >, and itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >.
|
inlinevirtual |
Definition at line 94 of file itkShapeSignedDistanceFunction.h.
|
pure virtual |
|
pure virtual |
|
inlinevirtual |
Definition at line 88 of file itkShapeSignedDistanceFunction.h.
|
inlinevirtual |
Initialize must be called before the first call of SetParameters() or Evaluate() to allow the class to validate any inputs.
Reimplemented in itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >.
Definition at line 102 of file itkShapeSignedDistanceFunction.h.
|
private |
Mutex lock to protect modification to the reference count
Reimplemented from itk::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > >.
Reimplemented in itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >, and itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >.
|
inlineprotectedvirtual |
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::SpatialFunction< double, VSpaceDimension, Point< TCoordRep, VSpaceDimension > >.
Reimplemented in itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >, and itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >.
Definition at line 110 of file itkShapeSignedDistanceFunction.h.
|
pure virtual |
A shape is defined by a set of shape parameters.
Implemented in itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >.
|
protected |
Definition at line 116 of file itkShapeSignedDistanceFunction.h.
|
static |
Dimension underlying input image.
Reimplemented in itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >, and itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >.
Definition at line 74 of file itkShapeSignedDistanceFunction.h.