VTK  9.3.1
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:
29  static vtkRectilinearGridWriter* New();
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
void WriteData() override
a dataset that is topologically regular with variable spacing in the three coordinate directions ...
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
vtkDataObject * GetInput()
write vtk rectilinear grid data file
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.