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