#ifndef _vtk_DatasetToImageGenerator_h_ #define _vtk_DatasetToImageGenerator_h_ #include #include /** EXPERIMENTAL CODE --- DO NOT USE FOR NOW -- Nicolas Toussaint */ /** This Class merges two images (any type of data) into a third one. Input image must have the same dimensions and Scalar Type */ class vtkDataSet; class vtkImageData; class VTK_EXPORT vtkDatasetToImageGenerator: public vtkObject { public: static vtkDatasetToImageGenerator *New(); vtkTypeRevisionMacro(vtkDatasetToImageGenerator, vtkObject); vtkSetObjectMacro (Input, vtkDataSet); vtkGetObjectMacro (Input, vtkDataSet); vtkGetObjectMacro (Output, vtkImageData); /* virtual int RequestData(vtkInformation *request, */ /* vtkInformationVector **inputVector, */ /* vtkInformationVector *outputVector); */ /** Call this function to compute the data */ void Update(void); protected: vtkDatasetToImageGenerator(); ~vtkDatasetToImageGenerator(); private: vtkImageData* Output; vtkDataSet* Input; }; #endif