VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkXMLPStructuredDataWriter.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00022 #ifndef __vtkXMLPStructuredDataWriter_h 00023 #define __vtkXMLPStructuredDataWriter_h 00024 00025 #include "vtkIOXMLModule.h" // For export macro 00026 #include "vtkXMLPDataWriter.h" 00027 00028 class vtkXMLStructuredDataWriter; 00029 00030 class VTKIOXML_EXPORT vtkXMLPStructuredDataWriter : public vtkXMLPDataWriter 00031 { 00032 public: 00033 vtkTypeMacro(vtkXMLPStructuredDataWriter,vtkXMLPDataWriter); 00034 void PrintSelf(ostream& os, vtkIndent indent); 00035 00036 // See the vtkAlgorithm for a description of what these do 00037 virtual int ProcessRequest(vtkInformation* request, 00038 vtkInformationVector** inputVector, 00039 vtkInformationVector* outputVector); 00040 00041 protected: 00042 vtkXMLPStructuredDataWriter(); 00043 ~vtkXMLPStructuredDataWriter(); 00044 00045 virtual vtkXMLStructuredDataWriter* CreateStructuredPieceWriter()=0; 00046 void WritePrimaryElementAttributes(ostream &os, vtkIndent indent); 00047 void WritePPieceAttributes(int index); 00048 vtkXMLWriter* CreatePieceWriter(int index); 00049 00050 virtual int RequestUpdateExtent(vtkInformation* request, 00051 vtkInformationVector** inputVector, 00052 vtkInformationVector* outputVector); 00053 00054 private: 00055 vtkXMLPStructuredDataWriter(const vtkXMLPStructuredDataWriter&); // Not implemented. 00056 void operator=(const vtkXMLPStructuredDataWriter&); // Not implemented. 00057 }; 00058 00059 #endif