VTK  9.1.0
vtkXMLPDataWriter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkXMLPDataWriter.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=========================================================================*/
25#ifndef vtkXMLPDataWriter_h
26#define vtkXMLPDataWriter_h
27
28#include "vtkIOParallelXMLModule.h" // For export macro
30
33
34class VTKIOPARALLELXML_EXPORT vtkXMLPDataWriter : public vtkXMLPDataObjectWriter
35{
36public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
40protected:
43
45
46 void WritePData(vtkIndent indent) override;
47
48 int WritePieceInternal() override;
49
50 int WritePiece(int index) override;
51
52 void WritePrimaryElementAttributes(ostream& os, vtkIndent indent) override;
53
54private:
55 vtkXMLPDataWriter(const vtkXMLPDataWriter&) = delete;
56 void operator=(const vtkXMLPDataWriter&) = delete;
57
61 void SetupPieceFileNameExtension() override;
62};
63
64#endif
supports function callbacks
a simple class to control print indentation
Definition: vtkIndent.h:113
Multiprocessing communication superclass.
Write data in a parallel XML format.
virtual void SetupPieceFileNameExtension()
Initializes PieceFileNameExtension.
Write data in a parallel XML format.
int WritePieceInternal() override
Method called by WriteInternal().
virtual vtkXMLWriter * CreatePieceWriter(int index)=0
void WritePData(vtkIndent indent) override
Write Data associated with the input dataset.
int WritePiece(int index) override
Write a piece of the dataset on disk.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkXMLPDataWriter() override
void WritePrimaryElementAttributes(ostream &os, vtkIndent indent) override
Superclass for VTK's XML file writers.
Definition: vtkXMLWriter.h:62
@ index
Definition: vtkX3D.h:252