VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
OpenGL
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 "vtkRenderingOpenGLModule.h"
// For export macro
32
#include "
vtkObject.h
"
33
34
class
vtkRenderer
;
35
class
vtkProp
;
36
class
vtkFrameBufferObject
;
37
class
vtkInformation
;
38
39
class
VTKRENDERINGOPENGL_EXPORT
vtkRenderState
40
{
41
public
:
45
vtkRenderState
(
vtkRenderer
*renderer);
46
49
~
vtkRenderState
();
50
52
bool
IsValid()
const
;
53
57
vtkRenderer
*GetRenderer()
const
;
58
62
vtkFrameBufferObject
*GetFrameBuffer()
const
;
63
66
void
SetFrameBuffer(
vtkFrameBufferObject
*fbo);
67
69
void
GetWindowSize(
int
size
[2])
const
;
70
72
vtkProp
**GetPropArray()
const
;
73
76
int
GetPropArrayCount()
const
;
77
79
88
void
SetPropArrayAndCount(
vtkProp
**propArray,
89
int
propArrayCount);
91
95
vtkInformation
*GetRequiredKeys()
const
;
96
99
void
SetRequiredKeys(
vtkInformation
*keys);
100
101
protected
:
104
vtkRenderer
*
Renderer
;
105
109
vtkFrameBufferObject
*
FrameBuffer
;
110
112
117
vtkProp
**
PropArray
;
118
int
PropArrayCount
;
120
123
vtkInformation
*
RequiredKeys
;
124
125
private
:
126
vtkRenderState
();
// no default constructor.
127
vtkRenderState
(
const
vtkRenderState
&);
// Not implemented.
128
void
operator=(
const
vtkRenderState
&);
// Not implemented.
129
};
130
131
#endif
132
// VTK-HeaderTest-Exclude: vtkRenderState.h
Generated on Thu May 24 2012 22:22:36 for VTK by
1.8.1