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

itkPathAndImageToPathFilter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkPathAndImageToPathFilter.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 #ifndef __itkPathAndImageToPathFilter_h 00018 #define __itkPathAndImageToPathFilter_h 00019 00020 #include "itkPathToPathFilter.h" 00021 00022 namespace itk 00023 { 00024 00036 template <class TInputPath, class TInputImage, class TOutputPath> 00037 class ITK_EXPORT PathAndImageToPathFilter : 00038 public PathToPathFilter<TInputPath,TOutputPath> 00039 { 00040 public: 00042 typedef PathAndImageToPathFilter Self; 00043 typedef PathToPathFilter<TInputPath,TOutputPath> Superclass; 00044 typedef SmartPointer<Self> Pointer; 00045 typedef SmartPointer<const Self> ConstPointer; 00046 00048 itkNewMacro(Self); 00049 00051 itkTypeMacro(PathAndImageToPathFilter, PathToPathFilter); 00052 00054 typedef TInputPath InputPathType; 00055 typedef typename InputPathType::Pointer InputPathPointer; 00056 typedef typename InputPathType::ConstPointer InputPathConstPointer; 00057 typedef typename InputPathType::InputType InputPathInputType; 00058 typedef typename InputPathType::OutputType InputPathOutputType; 00059 typedef typename InputPathType::IndexType InputPathIndexType; 00060 typedef typename InputPathType::OffsetType InputPathOffsetType; 00061 typedef TInputImage InputImageType; 00062 typedef typename InputImageType::ConstPointer InputImagePointer; 00063 typedef typename InputImageType::RegionType InputImageRegionType; 00064 typedef typename InputImageType::PixelType InputImagePixelType; 00065 typedef TOutputPath OutputPathType; 00066 typedef typename OutputPathType::Pointer OutputPathPointer; 00067 typedef typename OutputPathType::InputType OutputPathInputType; 00068 typedef typename OutputPathType::OutputType OutputPathOutputType; 00069 typedef typename OutputPathType::IndexType OutputPathIndexType; 00070 typedef typename OutputPathType::OffsetType OutputPathOffsetType; 00071 00073 itkStaticConstMacro(InputImageDimension, unsigned int, 00074 TInputImage::ImageDimension); 00075 00077 virtual void SetPathInput( const TInputPath * path); 00078 const InputPathType * GetPathInput(void); 00079 00081 virtual void SetImageInput( const TInputImage * image); 00082 const InputImageType * GetImageInput(void); 00083 00084 protected: 00085 PathAndImageToPathFilter(); 00086 virtual ~PathAndImageToPathFilter() {}; 00087 00088 virtual void PrintSelf(std::ostream& os, Indent indent) const; 00089 00097 virtual void GenerateInputRequestedRegion(); 00098 00099 private: 00100 PathAndImageToPathFilter(const Self&); //purposely not implemented 00101 void operator=(const Self&); //purposely not implemented 00102 }; 00103 00104 } // end namespace itk 00105 00106 #ifndef ITK_MANUAL_INSTANTIATION 00107 #include "itkPathAndImageToPathFilter.txx" 00108 #endif 00109 00110 #endif

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