VTK  9.3.0
vtkStructuredPointsWriter.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
16 #ifndef vtkStructuredPointsWriter_h
17 #define vtkStructuredPointsWriter_h
18 
19 #include "vtkDataWriter.h"
20 #include "vtkIOLegacyModule.h" // For export macro
21 
22 VTK_ABI_NAMESPACE_BEGIN
23 class vtkImageData;
24 
25 class VTKIOLEGACY_EXPORT vtkStructuredPointsWriter : public vtkDataWriter
26 {
27 public:
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
33 
39 
41 
48  vtkSetMacro(WriteExtent, bool);
49  vtkGetMacro(WriteExtent, bool);
50  vtkBooleanMacro(WriteExtent, bool);
52 
53 protected:
55  : WriteExtent(false)
56  {
57  }
58  ~vtkStructuredPointsWriter() override = default;
59 
60  void WriteData() override;
61 
63 
65 
66 private:
68  void operator=(const vtkStructuredPointsWriter&) = delete;
69 };
70 
71 VTK_ABI_NAMESPACE_END
72 #endif
helper class for objects that write VTK data files
Definition: vtkDataWriter.h:37
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
a simple class to control print indentation
Definition: vtkIndent.h:29
Store vtkAlgorithm input/output information.
write vtk structured points data file
vtkImageData * GetInput()
Get the input to this writer.
~vtkStructuredPointsWriter() override=default
static vtkStructuredPointsWriter * New()
vtkImageData * GetInput(int port)
Get the input to this writer.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
void WriteData() override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447