/*========================================================================= Program: Visualization Toolkit Module: $RCSfile: vtkXMLWriter.h,v $ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notice for more information. =========================================================================*/ // .NAME vtkXMLWriter - Superclass for VTK's XML file writers. // .SECTION Description // vtkXMLWriter provides methods implementing most of the // functionality needed to write VTK XML file formats. Concrete // subclasses provide actual writer implementations calling upon this // functionality. #ifndef __vtkDataManagerWriter_h #define __vtkDataManagerWriter_h #include "vtkXMLWriter.h" class vtkDataManager; class VTK_EXPORT vtkDataManagerWriter : public vtkXMLWriter { public: static vtkDataManagerWriter* New(); vtkTypeRevisionMacro(vtkDataManagerWriter,vtkXMLWriter); virtual const char* GetDefaultFileExtension() { return ".dms"; } virtual const char* GetDataSetName() { return "vtkDataManager"; } void SetDataManager(vtkDataManager *); vtkDataManager *GetDataManager(); int ProcessRequest (vtkInformation* request, vtkInformationVector** inputVector, vtkInformationVector* outputVector); protected: vtkDataManagerWriter(); ~vtkDataManagerWriter(); // see algorithm for more info virtual int FillInputPortInformation(int port, vtkInformation* info); private: vtkDataManagerWriter(const vtkDataManagerWriter&); // Not implemented. void operator=(const vtkDataManagerWriter&); // Not implemented. }; #endif