00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkSegmentationBorder.h,v $ 00005 Language: C++ 00006 Date: $Date: 2006-02-06 22:01:58 $ 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 __itkSegmentationBorder_h 00018 #define __itkSegmentationBorder_h 00019 00020 #include "itkObject.h" 00021 #include "itkObjectFactory.h" 00022 00023 namespace itk 00024 { 00025 00044 class ITKCommon_EXPORT SegmentationBorder : public Object 00045 { 00046 public: 00048 typedef SegmentationBorder Self; 00049 typedef Object Superclass; 00050 typedef SmartPointer<Self> Pointer; 00051 typedef SmartPointer<const Self> ConstPointer; 00052 00054 itkNewMacro(Self); 00055 00057 itkTypeMacro(SegmentationBorder,Object); 00058 00060 itkSetMacro(BorderLength, double); 00061 itkGetConstReferenceMacro(BorderLength, double); 00063 00068 virtual void ApplySegmentationBorder(){}; 00069 00070 protected: 00071 SegmentationBorder(); 00072 ~SegmentationBorder(); 00073 void PrintSelf(std::ostream& os, Indent indent) const; 00074 00075 private: 00076 SegmentationBorder(const Self&); //purposely not implemented 00077 void operator=(const Self&); //purposely not implemented 00078 00079 double m_BorderLength; 00080 00081 }; 00082 00083 00084 } // end namespace itk 00085 00086 00087 #endif 00088