Revision 468,
484 bytes
checked in by mattausch, 19 years ago
(diff) |
updated rendersimulator
|
Rev | Line | |
---|
[468] | 1 | #ifndef _Renderer_h__
|
---|
| 2 | #define _Renderer_h__
|
---|
| 3 |
|
---|
| 4 | #include "common.h"
|
---|
| 5 |
|
---|
| 6 | class ViewCellsManager;
|
---|
| 7 |
|
---|
| 8 | /** Abstract class used to render the scene.
|
---|
| 9 | */
|
---|
| 10 | class Renderer
|
---|
| 11 | {
|
---|
| 12 |
|
---|
| 13 | public:
|
---|
| 14 |
|
---|
| 15 | Renderer();
|
---|
| 16 | Renderer(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 | };
|
---|
| 29 |
|
---|
| 30 |
|
---|
| 31 | #endif // Renderer
|
---|
Note: See
TracBrowser
for help on using the repository browser.