VTK  9.3.0
vtkSimplePointsWriter.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 vtkSimplePointsWriter_h
17 #define vtkSimplePointsWriter_h
18 
19 #include "vtkDataSetWriter.h"
20 #include "vtkIOLegacyModule.h" // For export macro
21 
22 VTK_ABI_NAMESPACE_BEGIN
23 class VTKIOLEGACY_EXPORT vtkSimplePointsWriter : public vtkDataSetWriter
24 {
25 public:
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
30  vtkGetMacro(DecimalPrecision, int);
31  vtkSetMacro(DecimalPrecision, int);
32 
33 protected:
35  ~vtkSimplePointsWriter() override = default;
36 
37  void WriteData() override;
38 
40 
41 private:
43  void operator=(const vtkSimplePointsWriter&) = delete;
44 };
45 
46 VTK_ABI_NAMESPACE_END
47 #endif
write any type of vtk dataset to file
a simple class to control print indentation
Definition: vtkIndent.h:29
write a file of xyz coordinates
void WriteData() override
static vtkSimplePointsWriter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkSimplePointsWriter() override=default