#include <itkPointBasedSpatialObject.h>
Inheritance diagram for itk::PointBasedSpatialObject< TDimension >:
Public Types | |
typedef PointBasedSpatialObject | Self |
typedef SpatialObject< TDimension > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef double | ScalarType |
typedef SpatialObjectPoint< TDimension > | SpatialObjectPointType |
typedef Superclass::PointType | PointType |
typedef Superclass::TransformType | TransformType |
typedef Superclass::VectorType | VectorType |
typedef Superclass::CovariantVectorType | CovariantVectorType |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
virtual SpatialObjectPointType * | GetPoint (unsigned long) |
virtual const SpatialObjectPointType * | GetPoint (unsigned long) const |
virtual unsigned long | GetNumberOfPoints (void) const |
bool | ComputeLocalBoundingBox () const |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
PointBasedSpatialObject () | |
virtual | ~PointBasedSpatialObject () |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
A PointBasedSpatialObject is an abstract class to support PointBasedSpatialObject filters and algorithms.
Definition at line 37 of file itkPointBasedSpatialObject.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Compute an axis-aligned bounding box for an object and its selected children, down to a specified depth. After computation, the resulting bounding box is stored in this->m_Bounds. By default, the bounding box children depth is maximum, meaning that the bounding box for the object and all its recursive children is computed. This depth can be set (before calling ComputeBoundingBox) using SetBoundingBoxChildrenDepth(). By calling SetBoundingBoxChildrenName(), it is possible to restrict the bounding box computation to objects of a specified type or family of types. The spatial objects included in the computation are those whose typenames share, as their initial substring, the string specified via SetBoundingBoxChildrenName(). The root spatial object (on which the method is called) is not treated specially. If its typename does not match the bounding box children name, then it is not included in the bounding box computation, but its descendents that match the string are included. Reimplemented from itk::SpatialObject< TDimension >. Reimplemented in itk::BlobSpatialObject< TDimension >, itk::LandmarkSpatialObject< TDimension >, itk::LineSpatialObject< TDimension >, itk::SurfaceSpatialObject< TDimension >, itk::TubeSpatialObject< TDimension, TTubePointType >, itk::TubeSpatialObject< TDimension, VesselTubeSpatialObjectPoint< TDimension > >, and itk::TubeSpatialObject< TDimension, DTITubeSpatialObjectPoint< TDimension > >. Definition at line 88 of file itkPointBasedSpatialObject.h. |
|
|
Return the number of points in the list Reimplemented in itk::BlobSpatialObject< TDimension >, itk::LandmarkSpatialObject< TDimension >, itk::LineSpatialObject< TDimension >, itk::SurfaceSpatialObject< TDimension >, itk::TubeSpatialObject< TDimension, TTubePointType >, itk::TubeSpatialObject< TDimension, VesselTubeSpatialObjectPoint< TDimension > >, and itk::TubeSpatialObject< TDimension, DTITubeSpatialObjectPoint< TDimension > >. Definition at line 79 of file itkPointBasedSpatialObject.h. References itkWarningMacro. |
|
|
Return a SpatialObjectPoint given its position in the list Reimplemented in itk::BlobSpatialObject< TDimension >, itk::LandmarkSpatialObject< TDimension >, itk::LineSpatialObject< TDimension >, itk::SurfaceSpatialObject< TDimension >, itk::TubeSpatialObject< TDimension, TTubePointType >, itk::TubeSpatialObject< TDimension, VesselTubeSpatialObjectPoint< TDimension > >, and itk::TubeSpatialObject< TDimension, DTITubeSpatialObjectPoint< TDimension > >. Definition at line 62 of file itkPointBasedSpatialObject.h. References itkWarningMacro. |
|
|