VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkOBJExporter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkOBJExporter.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
=========================================================================*/
30
#ifndef __vtkOBJExporter_h
31
#define __vtkOBJExporter_h
32
33
#include "
vtkExporter.h
"
34
35
class
vtkActor
;
36
37
class
VTK_RENDERING_EXPORT
vtkOBJExporter
:
public
vtkExporter
38
{
39
public
:
40
static
vtkOBJExporter
*
New
();
41
vtkTypeMacro(
vtkOBJExporter
,
vtkExporter
);
42
void
PrintSelf
(ostream& os,
vtkIndent
indent);
43
45
47
vtkSetStringMacro(FilePrefix);
48
vtkGetStringMacro(FilePrefix);
50
51
protected
:
52
vtkOBJExporter
();
53
~
vtkOBJExporter
();
54
55
void
WriteData
();
56
void
WriteAnActor(
vtkActor
*anActor, FILE *fpObj, FILE *fpMat,
int
&
id
);
57
char
*
FilePrefix
;
58
private
:
59
vtkOBJExporter
(
const
vtkOBJExporter
&);
// Not implemented.
60
void
operator=(
const
vtkOBJExporter
&);
// Not implemented.
61
};
62
63
#endif
64
Generated on Thu Mar 13 2014 08:10:33 for VTK by
1.8.1.2