VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkXMLPUnstructuredDataWriter.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 =========================================================================*/ 00023 #ifndef __vtkXMLPUnstructuredDataWriter_h 00024 #define __vtkXMLPUnstructuredDataWriter_h 00025 00026 #include "vtkIOXMLModule.h" // For export macro 00027 #include "vtkXMLPDataWriter.h" 00028 00029 class vtkPointSet; 00030 class vtkXMLUnstructuredDataWriter; 00031 00032 class VTKIOXML_EXPORT vtkXMLPUnstructuredDataWriter : public vtkXMLPDataWriter 00033 { 00034 public: 00035 vtkTypeMacro(vtkXMLPUnstructuredDataWriter,vtkXMLPDataWriter); 00036 void PrintSelf(ostream& os, vtkIndent indent); 00037 00038 // See the vtkAlgorithm for a desciption of what these do 00039 int ProcessRequest(vtkInformation*, 00040 vtkInformationVector**, 00041 vtkInformationVector*); 00042 00043 protected: 00044 vtkXMLPUnstructuredDataWriter(); 00045 ~vtkXMLPUnstructuredDataWriter(); 00046 00047 vtkPointSet* GetInputAsPointSet(); 00048 00049 virtual vtkXMLUnstructuredDataWriter* CreateUnstructuredPieceWriter()=0; 00050 vtkXMLWriter* CreatePieceWriter(int index); 00051 void WritePData(vtkIndent indent); 00052 00053 private: 00054 vtkXMLPUnstructuredDataWriter(const vtkXMLPUnstructuredDataWriter&); // Not implemented. 00055 void operator=(const vtkXMLPUnstructuredDataWriter&); // Not implemented. 00056 }; 00057 00058 #endif