VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkImporter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImporter.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
=========================================================================*/
44
#ifndef __vtkImporter_h
45
#define __vtkImporter_h
46
47
#include "
vtkObject.h
"
48
49
class
vtkRenderWindow
;
50
class
vtkRenderer
;
51
52
class
VTK_RENDERING_EXPORT
vtkImporter
:
public
vtkObject
53
{
54
public
:
55
vtkTypeMacro(
vtkImporter
,
vtkObject
);
56
void
PrintSelf
(ostream& os,
vtkIndent
indent);
57
58
60
62
vtkGetObjectMacro(Renderer,
vtkRenderer
);
64
66
72
virtual
void
SetRenderWindow(
vtkRenderWindow
*);
73
vtkGetObjectMacro(RenderWindow,
vtkRenderWindow
);
75
76
78
80
void
Read();
81
void
Update
() {this->Read();};
83
84
85
protected
:
86
vtkImporter
();
87
~
vtkImporter
();
88
89
virtual
int
ImportBegin
() {
return
1;};
90
virtual
void
ImportEnd
() {};
91
virtual
void
ImportActors
(
vtkRenderer
*) {};
92
virtual
void
ImportCameras
(
vtkRenderer
*) {};
93
virtual
void
ImportLights
(
vtkRenderer
*) {};
94
virtual
void
ImportProperties (
vtkRenderer
*) {};
95
96
vtkRenderer
*Renderer;
97
vtkRenderWindow
*
RenderWindow
;
98
99
virtual
void
ReadData();
100
101
private
:
102
vtkImporter
(
const
vtkImporter
&);
// Not implemented.
103
void
operator=(
const
vtkImporter
&);
// Not implemented.
104
};
105
106
#endif
107
108
109
110
Generated on Wed Nov 21 2012 21:34:03 for VTK by
1.8.2