VTK  9.3.20240328
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
21 VTK_ABI_NAMESPACE_BEGIN
22 class vtkTable;
23 
24 class VTKIOLEGACY_EXPORT vtkTableWriter : public vtkDataWriter
25 {
26 public:
27  static vtkTableWriter* New();
28  vtkTypeMacro(vtkTableWriter, vtkDataWriter);
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
32 
38 
39 protected:
40  vtkTableWriter() = default;
41  ~vtkTableWriter() override = default;
42 
43  void WriteData() override;
44 
46 
47 private:
48  vtkTableWriter(const vtkTableWriter&) = delete;
49  void operator=(const vtkTableWriter&) = delete;
50 };
51 
52 VTK_ABI_NAMESPACE_END
53 #endif
helper class for objects that write VTK data files
Definition: vtkDataWriter.h:37
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.
static vtkTableWriter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
vtkTableWriter()=default
vtkTable * GetInput(int port)
Get the input to this writer.
vtkTable * GetInput()
Get the input to this writer.
~vtkTableWriter() override=default
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:168
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447