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
25 #ifndef vtkSimplePointsWriter_h
26 #define vtkSimplePointsWriter_h
27 
28 #include "vtkDataSetWriter.h"
29 #include "vtkIOLegacyModule.h" // For export macro
30 
31 VTK_ABI_NAMESPACE_BEGIN
32 class VTKIOLEGACY_EXPORT vtkSimplePointsWriter : public vtkDataSetWriter
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
39  vtkGetMacro(DecimalPrecision, int);
40  vtkSetMacro(DecimalPrecision, int);
41 
42 protected:
44  ~vtkSimplePointsWriter() override = default;
45 
46  void WriteData() override;
47 
49 
50 private:
52  void operator=(const vtkSimplePointsWriter&) = delete;
53 };
54 
55 VTK_ABI_NAMESPACE_END
56 #endif
write any type of vtk dataset to file
a simple class to control print indentation
Definition: vtkIndent.h:38
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