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: 2009-02-19 19:41:23 $
00007   Version:   $Revision: 1.4 $
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 __itkPathToPathFilter_h
00018 #define __itkPathToPathFilter_h
00019 
00020 #include "itkPathSource.h"
00021 #include "itkPath.h"
00022 
00023 namespace itk
00024 {
00025   
00036 template <class TInputPath, class TOutputPath>
00037 class ITK_EXPORT PathToPathFilter : public PathSource<TOutputPath>
00038 {
00039 public:
00041   typedef PathToPathFilter         Self;
00042   typedef PathSource<TOutputPath>  Superclass;
00043   typedef SmartPointer<Self>       Pointer;
00044   typedef SmartPointer<const Self> ConstPointer;
00045 
00047   itkNewMacro(Self);
00048 
00050   itkTypeMacro(PathToPathFilter,PathSource);
00051 
00053   typedef TInputPath                           InputPathType;
00054   typedef typename InputPathType::Pointer      InputPathPointer;
00055   typedef typename InputPathType::ConstPointer InputPathConstPointer;
00056 
00058   virtual void SetInput( const InputPathType *path);
00059   virtual void SetInput( unsigned int, const TInputPath * path);
00060   const InputPathType * GetInput(void);
00061   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
00092 

Generated at Mon Jul 12 2010 19:26:26 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000