VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkRenderState.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkRenderState.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 __vtkRenderState_h
29
#define __vtkRenderState_h
30
31
#include "
vtkObject.h
"
32
33
class
vtkRenderer
;
34
class
vtkProp
;
35
class
vtkFrameBufferObject
;
36
class
vtkInformation
;
37
38
class
VTK_RENDERING_EXPORT
vtkRenderState
39
{
40
public
:
44
vtkRenderState
(
vtkRenderer
*renderer);
45
48
~
vtkRenderState
();
49
51
bool
IsValid()
const
;
52
56
vtkRenderer
*GetRenderer()
const
;
57
61
vtkFrameBufferObject
*GetFrameBuffer()
const
;
62
65
void
SetFrameBuffer(
vtkFrameBufferObject
*fbo);
66
68
void
GetWindowSize(
int
size
[2])
const
;
69
71
vtkProp
**GetPropArray()
const
;
72
75
int
GetPropArrayCount()
const
;
76
78
87
void
SetPropArrayAndCount(
vtkProp
**propArray,
88
int
propArrayCount);
90
94
vtkInformation
*GetRequiredKeys()
const
;
95
98
void
SetRequiredKeys(
vtkInformation
*keys);
99
100
protected
:
103
vtkRenderer
*
Renderer
;
104
108
vtkFrameBufferObject
*
FrameBuffer
;
109
111
116
vtkProp
**
PropArray
;
117
int
PropArrayCount
;
119
122
vtkInformation
*
RequiredKeys
;
123
124
private
:
125
vtkRenderState
();
// no default constructor.
126
vtkRenderState
(
const
vtkRenderState
&);
// Not implemented.
127
void
operator=(
const
vtkRenderState
&);
// Not implemented.
128
};
129
130
#endif
Generated on Wed Nov 21 2012 21:34:04 for VTK by
1.8.2