VTK  9.4.20241203
vtkRectilinearGridWriter.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
17#ifndef vtkRectilinearGridWriter_h
18#define vtkRectilinearGridWriter_h
19
20#include "vtkDataWriter.h"
21#include "vtkIOLegacyModule.h" // For export macro
22
23VTK_ABI_NAMESPACE_BEGIN
25
26class VTKIOLEGACY_EXPORT vtkRectilinearGridWriter : public vtkDataWriter
27{
28public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
34
40
42
49 vtkSetMacro(WriteExtent, bool);
50 vtkGetMacro(WriteExtent, bool);
51 vtkBooleanMacro(WriteExtent, bool);
53
54protected:
56 : WriteExtent(false)
57 {
58 }
59 ~vtkRectilinearGridWriter() override = default;
60
61 void WriteData() override;
62
63 int FillInputPortInformation(int port, vtkInformation* info) override;
64
66
67private:
69 void operator=(const vtkRectilinearGridWriter&) = delete;
70};
71
72VTK_ABI_NAMESPACE_END
73#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 vtk rectilinear grid data file
vtkRectilinearGrid * GetInput()
Get the input to this writer.
vtkRectilinearGrid * GetInput(int port)
Get the input to this writer.
static vtkRectilinearGridWriter * New()
void WriteData() override
~vtkRectilinearGridWriter() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
a dataset that is topologically regular with variable spacing in the three coordinate directions