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

itkGroupSpatialObject.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkGroupSpatialObject.h,v $
00005   Language:  C++
00006   Date:      $Date: 2005/01/21 17:59:18 $
00007   Version:   $Revision: 1.8 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 
00018 #ifndef __itkGroupSpatialObject_h
00019 #define __itkGroupSpatialObject_h
00020 
00021 #include <list>
00022 
00023 #include "itkSpatialObject.h"
00024 
00025 namespace itk 
00026 {
00027 
00038 template < unsigned int TDimension = 3 >
00039 class GroupSpatialObject 
00040   :public SpatialObject< TDimension >
00041 {
00042 
00043 public:
00044 
00045   typedef GroupSpatialObject                           Self;
00046   typedef SpatialObject< TDimension >                  Superclass;
00047   typedef SmartPointer < Self >                        Pointer;
00048   typedef SmartPointer < const Self >                  ConstPointer;
00049   typedef double                                       ScalarType;
00050   typedef typename Superclass::TreeNodeType            TreeNodeType;
00051   typedef typename TreeNodeType::ChildrenListType      TreeNodeChildrenListType;
00052 
00054   itkNewMacro( Self );
00055 
00057   itkTypeMacro( GroupSpatialObject, SpatialObject );
00058 
00060   bool ComputeLocalBoundingBox() const {return false;}
00061     
00062 protected:
00063 
00064   GroupSpatialObject();
00065   virtual ~GroupSpatialObject();
00066 
00068   virtual void PrintSelf( std::ostream& os, Indent indent ) const;
00069 };
00070 
00071 } // end namespace itk
00072 
00073 #ifndef ITK_MANUAL_INSTANTIATION 
00074 #include "itkGroupSpatialObject.txx" 
00075 #endif 
00076 
00077 #endif // __itkGroupSpatialObject_h

Generated at Wed May 24 23:14:58 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000