#include <itkSpatialObject.h>
Inheritance diagram for itk::SpatialObject:
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.
|
Definition at line 89 of file itkSpatialObject.h. |
|
Reimplemented in itk::ImageSpatialObject< NDimensions, TransformType, PixelType, PipelineDimension >. Definition at line 88 of file itkSpatialObject.h. |
|
Reimplemented in itk::TubeNetworkSpatialObject< TDimension, PipelineDimension >. Definition at line 91 of file itkSpatialObject.h. |
|
|
Definition at line 78 of file itkSpatialObject.h. |
|
Definition at line 77 of file itkSpatialObject.h. |
|
|
Definition at line 72 of file itkSpatialObject.h. |
|
|
|
|
|
Definition at line 82 of file itkSpatialObject.h. |
|
Definition at line 84 of file itkSpatialObject.h. |
|
Definition at line 81 of file itkSpatialObject.h. |
|
Definition at line 80 of file itkSpatialObject.h. |
|
Definition at line 86 of file itkSpatialObject.h. |
|
Definition at line 75 of file itkSpatialObject.h. |
|
Definition at line 74 of file itkSpatialObject.h. |
|
Constructor. |
|
Destructor. |
|
Add an object to the list of children. |
|
Build the list of global to local transforms applied to the SpatialObject. If init equals false, then the list will be initialized. |
|
Build the list of local to global transforms to applied to the SpatialObject. If init equals false, then the list will be initialized. |
|
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 >. |
|
Return the n-th order derivative value at the specified point. |
|
Get the bounding box of the object. |
|
Returns a list of pointer to the children affiliated to this object. |
|
|
|
|
Returns the list of global to local transforms. |
|
|
|
Returns the list of local to global transforms. |
|
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 >. |
|
Returns the number of children currently assigned to the composite object. |
|
Get the spacing of the spatial object Definition at line 166 of file itkSpatialObject.h. |
|
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 >. |
|
|
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. |
|
|
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 >. |
|
Rebuild all the transforms list. Basically, this function is performed every time an object is plugged or unplugged to a hierarchy of objects. |
|
Rebuild the list of transforms applied to the object to switch from the real world coordinate systemn to the local coordinate system. |
|
Rebuild the list of transform applied to the object to switch from the local coordinate system, to the real world coordinate system. |
|
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. |
|
Set the bounding box of the object. |
|
Set the list of pointers to children to the list passed as argument. |
|
|
|
|
|
Set the pointer to the parent object in the tree hierarchy used for the spatial object patter. |
|
Set the Spacing of the spatial object |
|
Returns the coordinates of the point passed as argument in the object local coordinate system. |
|
Returns the coordinates of the point passed as argument in the object local coordinate system. |
|
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 >. |
|
Definition at line 204 of file itkSpatialObject.h. |
|
|
List of the children object plug to the composite spatial object. Definition at line 224 of file itkSpatialObject.h. |
|
Definition at line 212 of file itkSpatialObject.h. |
|
Definition at line 209 of file itkSpatialObject.h. |
|
Definition at line 211 of file itkSpatialObject.h. |
|
Definition at line 208 of file itkSpatialObject.h. |
|
Definition at line 206 of file itkSpatialObject.h. Referenced by itk::SpatialObject< NDimensions, AffineTransform< double, NDimensions >, PipelineDimension >::GetSpacing(). |