Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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 =========================================================================*/
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   // See the vtkAlgorithm for a desciption of what these do
00038   int ProcessRequest(vtkInformation*,
00039                      vtkInformationVector**,
00040                      vtkInformationVector*);
00041   
00042 protected:
00043   vtkXMLPUnstructuredDataWriter();
00044   ~vtkXMLPUnstructuredDataWriter();
00045   
00046   vtkPointSet* GetInputAsPointSet();
00047   
00048   virtual vtkXMLUnstructuredDataWriter* CreateUnstructuredPieceWriter()=0;
00049   vtkXMLWriter* CreatePieceWriter(int index);
00050   void WritePData(vtkIndent indent);
00051   
00052 private:
00053   vtkXMLPUnstructuredDataWriter(const vtkXMLPUnstructuredDataWriter&);  // Not implemented.
00054   void operator=(const vtkXMLPUnstructuredDataWriter&);  // Not implemented.
00055 };
00056 
00057 #endif

Generated on Mon Jan 21 23:07:32 2008 for VTK by  doxygen 1.4.3-20050530