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

itkSegmentationRegion.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkSegmentationRegion.h,v $
00005   Language:  C++
00006   Date:      $Date: 2004/11/04 20:40:41 $
00007   Version:   $Revision: 1.9 $
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 #ifndef _itkSegmentationRegion_h
00018 #define _itkSegmentationRegion_h
00019 
00020 #include "itkObject.h"
00021 #include "itkObjectFactory.h"
00022 
00023 namespace itk
00024 {
00025 
00045 class ITKCommon_EXPORT SegmentationRegion : public Object
00046 {
00047 public:
00049   typedef SegmentationRegion       Self;
00050   typedef Object                   Superclass;
00051   typedef SmartPointer<Self>       Pointer;
00052   typedef SmartPointer<const Self> ConstPointer;
00053 
00055   itkNewMacro(Self);
00056 
00058   itkTypeMacro(SegmentationRegion,Object);
00059 
00061   typedef unsigned int RegionLabelType;
00062 
00066   virtual void ApplySegmentationRegion(){};
00067 
00070   itkSetMacro(RegionLabel, RegionLabelType);
00071   itkGetConstReferenceMacro(RegionLabel, RegionLabelType);
00072 
00074   itkSetMacro(RegionArea, double);
00075   itkGetConstReferenceMacro(RegionArea, double);
00076 
00077 protected:
00078   SegmentationRegion();
00079   ~SegmentationRegion();
00080   void PrintSelf(std::ostream& os, Indent indent) const;
00081 
00082 private:
00083   SegmentationRegion(const Self&); //purposely not implemented
00084   void operator=(const Self&); //purposely not implemented
00085 
00086   RegionLabelType           m_RegionLabel;
00087   double                    m_RegionArea;
00088 
00089 }; // class SegmentationRegion
00090 
00091 
00092 } // namespace itk
00093 
00094 
00095 #endif

Generated at Thu May 25 00:01:52 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000