00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
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&);
00082 void operator=(const Self&);
00083 };
00084
00085 }
00086
00087 #ifndef ITK_MANUAL_INSTANTIATION
00088 #include "itkPathToPathFilter.txx"
00089 #endif
00090
00091 #endif
00092