00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkXMLPUnstructuredDataWriter.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00038 #ifndef __vtkXMLPUnstructuredDataWriter_h 00039 #define __vtkXMLPUnstructuredDataWriter_h 00040 00041 #include "vtkXMLPDataWriter.h" 00042 00043 class vtkPointSet; 00044 class vtkXMLUnstructuredDataWriter; 00045 00046 class VTK_IO_EXPORT vtkXMLPUnstructuredDataWriter : public vtkXMLPDataWriter 00047 { 00048 public: 00049 vtkTypeRevisionMacro(vtkXMLPUnstructuredDataWriter,vtkXMLPDataWriter); 00050 void PrintSelf(ostream& os, vtkIndent indent); 00051 00052 protected: 00053 vtkXMLPUnstructuredDataWriter(); 00054 ~vtkXMLPUnstructuredDataWriter(); 00055 00056 vtkPointSet* GetInputAsPointSet(); 00057 00058 virtual vtkXMLUnstructuredDataWriter* CreateUnstructuredPieceWriter()=0; 00059 vtkXMLWriter* CreatePieceWriter(int index); 00060 void WritePData(vtkIndent indent); 00061 00062 private: 00063 vtkXMLPUnstructuredDataWriter(const vtkXMLPUnstructuredDataWriter&); // Not implemented. 00064 void operator=(const vtkXMLPUnstructuredDataWriter&); // Not implemented. 00065 }; 00066 00067 #endif