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:
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
28 protected:
30  ~vtkGenericDataObjectWriter() override;
31 
32  void WriteData() override;
34 
35 private:
37  void operator=(const vtkGenericDataObjectWriter&) = delete;
38 };
39 
40 VTK_ABI_NAMESPACE_END
41 #endif
void WriteData() override
Store vtkAlgorithm input/output information.
helper class for objects that write VTK data files
Definition: vtkDataWriter.h:36
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
static vtkDataWriter * New()
Create object with default header, ASCII format, and default names for scalars, vectors, tensors, normals, and texture coordinates.
writes any type of vtk data object to file