VTK
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 =========================================================================*/
28 #ifndef vtkSimplePointsWriter_h
29 #define vtkSimplePointsWriter_h
30 
31 #include "vtkIOLegacyModule.h" // For export macro
32 #include "vtkDataSetWriter.h"
33 
34 class VTKIOLEGACY_EXPORT vtkSimplePointsWriter : public vtkDataSetWriter
35 {
36 public:
37  static vtkSimplePointsWriter *New();
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
41  vtkGetMacro(DecimalPrecision, int);
42  vtkSetMacro(DecimalPrecision, int);
43 
44 protected:
47 
48  void WriteData() override;
49 
51 
52 private:
54  void operator=(const vtkSimplePointsWriter&) = delete;
55 };
56 
57 #endif
vtkDataSetWriter.h
vtkSimplePointsWriter::~vtkSimplePointsWriter
~vtkSimplePointsWriter() override
Definition: vtkSimplePointsWriter.h:46
vtkSimplePointsWriter::DecimalPrecision
int DecimalPrecision
Definition: vtkSimplePointsWriter.h:50
vtkDataSetWriter::WriteData
void WriteData() override
vtkSimplePointsWriter
write a file of xyz coordinates
Definition: vtkSimplePointsWriter.h:34
vtkDataSetWriter
write any type of vtk dataset to file
Definition: vtkDataSetWriter.h:33
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkDataSetWriter::New
static vtkDataSetWriter * New()
vtkDataSetWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.