00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkSegmentationBorder.h,v $ 00005 Language: C++ 00006 Date: $Date: 2002/01/15 18:57:18 $ 00007 Version: $Revision: 1.4 $ 00008 00009 Copyright (c) 2002 Insight 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 ITK_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 // typedef typename TInputImage::Pointer InputImageType; 00060 00062 // typedef typename TInputImage::PixelType InputImagePixelType; 00063 00065 itkSetMacro(BorderLength, unsigned int); 00066 00068 itkGetMacro(BorderLength, unsigned int); 00069 00074 virtual void ApplySegmentationBorder(){}; 00075 00076 protected: 00077 SegmentationBorder(); 00078 ~SegmentationBorder(); 00079 void PrintSelf(std::ostream& os, Indent indent) const; 00080 00081 private: 00082 SegmentationBorder(const Self&); //purposely not implemented 00083 void operator=(const Self&); //purposely not implemented 00084 00085 unsigned int m_BorderLength; 00086 00087 }; // class SegmentationBorder 00088 00089 00090 } // namespace itk 00091 00092 00093 00094 #endif