VTK: IO/Legacy/vtkGenericDataObjectWriter.h Source File

| VTK 9.3.1

vtkGenericDataObjectWriter.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
14 #ifndef vtkGenericDataObjectWriter_h
15 #define vtkGenericDataObjectWriter_h
16
17 #include "vtkDataWriter.h"
18 #include "vtkIOLegacyModule.h" // For export macro
19
20 VTK_ABI_NAMESPACE_BEGIN
21 class VTKIOLEGACY_EXPORT vtkGenericDataObjectWriter : public vtkDataWriter
22 {
23 public:
24 static vtkGenericDataObjectWriter* New();
25 vtkTypeMacro(vtkGenericDataObjectWriter, vtkDataWriter);
26 void PrintSelf(ostream& os, vtkIndent indent) override;
27
28 protected:
29 vtkGenericDataObjectWriter();
30 ~vtkGenericDataObjectWriter() override;
31
32 void WriteData() override;
33 int FillInputPortInformation(int port, vtkInformation* info) override;
34
35 private:
36 vtkGenericDataObjectWriter(const vtkGenericDataObjectWriter&) = delete;
37 void operator=(const vtkGenericDataObjectWriter&) = delete;
38 };
39
40 VTK_ABI_NAMESPACE_END
41 #endif
vtkDataWriter
helper class for objects that write VTK data files
Definition: vtkDataWriter.h:37
vtkGenericDataObjectWriter
writes any type of vtk data object to file
Definition: vtkGenericDataObjectWriter.h:22
vtkGenericDataObjectWriter::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkGenericDataObjectWriter::~vtkGenericDataObjectWriter
~vtkGenericDataObjectWriter() override
vtkGenericDataObjectWriter::vtkGenericDataObjectWriter
vtkGenericDataObjectWriter()
vtkGenericDataObjectWriter::WriteData
void WriteData() override
vtkGenericDataObjectWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
vtkGenericDataObjectWriter::New
static vtkGenericDataObjectWriter * New()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkDataWriter.h