Revision 497,
553 bytes
checked in by mattausch, 19 years ago
(diff) |
beware: bug in view cells merging
|
Line | |
---|
1 | #ifndef _Renderer_h__
|
---|
2 | #define _Renderer_h__
|
---|
3 |
|
---|
4 | #include "common.h"
|
---|
5 |
|
---|
6 | class ViewCellsManager;
|
---|
7 | class SceneGraph;
|
---|
8 | /** Abstract class used to render the scene.
|
---|
9 | */
|
---|
10 | class Renderer
|
---|
11 | {
|
---|
12 |
|
---|
13 | public:
|
---|
14 |
|
---|
15 | Renderer();
|
---|
16 | Renderer(SceneGraph *sceneGraph, ViewCellsManager *vcm);
|
---|
17 |
|
---|
18 | ~Renderer();
|
---|
19 |
|
---|
20 | /** Renders the scene using the current view cell partition.
|
---|
21 | */
|
---|
22 | virtual bool RenderScene() = 0;
|
---|
23 |
|
---|
24 | void SetViewCellsManager(ViewCellsManager *vcm);
|
---|
25 |
|
---|
26 | protected:
|
---|
27 | ViewCellsManager *mViewCellsManager;
|
---|
28 | SceneGraph *mSceneGraph;
|
---|
29 | };
|
---|
30 |
|
---|
31 |
|
---|
32 | #endif // Renderer
|
---|
Note: See
TracBrowser
for help on using the repository browser.