VTK  9.3.1
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
void WriteData() override
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()
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
write vtk structured points data file
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.