00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkXMLPUnstructuredDataWriter.h,v $ 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 "vtkXMLPDataWriter.h" 00027 00028 class vtkPointSet; 00029 class vtkXMLUnstructuredDataWriter; 00030 00031 class VTK_IO_EXPORT vtkXMLPUnstructuredDataWriter : public vtkXMLPDataWriter 00032 { 00033 public: 00034 vtkTypeRevisionMacro(vtkXMLPUnstructuredDataWriter,vtkXMLPDataWriter); 00035 void PrintSelf(ostream& os, vtkIndent indent); 00036 00037 protected: 00038 vtkXMLPUnstructuredDataWriter(); 00039 ~vtkXMLPUnstructuredDataWriter(); 00040 00041 vtkPointSet* GetInputAsPointSet(); 00042 00043 virtual vtkXMLUnstructuredDataWriter* CreateUnstructuredPieceWriter()=0; 00044 vtkXMLWriter* CreatePieceWriter(int index); 00045 void WritePData(vtkIndent indent); 00046 00047 private: 00048 vtkXMLPUnstructuredDataWriter(const vtkXMLPUnstructuredDataWriter&); // Not implemented. 00049 void operator=(const vtkXMLPUnstructuredDataWriter&); // Not implemented. 00050 }; 00051 00052 #endif