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

itkRegion.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkRegion.h,v $
00005   Language:  C++
00006   Date:      $Date: 2005/05/13 19:44:21 $
00007   Version:   $Revision: 1.13 $
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   Portions of this code are covered under the VTK copyright.
00013   See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm for details.
00014 
00015      This software is distributed WITHOUT ANY WARRANTY; without even 
00016      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00017      PURPOSE.  See the above copyright notices for more information.
00018 
00019 =========================================================================*/
00020 #ifndef __itkRegion_h
00021 #define __itkRegion_h
00022 
00023 #include "itkObject.h"
00024 
00025 namespace itk
00026 {
00027 
00056 class ITKCommon_EXPORT Region
00057 {
00058 public:
00060   typedef Region              Self;
00061 
00063   enum RegionType {ITK_UNSTRUCTURED_REGION,ITK_STRUCTURED_REGION};
00064 
00066   itkTypeMacro(Region, None);
00067 
00070   virtual RegionType GetRegionType() const = 0;
00071 
00073   virtual void Print(std::ostream& os, Indent indent=0) const;
00074   virtual ~Region() {}
00075 protected:
00080   virtual void PrintSelf(std::ostream& os, Indent indent) const;
00081   virtual void PrintHeader(std::ostream& os, Indent indent) const;
00082   virtual void PrintTrailer(std::ostream& os, Indent indent) const;
00083   
00084 private:
00085 
00086 };
00087   
00088 } // end namespace itk
00089 
00090 #endif
00091 

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