source: trunk/VUT/GtpVisibilityPreprocessor/src/Renderer.h @ 497

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
6class ViewCellsManager;
7class SceneGraph;
8/** Abstract class used to render the scene.
9*/
10class Renderer
11{
12
13public:
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
26protected:
27        ViewCellsManager *mViewCellsManager;
28        SceneGraph *mSceneGraph;
29};
30
31
32#endif // Renderer
Note: See TracBrowser for help on using the repository browser.