- // constructor - destructor
- ImageToImageGenericFilter();
-
- // Types
- typedef ImageToImageGenericFilter Self;
- typedef Object Superclass;
- typedef itk::SmartPointer<Self> Pointer;
- typedef itk::SmartPointer<const Self> ConstPointer;
-
- // Generic IO
- /// Returns the dimension and pixel type of the *first* input
- void GetInputImageDimensionAndPixelType(unsigned int& dim, std::string& pixeltype,unsigned int & components);
-
- // File IO
- void SetInputFilename(const std::string & filename);
- void AddInputFilename(const std::string & filename);
- void SetInputFilenames(const std::vector<std::string> & filenames);
- void SetOutputFilename(const std::string & filename);
- void AddOutputFilename(const std::string & filename);
- void SetOutputFilenames(const std::vector<std::string> & filenames);
- std::string GetOutputFilename();
- void SetIOVerbose(bool b) { mIOVerbose = b; }
-
- // VVImage IO
- void SetInputVVImage (vvImage::Pointer input);
- void SetInputVVImages (std::vector<vvImage::Pointer> input);
- void AddInputVVImage (vvImage::Pointer input);
- vvImage::Pointer GetOutputVVImage ();
- std::vector<vvImage::Pointer> GetOutputVVImages ();
-
- /// Main function to implement
- virtual void Update() = 0;