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