Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkXMLPUnstructuredDataWriter.h

Go to the documentation of this file.
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 =========================================================================*/
00034 #ifndef __vtkXMLPUnstructuredDataWriter_h
00035 #define __vtkXMLPUnstructuredDataWriter_h
00036 
00037 #include "vtkXMLPDataWriter.h"
00038 
00039 class vtkPointSet;
00040 class vtkXMLUnstructuredDataWriter;
00041 
00042 class VTK_IO_EXPORT vtkXMLPUnstructuredDataWriter : public vtkXMLPDataWriter
00043 {
00044 public:
00045   vtkTypeRevisionMacro(vtkXMLPUnstructuredDataWriter,vtkXMLPDataWriter);
00046   void PrintSelf(ostream& os, vtkIndent indent);  
00047   
00048 protected:
00049   vtkXMLPUnstructuredDataWriter();
00050   ~vtkXMLPUnstructuredDataWriter();
00051   
00052   vtkPointSet* GetInputAsPointSet();
00053   
00054   virtual vtkXMLUnstructuredDataWriter* CreateUnstructuredPieceWriter()=0;
00055   vtkXMLWriter* CreatePieceWriter(int index);
00056   void WritePData(vtkIndent indent);
00057   
00058 private:
00059   vtkXMLPUnstructuredDataWriter(const vtkXMLPUnstructuredDataWriter&);  // Not implemented.
00060   void operator=(const vtkXMLPUnstructuredDataWriter&);  // Not implemented.
00061 };
00062 
00063 #endif