00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkSwathChainCodePathFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:28:39 $ 00007 Version: $Revision: 1.2 $ 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 00018 #ifndef __itkSwathChainCodePathFilter_h 00019 #define __itkSwathChainCodePathFilter_h 00020 00021 #include "itkPathAndImageToPathFilter.h" 00022 00023 namespace itk 00024 { 00025 00042 template <class TPath, class TImage> 00043 class ITK_EXPORT SwathChainCodePathFilter : public 00044 PathAndImageToPathFilter< TPath, TImage, TPath > 00045 { 00046 public: 00048 typedef SwathChainCodePathFilter Self; 00049 typedef PathAndImageToPathFilter< TPath, TImage, TPath > Superclass; 00050 typedef SmartPointer<Self> Pointer; 00051 typedef SmartPointer<const Self> ConstPointer; 00052 00054 itkNewMacro(Self); 00055 00057 itkTypeMacro(SwathChainCodePathFilter, PathAndImageToPathFilter); 00058 00060 typedef TPath PathType; 00061 typedef typename PathType::Pointer PathPointer; 00062 typedef typename PathType::ConstPointer PathConstPointer; 00063 typedef typename PathType::InputType PathInputType; 00064 typedef typename PathType::IndexType IndexType; 00065 typedef typename PathType::OffsetType OffsetType; 00066 00067 protected: 00068 SwathChainCodePathFilter(); 00069 virtual ~SwathChainCodePathFilter() {}; 00070 void PrintSelf(std::ostream& os, Indent indent) const; 00071 00072 void GenerateData(void); 00073 00074 private: 00075 SwathChainCodePathFilter(const Self&); //purposely not implemented 00076 void operator=(const Self&); //purposely not implemented 00077 }; 00078 00079 } // end namespace itk 00080 00081 #ifndef ITK_MANUAL_INSTANTIATION 00082 #include "itkSwathChainCodePathFilter.txx" 00083 #endif 00084 00085 #endif