00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkGroupSpatialObject.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/02/10 16:00:09 $ 00007 Version: $Revision: 1.3 $ 00008 00009 Copyright (c) 2002 Insight 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 00034 template < unsigned int TDimension = 3 > 00035 class GroupSpatialObject 00036 :public SpatialObject< TDimension > 00037 { 00038 00039 public: 00040 00041 typedef GroupSpatialObject Self; 00042 typedef SpatialObject< TDimension > Superclass; 00043 typedef SmartPointer < Self > Pointer; 00044 typedef SmartPointer < const Self > ConstPointer; 00045 typedef double ScalarType; 00046 00048 itkNewMacro( Self ); 00049 00051 itkTypeMacro( Self, Superclass ); 00052 00053 protected: 00054 00055 GroupSpatialObject(); 00056 virtual ~GroupSpatialObject(); 00057 00059 virtual void PrintSelf( std::ostream& os, Indent indent ) const; 00060 }; 00061 00062 } // end namespace itk 00063 00064 #ifndef ITK_MANUAL_INSTANTIATION 00065 #include "itkGroupSpatialObject.txx" 00066 #endif 00067 00068 #endif // __itkGroupSpatialObject_h