Revision 1832,
594 bytes
checked in by bittner, 18 years ago
(diff) |
gl render updates - separate gl viewer widget
|
Rev | Line | |
---|
[468] | 1 | #ifndef _Renderer_h__
|
---|
| 2 | #define _Renderer_h__
|
---|
| 3 |
|
---|
| 4 | #include "common.h"
|
---|
| 5 |
|
---|
[860] | 6 | namespace GtpVisibilityPreprocessor {
|
---|
| 7 |
|
---|
[468] | 8 | class ViewCellsManager;
|
---|
[497] | 9 | class SceneGraph;
|
---|
[468] | 10 | /** Abstract class used to render the scene.
|
---|
| 11 | */
|
---|
| 12 | class Renderer
|
---|
| 13 | {
|
---|
| 14 |
|
---|
| 15 | public:
|
---|
| 16 |
|
---|
| 17 | Renderer();
|
---|
[497] | 18 | Renderer(SceneGraph *sceneGraph, ViewCellsManager *vcm);
|
---|
| 19 |
|
---|
[468] | 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 |
|
---|
[1832] | 28 | public:
|
---|
[468] | 29 | ViewCellsManager *mViewCellsManager;
|
---|
[497] | 30 | SceneGraph *mSceneGraph;
|
---|
[468] | 31 | };
|
---|
| 32 |
|
---|
[860] | 33 | }
|
---|
[468] | 34 |
|
---|
| 35 | #endif // Renderer
|
---|
Note: See
TracBrowser
for help on using the repository browser.