00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkSegmentationBorder.h,v $ 00005 Language: C++ 00006 Date: $Date: 2004/11/04 20:40:41 $ 00007 Version: $Revision: 1.8 $ 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 namespace itk 00023 { 00024 00043 class ITKCommon_EXPORT SegmentationBorder : public Object 00044 { 00045 public: 00047 typedef SegmentationBorder Self; 00048 typedef Object Superclass; 00049 typedef SmartPointer<Self> Pointer; 00050 typedef SmartPointer<const Self> ConstPointer; 00051 00053 itkNewMacro(Self); 00054 00056 itkTypeMacro(SegmentationBorder,Object); 00057 00059 itkSetMacro(BorderLength, double); 00060 itkGetConstReferenceMacro(BorderLength, double); 00061 00066 virtual void ApplySegmentationBorder(){}; 00067 00068 protected: 00069 SegmentationBorder(); 00070 ~SegmentationBorder(); 00071 void PrintSelf(std::ostream& os, Indent indent) const; 00072 00073 private: 00074 SegmentationBorder(const Self&); //purposely not implemented 00075 void operator=(const Self&); //purposely not implemented 00076 00077 double m_BorderLength; 00078 00079 }; // class SegmentationBorder 00080 00081 00082 } // namespace itk 00083 00084 00085 #endif