VTK
9.0.1
IO
Legacy
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
=========================================================================*/
25
#ifndef vtkSimplePointsWriter_h
26
#define vtkSimplePointsWriter_h
27
28
#include "
vtkDataSetWriter.h
"
29
#include "vtkIOLegacyModule.h"
// For export macro
30
31
class
VTKIOLEGACY_EXPORT
vtkSimplePointsWriter
:
public
vtkDataSetWriter
32
{
33
public
:
34
static
vtkSimplePointsWriter
*
New
();
35
vtkTypeMacro(
vtkSimplePointsWriter
,
vtkDataSetWriter
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
37
38
vtkGetMacro(DecimalPrecision,
int
);
39
vtkSetMacro(DecimalPrecision,
int
);
40
41
protected
:
42
vtkSimplePointsWriter
();
43
~vtkSimplePointsWriter
()
override
{}
44
45
void
WriteData
()
override
;
46
47
int
DecimalPrecision
;
48
49
private
:
50
vtkSimplePointsWriter
(
const
vtkSimplePointsWriter
&) =
delete
;
51
void
operator=(
const
vtkSimplePointsWriter
&) =
delete
;
52
};
53
54
#endif
vtkDataSetWriter.h
vtkSimplePointsWriter::~vtkSimplePointsWriter
~vtkSimplePointsWriter() override
Definition:
vtkSimplePointsWriter.h:43
vtkSimplePointsWriter::DecimalPrecision
int DecimalPrecision
Definition:
vtkSimplePointsWriter.h:47
vtkDataSetWriter::WriteData
void WriteData() override
vtkSimplePointsWriter
write a file of xyz coordinates
Definition:
vtkSimplePointsWriter.h:31
vtkDataSetWriter
write any type of vtk dataset to file
Definition:
vtkDataSetWriter.h:30
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
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.
Generated on Thu Jun 25 2020 08:30:53 for VTK by
1.8.17