VTK  9.2.5
vtkSimplePointsWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSimplePointsWriter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
47 #ifndef vtkSimplePointsWriter_h
48 #define vtkSimplePointsWriter_h
49 
50 #include "vtkDataSetWriter.h"
51 #include "vtkIOLegacyModule.h" // For export macro
52 
53 class VTKIOLEGACY_EXPORT vtkSimplePointsWriter : public vtkDataSetWriter
54 {
55 public:
58  void PrintSelf(ostream& os, vtkIndent indent) override;
59 
60  vtkGetMacro(DecimalPrecision, int);
61  vtkSetMacro(DecimalPrecision, int);
62 
63 protected:
65  ~vtkSimplePointsWriter() override = default;
66 
67  void WriteData() override;
68 
70 
71 private:
73  void operator=(const vtkSimplePointsWriter&) = delete;
74 };
75 
76 #endif
write any type of vtk dataset to file
a simple class to control print indentation
Definition: vtkIndent.h:119
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