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

itkPathToPathFilter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkPathToPathFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:20 $ 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 _itkPathToPathFilter_h 00019 #define _itkPathToPathFilter_h 00020 00021 #include "itkPathSource.h" 00022 #include "itkPath.h" 00023 00024 namespace itk 00025 { 00026 00037 template <class TInputPath, class TOutputPath> 00038 class ITK_EXPORT PathToPathFilter : public PathSource<TOutputPath> 00039 { 00040 public: 00042 typedef PathToPathFilter Self; 00043 typedef PathSource<TOutputPath> Superclass; 00044 typedef SmartPointer<Self> Pointer; 00045 typedef SmartPointer<const Self> ConstPointer; 00046 00048 itkNewMacro(Self); 00049 00051 itkTypeMacro(PathToPathFilter,PathSource); 00052 00054 typedef TInputPath InputPathType; 00055 typedef typename InputPathType::Pointer InputPathPointer; 00056 typedef typename InputPathType::ConstPointer InputPathConstPointer; 00057 00059 virtual void SetInput( const InputPathType *path); 00060 virtual void SetInput( unsigned int, const TInputPath * path); 00061 const InputPathType * GetInput(void); 00062 const InputPathType * GetInput(unsigned int idx); 00063 00064 protected: 00065 PathToPathFilter(); 00066 ~PathToPathFilter() {} 00067 00068 virtual void PrintSelf(std::ostream& os, Indent indent) const; 00069 00077 virtual void GenerateInputRequestedRegion(); 00078 00079 00080 private: 00081 PathToPathFilter(const Self&); //purposely not implemented 00082 void operator=(const Self&); //purposely not implemented 00083 }; 00084 00085 } // end namespace itk 00086 00087 #ifndef ITK_MANUAL_INSTANTIATION 00088 #include "itkPathToPathFilter.txx" 00089 #endif 00090 00091 #endif

Generated at Sun Apr 1 02:40:39 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000