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: 2009-04-07 14:33:59 $
00007   Version:   $Revision: 1.11 $
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 ITK_EXPORT 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   GroupSpatialObject(const Self&); //purposely not implemented
00064   void operator=(const Self&); //purposely not implemented
00065    
00066   GroupSpatialObject();
00067   virtual ~GroupSpatialObject();
00068 
00070   virtual void PrintSelf( std::ostream& os, Indent indent ) const;
00071 };
00072 
00073 } // end namespace itk
00074 
00075 #ifndef ITK_MANUAL_INSTANTIATION 
00076 #include "itkGroupSpatialObject.txx" 
00077 #endif 
00078 
00079 #endif // __itkGroupSpatialObject_h
00080 

Generated at Mon Jul 12 2010 18:30:01 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000