VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
Export
vtkIVExporter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkIVExporter.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 __vtkIVExporter_h
29
#define __vtkIVExporter_h
30
31
#include "vtkIOExportModule.h"
// For export macro
32
#include "
vtkExporter.h
"
33
34
class
vtkLight
;
35
class
vtkActor
;
36
class
vtkPoints
;
37
class
vtkDataArray
;
38
class
vtkUnsignedCharArray
;
39
40
class
VTKIOEXPORT_EXPORT
vtkIVExporter
:
public
vtkExporter
41
{
42
public
:
43
static
vtkIVExporter
*
New
();
44
vtkTypeMacro(
vtkIVExporter
,
vtkExporter
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent);
46
48
49
vtkSetStringMacro(FileName);
50
vtkGetStringMacro
(FileName);
52
53
protected
:
54
vtkIVExporter
();
55
~
vtkIVExporter
();
56
57
void
WriteData
();
58
void
WriteALight(
vtkLight
*aLight, FILE *fp);
59
void
WriteAnActor(
vtkActor
*anActor, FILE *fp);
60
void
WritePointData(
vtkPoints
*
points
,
vtkDataArray
*normals,
61
vtkDataArray
*tcoords,
vtkUnsignedCharArray
*colors,
62
FILE *fp);
63
char
*
FileName
;
64
private
:
65
vtkIVExporter
(
const
vtkIVExporter
&);
// Not implemented.
66
void
operator=(
const
vtkIVExporter
&);
// Not implemented.
67
};
68
69
#endif
70
Generated on Thu May 24 2012 22:22:29 for VTK by
1.8.1