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

itk::GroupSpatialObject< TDimension > Class Template Reference

Representation of a group based on the spatial object classes. More...

#include <itkGroupSpatialObject.h>

Inheritance diagram for itk::GroupSpatialObject< TDimension >:

Inheritance graph
[legend]
Collaboration diagram for itk::GroupSpatialObject< TDimension >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef GroupSpatialObject Self
typedef SpatialObject< TDimension > Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef double ScalarType
typedef Superclass::TreeNodeType TreeNodeType
typedef TreeNodeType::ChildrenListType TreeNodeChildrenListType

Public Member Functions

virtual const char * GetNameOfClass () const
bool ComputeLocalBoundingBox () const

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

Detailed Description

template<unsigned int TDimension = 3>
class itk::GroupSpatialObject< TDimension >

Representation of a group based on the spatial object classes.

A GroupSpatialObject represents a group by serving as the parent of the elements of the group. Since any itk::SpatialObject can have children (see SpatialObject::GetChildren()), this class needs no additional methods.

Definition at line 39 of file itkGroupSpatialObject.h.


Member Typedef Documentation

template<unsigned int TDimension = 3>
typedef SmartPointer< const Self > itk::GroupSpatialObject< TDimension >::ConstPointer
 

Reimplemented from itk::SpatialObject< TDimension >.

Reimplemented in itk::PolygonGroupSpatialObject< TDimension >, and itk::PolygonGroupSpatialObject< 3 >.

Definition at line 48 of file itkGroupSpatialObject.h.

template<unsigned int TDimension = 3>
typedef SmartPointer< Self > itk::GroupSpatialObject< TDimension >::Pointer
 

Reimplemented from itk::SpatialObject< TDimension >.

Reimplemented in itk::PolygonGroupSpatialObject< TDimension >, and itk::PolygonGroupSpatialObject< 3 >.

Definition at line 47 of file itkGroupSpatialObject.h.

template<unsigned int TDimension = 3>
typedef double itk::GroupSpatialObject< TDimension >::ScalarType
 

Reimplemented from itk::SpatialObject< TDimension >.

Definition at line 49 of file itkGroupSpatialObject.h.

template<unsigned int TDimension = 3>
typedef GroupSpatialObject itk::GroupSpatialObject< TDimension >::Self
 

Standard class typedefs.

Reimplemented from itk::SpatialObject< TDimension >.

Reimplemented in itk::PolygonGroupSpatialObject< TDimension >, and itk::PolygonGroupSpatialObject< 3 >.

Definition at line 45 of file itkGroupSpatialObject.h.

template<unsigned int TDimension = 3>
typedef SpatialObject< TDimension > itk::GroupSpatialObject< TDimension >::Superclass
 

Reimplemented from itk::SpatialObject< TDimension >.

Reimplemented in itk::PolygonGroupSpatialObject< TDimension >, and itk::PolygonGroupSpatialObject< 3 >.

Definition at line 46 of file itkGroupSpatialObject.h.

template<unsigned int TDimension = 3>
typedef TreeNodeType::ChildrenListType itk::GroupSpatialObject< TDimension >::TreeNodeChildrenListType
 

Reimplemented in itk::PolygonGroupSpatialObject< TDimension >, and itk::PolygonGroupSpatialObject< 3 >.

Definition at line 51 of file itkGroupSpatialObject.h.

template<unsigned int TDimension = 3>
typedef Superclass::TreeNodeType itk::GroupSpatialObject< TDimension >::TreeNodeType
 

Reimplemented from itk::SpatialObject< TDimension >.

Reimplemented in itk::PolygonGroupSpatialObject< TDimension >, and itk::PolygonGroupSpatialObject< 3 >.

Definition at line 50 of file itkGroupSpatialObject.h.


Constructor & Destructor Documentation

template<unsigned int TDimension = 3>
itk::GroupSpatialObject< TDimension >::GroupSpatialObject  )  [protected]
 

template<unsigned int TDimension = 3>
virtual itk::GroupSpatialObject< TDimension >::~GroupSpatialObject  )  [protected, virtual]
 


Member Function Documentation

template<unsigned int TDimension = 3>
bool itk::GroupSpatialObject< TDimension >::ComputeLocalBoundingBox void   )  const [inline, virtual]
 

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

Definition at line 60 of file itkGroupSpatialObject.h.

template<unsigned int TDimension = 3>
virtual const char* itk::GroupSpatialObject< TDimension >::GetNameOfClass  )  const [virtual]
 

Method for creation through the object factory.

Reimplemented from itk::SpatialObject< TDimension >.

Reimplemented in itk::PolygonGroupSpatialObject< TDimension >, and itk::PolygonGroupSpatialObject< 3 >.

template<unsigned int TDimension = 3>
Pointer itk::GroupSpatialObject< TDimension >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::SpatialObject< TDimension >.

Reimplemented in itk::PolygonGroupSpatialObject< TDimension >, and itk::PolygonGroupSpatialObject< 3 >.

template<unsigned int TDimension = 3>
virtual void itk::GroupSpatialObject< TDimension >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Method to print the object.

Reimplemented from itk::SpatialObject< TDimension >.


The documentation for this class was generated from the following file:
Generated at Thu May 25 01:06:32 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000