VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
Export
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 "vtkIOExportModule.h"
// For export macro
34
#include "
vtkExporter.h
"
35
36
class
vtkActor
;
37
38
class
VTKIOEXPORT_EXPORT
vtkOBJExporter
:
public
vtkExporter
39
{
40
public
:
41
static
vtkOBJExporter
*
New
();
42
vtkTypeMacro(
vtkOBJExporter
,
vtkExporter
);
43
void
PrintSelf
(ostream& os,
vtkIndent
indent);
44
46
48
vtkSetStringMacro(FilePrefix);
49
vtkGetStringMacro
(FilePrefix);
51
52
protected
:
53
vtkOBJExporter
();
54
~
vtkOBJExporter
();
55
56
void
WriteData
();
57
void
WriteAnActor(
vtkActor
*anActor, FILE *fpObj, FILE *fpMat,
int
&
id
);
58
char
*
FilePrefix
;
59
private
:
60
vtkOBJExporter
(
const
vtkOBJExporter
&);
// Not implemented.
61
void
operator=(
const
vtkOBJExporter
&);
// Not implemented.
62
};
63
64
#endif
65
Generated on Thu May 24 2012 22:22:29 for VTK by
1.8.1