VTK  9.4.20250114
vtkTableWriter.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
16#ifndef vtkTableWriter_h
17#define vtkTableWriter_h
18
19#include "vtkDataWriter.h"
20#include "vtkIOLegacyModule.h" // For export macro
21VTK_ABI_NAMESPACE_BEGIN
22class vtkTable;
23
24class VTKIOLEGACY_EXPORT vtkTableWriter : public vtkDataWriter
25{
26public:
29 void PrintSelf(ostream& os, vtkIndent indent) override;
30
32
36 vtkTable* GetInput(int port);
38
39protected:
40 vtkTableWriter() = default;
41 ~vtkTableWriter() override = default;
42
43 void WriteData() override;
44
45 int FillInputPortInformation(int port, vtkInformation* info) override;
46
47private:
48 vtkTableWriter(const vtkTableWriter&) = delete;
49 void operator=(const vtkTableWriter&) = delete;
50};
51
52VTK_ABI_NAMESPACE_END
53#endif
helper class for objects that write VTK data files
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
write vtkTable to a file
void WriteData() override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
vtkTableWriter()=default
static vtkTableWriter * New()
~vtkTableWriter() override=default
vtkTable * GetInput(int port)
Get the input to this writer.
vtkTable * GetInput()
Get the input to this writer.
A table, which contains similar-typed columns of data.
Definition vtkTable.h:169