VTK  9.4.20250207
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
22VTK_ABI_NAMESPACE_BEGIN
23class vtkImageData;
24
25class VTKIOLEGACY_EXPORT vtkStructuredPointsWriter : public vtkDataWriter
26{
27public:
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
53protected:
55 : WriteExtent(false)
56 {
57 }
58 ~vtkStructuredPointsWriter() override = default;
59
60 void WriteData() override;
61
62 int FillInputPortInformation(int port, vtkInformation* info) override;
63
65
66private:
68 void operator=(const vtkStructuredPointsWriter&) = delete;
69};
70
71VTK_ABI_NAMESPACE_END
72#endif
helper class for objects that write VTK data files
topologically and geometrically regular array of data
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
write vtk structured points data file
vtkImageData * GetInput()
Get the input to this writer.
~vtkStructuredPointsWriter() override=default
vtkImageData * GetInput(int port)
Get the input to this writer.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
static vtkStructuredPointsWriter * New()
void WriteData() override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.