VTK
vtkXMLPUnstructuredDataWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXMLPUnstructuredDataWriter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
24 #ifndef vtkXMLPUnstructuredDataWriter_h
25 #define vtkXMLPUnstructuredDataWriter_h
26 
27 #include "vtkIOParallelXMLModule.h" // For export macro
28 #include "vtkXMLPDataWriter.h"
29 
30 class vtkPointSet;
32 
33 class VTKIOPARALLELXML_EXPORT vtkXMLPUnstructuredDataWriter : public vtkXMLPDataWriter
34 {
35 public:
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
39 protected:
42 
43  vtkPointSet* GetInputAsPointSet();
44  virtual vtkXMLUnstructuredDataWriter* CreateUnstructuredPieceWriter()=0;
45  vtkXMLWriter* CreatePieceWriter(int index) override;
46  void WritePData(vtkIndent indent) override;
47 private:
49  void operator=(const vtkXMLPUnstructuredDataWriter&) = delete;
50 };
51 
52 #endif
Superclass for VTK XML unstructured data writers.
abstract class for specifying dataset behavior
Definition: vtkPointSet.h:42
Superclass for PVTK XML unstructured data writers.
Superclass for VTK's XML file writers.
Definition: vtkXMLWriter.h:62
a simple class to control print indentation
Definition: vtkIndent.h:39
Write data in a parallel XML format.
void WritePData(vtkIndent indent) override
Write Data associated with the input dataset.
virtual vtkXMLWriter * CreatePieceWriter(int index)=0
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.