VTK  9.4.20241112
vtkXMLPHyperTreeGridWriter.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
18#ifndef vtkXMLPHyperTreeGridWriter_h
19#define vtkXMLPHyperTreeGridWriter_h
20
22
23VTK_ABI_NAMESPACE_BEGIN
29
30class VTKIOPARALLELXML_EXPORT vtkXMLPHyperTreeGridWriter : public vtkXMLPDataObjectWriter
31{
32public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
41
45 const char* GetDefaultFileExtension() override;
46
47protected:
50
54 int FillInputPortInformation(int port, vtkInformation* info) override;
55
59 const char* GetDataSetName() override;
60
65
71
75 int WritePiece(int index) override;
76
81 int WritePieceInternal() override;
82
86 void WritePData(vtkIndent indent) override;
87
88private:
90 void operator=(const vtkXMLPHyperTreeGridWriter&) = delete;
91
95 void SetupPieceFileNameExtension() override;
96};
97
98VTK_ABI_NAMESPACE_END
99#endif
supports function callbacks
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
Write VTK XML HyperTreeGrid files.
Write data in a parallel XML format.
virtual void SetupPieceFileNameExtension()
Initializes PieceFileNameExtension.
Write PVTK XML HyperTreeGrid files.
vtkHyperTreeGrid * GetInput()
Get/Set the writer's input.
const char * GetDataSetName() override
Return the type of data being actually written.
~vtkXMLPHyperTreeGridWriter() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkXMLHyperTreeGridWriter * CreateHyperTreeGridPieceWriter(int index)
Create a table writer for the actual piece.
vtkXMLWriter * CreatePieceWriter(int index)
Create a writer for the piece at a given index.
int FillInputPortInformation(int port, vtkInformation *info) override
see algorithm for more info
static vtkXMLPHyperTreeGridWriter * New()
int WritePieceInternal() override
Method called by the superclass::WriteInternal().
void WritePData(vtkIndent indent) override
Write Data associated with the input dataset.
const char * GetDefaultFileExtension() override
Get the default file extension for files written by this writer.
int WritePiece(int index) override
Write a piece of the dataset on disk.
Superclass for VTK's XML file writers.