VTK  9.1.0
vtkXMLPHyperTreeGridWriter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkXMLPHyperTreeGridWriter.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=========================================================================*/
30#ifndef vtkXMLPHyperTreeGridWriter_h
31#define vtkXMLPHyperTreeGridWriter_h
32
34
40
41class VTKIOPARALLELXML_EXPORT vtkXMLPHyperTreeGridWriter : public vtkXMLPDataObjectWriter
42{
43public:
46 void PrintSelf(ostream& os, vtkIndent indent) override;
47
52
56 const char* GetDefaultFileExtension() override;
57
58protected:
61
66
70 const char* GetDataSetName() override;
71
76
82
86 int WritePiece(int index) override;
87
92 int WritePieceInternal() override;
93
97 void WritePData(vtkIndent indent) override;
98
99private:
101 void operator=(const vtkXMLPHyperTreeGridWriter&) = delete;
102
106 void SetupPieceFileNameExtension() override;
107};
108
109#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:113
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.
Definition: vtkXMLWriter.h:62
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
@ index
Definition: vtkX3D.h:252