VTK  9.3.20240412
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 
23 VTK_ABI_NAMESPACE_BEGIN
24 class vtkCallbackCommand;
26 class vtkHyperTreeGrid;
29 
30 class VTKIOPARALLELXML_EXPORT vtkXMLPHyperTreeGridWriter : public vtkXMLPDataObjectWriter
31 {
32 public:
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
41 
45  const char* GetDefaultFileExtension() override;
46 
47 protected:
50 
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 
88 private:
90  void operator=(const vtkXMLPHyperTreeGridWriter&) = delete;
91 
95  void SetupPieceFileNameExtension() override;
96 };
97 
98 VTK_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.
vtkXMLWriter * CreatePieceWriter(int index)
Create a writer for the piece at a given index.
vtkXMLHyperTreeGridWriter * CreateHyperTreeGridPieceWriter(int index)
Create a table writer for the actual piece.
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.
const char * GetDefaultFileExtension() override
Get the default file extension for files written by this writer.
int FillInputPortInformation(int port, vtkInformation *info) override
see algorithm for more info
int WritePieceInternal() override
Method called by the superclass::WriteInternal().
vtkHyperTreeGrid * GetInput()
Get/Set the writer's input.
static vtkXMLPHyperTreeGridWriter * New()
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.
Superclass for VTK's XML file writers.
Definition: vtkXMLWriter.h:54
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
@ index
Definition: vtkX3D.h:246