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

IO/vtkXMLPUnstructuredDataWriter.h

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