VTK  9.3.20240423
vtkXMLPTableWriter.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
21#ifndef vtkXMLPTableWriter_h
22#define vtkXMLPTableWriter_h
23
24#include "vtkIOParallelXMLModule.h" // For export macro
26
27VTK_ABI_NAMESPACE_BEGIN
30class vtkTable;
33
34class VTKIOPARALLELXML_EXPORT vtkXMLPTableWriter : public vtkXMLPDataObjectWriter
35{
36public:
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40
45
49 const char* GetDefaultFileExtension() override;
50
51protected:
54
58 int FillInputPortInformation(int port, vtkInformation* info) override;
59
63 const char* GetDataSetName() override;
64
69
75
79 int WritePiece(int index) override;
80
85 int WritePieceInternal() override;
86
90 void WritePData(vtkIndent indent) override;
91
96
97private:
99 void operator=(const vtkXMLPTableWriter&) = delete;
100
104 void SetupPieceFileNameExtension() override;
105};
106
107VTK_ABI_NAMESPACE_END
108#endif
supports function callbacks
represent and manipulate attribute data in a dataset
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
A table, which contains similar-typed columns of data.
Definition vtkTable.h:168
Write data in a parallel XML format.
virtual void SetupPieceFileNameExtension()
Initializes PieceFileNameExtension.
Write PVTK XML UnstructuredGrid files.
int FillInputPortInformation(int port, vtkInformation *info) override
see algorithm for more info
void WritePData(vtkIndent indent) override
Write Data associated with the input dataset.
int WritePieceInternal() override
Method called by the superclass::WriteInternal().
~vtkXMLPTableWriter() override
static vtkXMLPTableWriter * New()
const char * GetDefaultFileExtension() override
Get the default file extension for files written by this writer.
void WritePRowData(vtkDataSetAttributes *ds, vtkIndent indent)
Write RowData.
vtkTable * GetInput()
Get/Set the writer's input.
vtkXMLWriter * CreatePieceWriter(int index)
Create a writer for the piece at a given index.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int WritePiece(int index) override
Write a piece of the dataset on disk.
vtkXMLTableWriter * CreateTablePieceWriter()
Create a table writer for the actual piece.
const char * GetDataSetName() override
Return the type of data being actually written.
Write VTK XML Table files.
Superclass for VTK's XML file writers.