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

itkImageAndPathToImageFilter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkImageAndPathToImageFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:10 $ 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 __itkImageAndPathToImageFilter_h 00018 #define __itkImageAndPathToImageFilter_h 00019 00020 #include "itkImageToImageFilter.h" 00021 00022 namespace itk 00023 { 00024 00037 template <class TInputImage, class TInputPath, class TOutputImage> 00038 class ITK_EXPORT ImageAndPathToImageFilter : 00039 public ImageToImageFilter<TInputImage,TOutputImage> 00040 { 00041 public: 00043 typedef ImageAndPathToImageFilter Self; 00044 typedef ImageToImageFilter<TInputImage,TOutputImage> Superclass; 00045 typedef SmartPointer<Self> Pointer; 00046 typedef SmartPointer<const Self> ConstPointer; 00047 00049 itkNewMacro(Self); 00050 00052 itkTypeMacro(ImageAndPathToImageFilter, ImageToImageFilter); 00053 00055 typedef TInputImage InputImageType; 00056 typedef typename InputImageType::ConstPointer InputImagePointer; 00057 typedef typename InputImageType::RegionType InputImageRegionType; 00058 typedef typename InputImageType::PixelType InputImagePixelType; 00059 typedef TInputPath InputPathType; 00060 typedef typename InputPathType::Pointer InputPathPointer; 00061 typedef typename InputPathType::ConstPointer InputPathConstPointer; 00062 typedef typename InputPathType::InputType InputPathInputType; 00063 typedef typename InputPathType::OutputType InputPathOutputType; 00064 typedef typename InputPathType::IndexType InputPathIndexType; 00065 typedef typename InputPathType::OffsetType InputPathOffsetType; 00066 typedef TOutputImage OutputImageType; 00067 typedef typename OutputImageType::Pointer OutputImagePointer; 00068 typedef typename OutputImageType::RegionType OutputImageRegionType; 00069 typedef typename OutputImageType::PixelType OutputImagePixelType; 00070 00072 itkStaticConstMacro(InputImageDimension, unsigned int, 00073 TInputImage::ImageDimension); 00074 itkStaticConstMacro(OutputImageDimension, unsigned int, 00075 TOutputImage::ImageDimension); 00076 00078 virtual void SetImageInput( const TInputImage * image); 00079 const InputImageType * GetImageInput(void); 00080 00082 virtual void SetPathInput( const TInputPath * path); 00083 const InputPathType * GetPathInput(void); 00084 00085 protected: 00086 ImageAndPathToImageFilter(); 00087 virtual ~ImageAndPathToImageFilter() {}; 00088 00089 virtual void PrintSelf(std::ostream& os, Indent indent) const; 00090 00091 private: 00092 ImageAndPathToImageFilter(const Self&); //purposely not implemented 00093 void operator=(const Self&); //purposely not implemented 00094 }; 00095 00096 } // end namespace itk 00097 00098 #ifndef ITK_MANUAL_INSTANTIATION 00099 #include "itkImageAndPathToImageFilter.txx" 00100 #endif 00101 00102 #endif

Generated at Sat Mar 31 02:20:53 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000