VTK  9.3.20240420
vtkCellGridWriter.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
13#ifndef vtkCellGridWriter_h
14#define vtkCellGridWriter_h
15
16#include "vtkIOCellGridModule.h" // For export macro.
17#include "vtkWriter.h"
18
19VTK_ABI_NAMESPACE_BEGIN
20
21class vtkCellGrid;
22
23class VTKIOCELLGRID_EXPORT vtkCellGridWriter : public vtkWriter
24{
25public:
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
30 vtkSetStringMacro(FileName);
31 vtkGetStringMacro(FileName);
32
35
36protected:
39
40 int FillInputPortInformation(int port, vtkInformation* info) override;
41 void WriteData() override;
42
43 char* FileName;
44
45private:
46 vtkCellGridWriter(const vtkCellGridWriter&) = delete;
47 void operator=(const vtkCellGridWriter&) = delete;
48};
49
50VTK_ABI_NAMESPACE_END
51
52#endif // vtkCellGridWriter_h
Write a cell-grid file.
static vtkCellGridWriter * New()
~vtkCellGridWriter() override
vtkCellGrid * GetInput(int port)
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void WriteData() override
vtkCellGrid * GetInput()
Visualization data composed of cells of arbitrary type.
Definition vtkCellGrid.h:44
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
abstract class to write data to file(s)
Definition vtkWriter.h:35