VTK  9.1.0
vtkXMLPTableWriter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkXMLPTableWriter.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 vtkXMLPTableWriter_h
31#define vtkXMLPTableWriter_h
32
33#include "vtkIOParallelXMLModule.h" // For export macro
35
38class vtkTable;
41
42class VTKIOPARALLELXML_EXPORT vtkXMLPTableWriter : public vtkXMLPDataObjectWriter
43{
44public:
47 void PrintSelf(ostream& os, vtkIndent indent) override;
48
53
57 const char* GetDefaultFileExtension() override;
58
59protected:
62
67
71 const char* GetDataSetName() override;
72
77
83
87 int WritePiece(int index) override;
88
93 int WritePieceInternal() override;
94
98 void WritePData(vtkIndent indent) override;
99
104
105private:
106 vtkXMLPTableWriter(const vtkXMLPTableWriter&) = delete;
107 void operator=(const vtkXMLPTableWriter&) = delete;
108
112 void SetupPieceFileNameExtension() override;
113};
114
115#endif
supports function callbacks
represent and manipulate attribute data in a dataset
a simple class to control print indentation
Definition: vtkIndent.h:113
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:172
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.
Definition: vtkXMLWriter.h:62
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
@ index
Definition: vtkX3D.h:252