VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
vtkSTLWriter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkSTLWriter.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
=========================================================================*/
31
#ifndef __vtkSTLWriter_h
32
#define __vtkSTLWriter_h
33
34
#include "
vtkPolyDataWriter.h
"
35
36
class
VTK_IO_EXPORT
vtkSTLWriter
:
public
vtkPolyDataWriter
37
{
38
public
:
39
static
vtkSTLWriter
*
New
();
40
vtkTypeMacro(
vtkSTLWriter
,
vtkPolyDataWriter
);
41
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
43
protected
:
44
vtkSTLWriter
();
45
~vtkSTLWriter
() {};
46
47
void
WriteData
();
48
49
void
WriteBinarySTL(
vtkPoints
*pts,
vtkCellArray
*polys);
50
void
WriteAsciiSTL(
vtkPoints
*pts,
vtkCellArray
*polys);
51
private
:
52
vtkSTLWriter
(
const
vtkSTLWriter
&);
// Not implemented.
53
void
operator=(
const
vtkSTLWriter
&);
// Not implemented.
54
};
55
56
#endif
57
Generated on Sun Sep 9 2012 13:03:42 for VTK by
1.8.1.2