Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::SpatialObject< NDimensions, TTransform, PipelineDimension > Class Template Reference

Implementation of the composite pattern. More...

#include <itkSpatialObject.h>

Inheritance diagram for itk::SpatialObject:

Inheritance graph
[legend]
Collaboration diagram for itk::SpatialObject< NDimensions, TTransform, PipelineDimension >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef double ScalarType
typedef SpatialObject< NDimensions,
TTransform, PipelineDimension > 
Self
typedef NDimensionalSpatialObject<
PipelineDimension > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Point< ScalarType,
NDimensions > 
PointType
typedef PointTypePointPointer
typedef Vector< ScalarType,
NDimensions > 
VectorType
typedef VectorTypeVectorPointer
typedef CovariantVector< double,
NDimensions > 
OutputVectorType
typedef OutputVectorTypeOutputVectorPointer
typedef TTransform TransformType
typedef TransformType::Pointer TransformPointer
typedef const TransformTypeTransformConstPointer
typedef std::list< TransformType * > TransformListType
typedef VectorContainer< unsigned
long int, PointType
VectorContainerType
typedef BoundingBox< unsigned
long int, NDimensions, ScalarType,
VectorContainerType
BoundingBoxType
typedef BoundingBoxType::Pointer BoundingBoxPointer
typedef std::list< Self * > ChildrenListType

Public Methods

 itkStaticConstMacro (ObjectDimension, unsigned int, NDimensions)
virtual const char * GetClassName () const
void SetBounds (BoundingBoxPointer bounds)
BoundingBoxTypeGetBounds (void) const
void SetLocalToGlobalTransform (TransformType *transform)
const TransformTypeGetLocalToGlobalTransform (void)
void SetGlobalToLocalTransform (TransformType *transform)
const TransformTypeGetGlobalToLocalTransform (void)
virtual void ValueAt (const PointType &point, double &value)
virtual bool IsEvaluableAt (const PointType &point)
virtual bool IsInside (const PointType &point)
void SetParent (const Superclass *parent)
virtual void DerivativeAt (const PointType &point, short unsigned int order, OutputVectorType &value)
void TransformPointToLocalCoordinate (PointType &p) const
void TransformPointToGlobalCoordinate (PointType &p) const
void BuildLocalToGlobalTransformList (TransformListType &list, bool init) const
void BuildGlobalToLocalTransformList (TransformListType &list, bool init) const
TransformListTypeGetLocalToGlobalTransformList (void)
TransformListTypeGetGlobalToLocalTransformList (void)
virtual void ComputeBounds (void)
void SetSpacing (const double spacing[ObjectDimension])
const double * GetSpacing () const
unsigned long GetMTime (void) const
virtual void RebuildLocalToGlobalTransformList (void)
virtual void RebuildGlobalToLocalTransformList (void)
virtual void RebuildAllTransformLists (void)
void AddSpatialObject (Self *pointer)
void RemoveSpatialObject (Self *object)
ChildrenListTypeGetChildren (void)
unsigned int GetNumberOfChildren (void)
void SetChildren (ChildrenListType &children)

Static Public Methods

Pointer New ()

Protected Methods

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

Protected Attributes

BoundingBoxPointer m_Bounds
TimeStamp m_BoundsMTime
double m_Spacing [ObjectDimension]
TransformListType m_LocalToGlobalTransformList
TransformListType m_GlobalToLocalTransformList
TransformPointer m_LocalToGlobalTransform
TransformPointer m_GlobalToLocalTransform
ChildrenListType m_Children

Detailed Description

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
class itk::SpatialObject< NDimensions, TTransform, PipelineDimension >

Implementation of the composite pattern.

The purpose of this class is to implement the composite pattern within itk, so that it becomes easy to create a whole environment, and to manipulate this one, or any of the objects inside it. An object has a list of transformations to transform local coordinates to the corresponding coordinates in the real world coordinates system, and a list of inverse transformation to go backward. Any spatial objects can be plugged to a spatial object. To implement your own spatial object, you need to derive from the following class, which imply the definition of just a few pure virtual function, like for instance ValueAt(), IsEvaluableAt(), and IsInside() which are specific to each particular object.

Definition at line 57 of file itkSpatialObject.h.


Member Typedef Documentation

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef BoundingBoxType::Pointer itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::BoundingBoxPointer
 

Definition at line 89 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef BoundingBox< unsigned long int, NDimensions, ScalarType, VectorContainerType > itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::BoundingBoxType
 

Reimplemented in itk::ImageSpatialObject< NDimensions, TransformType, PixelType, PipelineDimension >.

Definition at line 88 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef std::list< Self * > itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::ChildrenListType
 

Reimplemented in itk::TubeNetworkSpatialObject< TDimension, PipelineDimension >.

Definition at line 91 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef SmartPointer< const Self > itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::ConstPointer
 

Reimplemented from itk::NDimensionalSpatialObject< PipelineDimension >.

Reimplemented in itk::BlobSpatialObject< TDimension, PipelineDimension >, itk::EllipseSpatialObject< NDimensions, PipelineDimension >, itk::ImageSpatialObject< NDimensions, TransformType, PixelType, PipelineDimension >, itk::LineSpatialObject< TDimension, PipelineDimension >, itk::SurfaceSpatialObject< TDimension, PipelineDimension >, itk::TubeNetworkSpatialObject< TDimension, PipelineDimension >, and itk::TubeSpatialObject< TDimension, PipelineDimension >.

Definition at line 69 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef OutputVectorType* itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::OutputVectorPointer
 

Definition at line 78 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef CovariantVector< double, NDimensions > itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::OutputVectorType
 

Definition at line 77 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef SmartPointer< Self > itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::Pointer
 

Reimplemented from itk::NDimensionalSpatialObject< PipelineDimension >.

Reimplemented in itk::BlobSpatialObject< TDimension, PipelineDimension >, itk::EllipseSpatialObject< NDimensions, PipelineDimension >, itk::ImageSpatialObject< NDimensions, TransformType, PixelType, PipelineDimension >, itk::LineSpatialObject< TDimension, PipelineDimension >, itk::SurfaceSpatialObject< TDimension, PipelineDimension >, itk::TubeNetworkSpatialObject< TDimension, PipelineDimension >, and itk::TubeSpatialObject< TDimension, PipelineDimension >.

Definition at line 68 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef PointType* itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::PointPointer
 

Definition at line 72 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef Point< ScalarType, NDimensions > itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::PointType
 

Reimplemented in itk::BlobSpatialObject< TDimension, PipelineDimension >, itk::EllipseSpatialObject< NDimensions, PipelineDimension >, itk::ImageSpatialObject< NDimensions, TransformType, PixelType, PipelineDimension >, itk::LineSpatialObject< TDimension, PipelineDimension >, itk::SurfaceSpatialObject< TDimension, PipelineDimension >, and itk::TubeSpatialObject< TDimension, PipelineDimension >.

Definition at line 71 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef double itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::ScalarType
 

Reimplemented in itk::BlobSpatialObject< TDimension, PipelineDimension >, itk::EllipseSpatialObject< NDimensions, PipelineDimension >, itk::ImageSpatialObject< NDimensions, TransformType, PixelType, PipelineDimension >, itk::LineSpatialObject< TDimension, PipelineDimension >, itk::SurfaceSpatialObject< TDimension, PipelineDimension >, itk::TubeNetworkSpatialObject< TDimension, PipelineDimension >, and itk::TubeSpatialObject< TDimension, PipelineDimension >.

Definition at line 63 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef SpatialObject<NDimensions,TTransform,PipelineDimension> itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::Self
 

Standard class typedefs.

Reimplemented from itk::NDimensionalSpatialObject< PipelineDimension >.

Reimplemented in itk::BlobSpatialObject< TDimension, PipelineDimension >, itk::EllipseSpatialObject< NDimensions, PipelineDimension >, itk::ImageSpatialObject< NDimensions, TransformType, PixelType, PipelineDimension >, itk::LineSpatialObject< TDimension, PipelineDimension >, itk::SurfaceSpatialObject< TDimension, PipelineDimension >, itk::TubeNetworkSpatialObject< TDimension, PipelineDimension >, and itk::TubeSpatialObject< TDimension, PipelineDimension >.

Definition at line 65 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef NDimensionalSpatialObject<PipelineDimension> itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::Superclass
 

Reimplemented from itk::NDimensionalSpatialObject< PipelineDimension >.

Reimplemented in itk::BlobSpatialObject< TDimension, PipelineDimension >, itk::EllipseSpatialObject< NDimensions, PipelineDimension >, itk::ImageSpatialObject< NDimensions, TransformType, PixelType, PipelineDimension >, itk::LineSpatialObject< TDimension, PipelineDimension >, itk::SurfaceSpatialObject< TDimension, PipelineDimension >, itk::TubeNetworkSpatialObject< TDimension, PipelineDimension >, and itk::TubeSpatialObject< TDimension, PipelineDimension >.

Definition at line 66 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef const TransformType* itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::TransformConstPointer
 

Definition at line 82 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef std::list< TransformType * > itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::TransformListType
 

Definition at line 84 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef TransformType::Pointer itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::TransformPointer
 

Definition at line 81 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef TTransform itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::TransformType
 

Definition at line 80 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef VectorContainer< unsigned long int, PointType > itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::VectorContainerType
 

Definition at line 86 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef VectorType* itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::VectorPointer
 

Definition at line 75 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
typedef Vector< ScalarType, NDimensions > itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::VectorType
 

Definition at line 74 of file itkSpatialObject.h.


Constructor & Destructor Documentation

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::SpatialObject   [protected]
 

Constructor.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
virtual itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::~SpatialObject   [protected, virtual]
 

Destructor.


Member Function Documentation

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::AddSpatialObject Self   pointer
 

Add an object to the list of children.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::BuildGlobalToLocalTransformList TransformListType   list,
bool    init
const
 

Build the list of global to local transforms applied to the SpatialObject. If init equals false, then the list will be initialized.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::BuildLocalToGlobalTransformList TransformListType   list,
bool    init
const
 

Build the list of local to global transforms to applied to the SpatialObject. If init equals false, then the list will be initialized.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
virtual void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::ComputeBounds void    [virtual]
 

This function has to be implemented in the deriving class. It should provide a method to get the boundaries of a specific object. Basically, this function need to be called every time one of the object component is changed.

Reimplemented in itk::BlobSpatialObject< TDimension, PipelineDimension >, itk::EllipseSpatialObject< NDimensions, PipelineDimension >, itk::ImageSpatialObject< NDimensions, TransformType, PixelType, PipelineDimension >, itk::LineSpatialObject< TDimension, PipelineDimension >, itk::SurfaceSpatialObject< TDimension, PipelineDimension >, and itk::TubeSpatialObject< TDimension, PipelineDimension >.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
virtual void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::DerivativeAt const PointType   point,
short unsigned int    order,
OutputVectorType   value
[virtual]
 

Return the n-th order derivative value at the specified point.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
BoundingBoxType* itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::GetBounds void    const
 

Get the bounding box of the object.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
ChildrenListType& itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::GetChildren void   
 

Returns a list of pointer to the children affiliated to this object.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
virtual const char* itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::GetClassName   const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::NDimensionalSpatialObject< PipelineDimension >.

Reimplemented in itk::BlobSpatialObject< TDimension, PipelineDimension >, itk::EllipseSpatialObject< NDimensions, PipelineDimension >, itk::ImageSpatialObject< NDimensions, TransformType, PixelType, PipelineDimension >, itk::LineSpatialObject< TDimension, PipelineDimension >, itk::SurfaceSpatialObject< TDimension, PipelineDimension >, itk::TubeNetworkSpatialObject< TDimension, PipelineDimension >, and itk::TubeSpatialObject< TDimension, PipelineDimension >.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
const TransformType* itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::GetGlobalToLocalTransform void   
 

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
TransformListType& itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::GetGlobalToLocalTransformList void   
 

Returns the list of global to local transforms.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
const TransformType* itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::GetLocalToGlobalTransform void   
 

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
TransformListType& itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::GetLocalToGlobalTransformList void   
 

Returns the list of local to global transforms.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
unsigned long itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::GetMTime void    const [virtual]
 

Returns the latest modified time of the spatial object, and any of its components.

Reimplemented from itk::Object.

Reimplemented in itk::BlobSpatialObject< TDimension, PipelineDimension >, itk::EllipseSpatialObject< NDimensions, PipelineDimension >, itk::ImageSpatialObject< NDimensions, TransformType, PixelType, PipelineDimension >, itk::LineSpatialObject< TDimension, PipelineDimension >, itk::SurfaceSpatialObject< TDimension, PipelineDimension >, and itk::TubeSpatialObject< TDimension, PipelineDimension >.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
unsigned int itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::GetNumberOfChildren void   
 

Returns the number of children currently assigned to the composite object.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
const double* itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::GetSpacing   const [inline]
 

Get the spacing of the spatial object

Definition at line 166 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
virtual bool itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::IsEvaluableAt const PointType   point [virtual]
 

Return tru if the object provides a method to evaluate the value at the specified point, else otherwise.

Reimplemented in itk::BlobSpatialObject< TDimension, PipelineDimension >, itk::EllipseSpatialObject< NDimensions, PipelineDimension >, itk::ImageSpatialObject< NDimensions, TransformType, PixelType, PipelineDimension >, itk::LineSpatialObject< TDimension, PipelineDimension >, itk::SurfaceSpatialObject< TDimension, PipelineDimension >, and itk::TubeSpatialObject< TDimension, PipelineDimension >.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
virtual bool itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::IsInside const PointType   point [virtual]
 

Test whether a point is inside or outside the object.

Reimplemented in itk::BlobSpatialObject< TDimension, PipelineDimension >, itk::EllipseSpatialObject< NDimensions, PipelineDimension >, itk::ImageSpatialObject< NDimensions, TransformType, PixelType, PipelineDimension >, itk::LineSpatialObject< TDimension, PipelineDimension >, itk::SurfaceSpatialObject< TDimension, PipelineDimension >, and itk::TubeSpatialObject< TDimension, PipelineDimension >.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::itkStaticConstMacro ObjectDimension   ,
unsigned    int,
NDimensions   
 

Dimension of the object. This constant is used by functions that are templated over spatialObject type when they need compile time access to the dimension of the object.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
Pointer itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::New   [static]
 

Method for creation through the object factory.

Reimplemented from itk::NDimensionalSpatialObject< PipelineDimension >.

Reimplemented in itk::BlobSpatialObject< TDimension, PipelineDimension >, itk::EllipseSpatialObject< NDimensions, PipelineDimension >, itk::ImageSpatialObject< NDimensions, TransformType, PixelType, PipelineDimension >, itk::LineSpatialObject< TDimension, PipelineDimension >, itk::SurfaceSpatialObject< TDimension, PipelineDimension >, itk::TubeNetworkSpatialObject< TDimension, PipelineDimension >, and itk::TubeSpatialObject< TDimension, PipelineDimension >.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
virtual void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::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::DataObject.

Reimplemented in itk::BlobSpatialObject< TDimension, PipelineDimension >, itk::EllipseSpatialObject< NDimensions, PipelineDimension >, itk::ImageSpatialObject< NDimensions, TransformType, PixelType, PipelineDimension >, itk::LineSpatialObject< TDimension, PipelineDimension >, itk::SurfaceSpatialObject< TDimension, PipelineDimension >, and itk::TubeSpatialObject< TDimension, PipelineDimension >.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
virtual void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::RebuildAllTransformLists void    [virtual]
 

Rebuild all the transforms list. Basically, this function is performed every time an object is plugged or unplugged to a hierarchy of objects.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
virtual void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::RebuildGlobalToLocalTransformList void    [virtual]
 

Rebuild the list of transforms applied to the object to switch from the real world coordinate systemn to the local coordinate system.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
virtual void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::RebuildLocalToGlobalTransformList void    [virtual]
 

Rebuild the list of transform applied to the object to switch from the local coordinate system, to the real world coordinate system.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::RemoveSpatialObject Self   object
 

Remove the object passed as arguments from the list of children. May this function should return a false value if the object to remove is not found in the list.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::SetBounds BoundingBoxPointer    bounds
 

Set the bounding box of the object.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::SetChildren ChildrenListType   children
 

Set the list of pointers to children to the list passed as argument.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::SetGlobalToLocalTransform TransformType   transform
 

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::SetLocalToGlobalTransform TransformType   transform
 

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::SetParent const Superclass   parent
 

Set the pointer to the parent object in the tree hierarchy used for the spatial object patter.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::SetSpacing const double    spacing[ObjectDimension]
 

Set the Spacing of the spatial object

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::TransformPointToGlobalCoordinate PointType   p const
 

Returns the coordinates of the point passed as argument in the object local coordinate system.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::TransformPointToLocalCoordinate PointType   p const
 

Returns the coordinates of the point passed as argument in the object local coordinate system.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
virtual void itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::ValueAt const PointType   point,
double &    value
[virtual]
 

Returns a degree of membership to the object. That's useful for fuzzy objects.

Reimplemented in itk::BlobSpatialObject< TDimension, PipelineDimension >, itk::EllipseSpatialObject< NDimensions, PipelineDimension >, itk::ImageSpatialObject< NDimensions, TransformType, PixelType, PipelineDimension >, itk::LineSpatialObject< TDimension, PipelineDimension >, itk::SurfaceSpatialObject< TDimension, PipelineDimension >, and itk::TubeSpatialObject< TDimension, PipelineDimension >.


Member Data Documentation

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
BoundingBoxPointer itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::m_Bounds [protected]
 

Definition at line 204 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
TimeStamp itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::m_BoundsMTime [protected]
 

Reimplemented in itk::BlobSpatialObject< TDimension, PipelineDimension >, itk::LineSpatialObject< TDimension, PipelineDimension >, itk::SurfaceSpatialObject< TDimension, PipelineDimension >, and itk::TubeSpatialObject< TDimension, PipelineDimension >.

Definition at line 205 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
ChildrenListType itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::m_Children [protected]
 

List of the children object plug to the composite spatial object.

Definition at line 224 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
TransformPointer itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::m_GlobalToLocalTransform [protected]
 

Definition at line 212 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
TransformListType itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::m_GlobalToLocalTransformList [protected]
 

Definition at line 209 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
TransformPointer itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::m_LocalToGlobalTransform [protected]
 

Definition at line 211 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
TransformListType itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::m_LocalToGlobalTransformList [protected]
 

Definition at line 208 of file itkSpatialObject.h.

template<unsigned int NDimensions = 3, typename TTransform = AffineTransform< double, NDimensions >, unsigned int PipelineDimension = 3>
double itk::SpatialObject< NDimensions, TTransform, PipelineDimension >::m_Spacing[ObjectDimension] [protected]
 

Definition at line 206 of file itkSpatialObject.h.

Referenced by itk::SpatialObject< NDimensions, AffineTransform< double, NDimensions >, PipelineDimension >::GetSpacing().


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:14:42 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000