VTK  9.3.20231211
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 
23 VTK_ABI_NAMESPACE_BEGIN
24 class vtkRectilinearGrid;
25 
26 class VTKIOLEGACY_EXPORT vtkRectilinearGridWriter : public vtkDataWriter
27 {
28 public:
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 
54 protected:
56  : WriteExtent(false)
57  {
58  }
59  ~vtkRectilinearGridWriter() override = default;
60 
61  void WriteData() override;
62 
64 
66 
67 private:
69  void operator=(const vtkRectilinearGridWriter&) = delete;
70 };
71 
72 VTK_ABI_NAMESPACE_END
73 #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 vtk rectilinear grid data file
vtkRectilinearGrid * GetInput()
Get the input to this writer.
vtkRectilinearGrid * GetInput(int port)
Get the input to this writer.
void WriteData() override
~vtkRectilinearGridWriter() override=default
static vtkRectilinearGridWriter * New()
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
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447