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: 2009-03-03 15:08:51 $
00007   Version:   $Revision: 1.15 $
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 
00075   Region() {}
00076   virtual ~Region() {}
00077 
00078 protected:
00083   virtual void PrintSelf(std::ostream& os, Indent indent) const;
00084   virtual void PrintHeader(std::ostream& os, Indent indent) const;
00085   virtual void PrintTrailer(std::ostream& os, Indent indent) const;
00087 
00088 private:
00089 
00090 };
00091   
00092 } // end namespace itk
00093 
00094 #endif
00095 

Generated at Mon Jul 12 2010 19:37:34 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000