source: branches/VUT/0.3/obsolete/OcclusionCullingSceneManager/include/OgreOcclusionCullingDotSceneManager.h @ 33

Revision 33, 1.3 KB checked in by Mattausch, 20 years ago (diff)
Line 
1#ifndef _OcclusionCullingDotSceneManager_H__
2#define _OcclusionCullingDotSceneManager_H__
3
4#include "OgreSceneNode.h"
5#include "DotSceneManager.h"
6#include "OgreOcclusionCullingSceneTraverser.h"
7
8#include "OgrePrerequisites.h"
9
10using namespace std;
11
12namespace Ogre {
13       
14        /**
15                Class which implements a scene mangager which uses occlusion queries for culling occluded objects
16        */
17        class OcclusionCullingDotSceneManager: public DotSceneManager
18        {
19        public:
20                OcclusionCullingDotSceneManager();
21                ~OcclusionCullingDotSceneManager();
22       
23                void _renderVisibleObjects(void);
24                void _findVisibleObjects(Camera* cam, bool onlyShadowCasters);
25                void _updateSceneGraph(Camera* cam);
26
27                /** Sets the given option for the SceneManager
28                               @remarks
29                        Options are:
30                        "Algorithm", int *;                     
31                */
32                virtual bool setOption( const String &, const void * );
33                /** Gets the given option for the Scene Manager.
34                @remarks
35                    See setOption
36                */
37                virtual bool getOption( const String &, void * );
38
39                bool getOptionValues( const String & key, StringVector &refValueList );
40                bool getOptionKeys( StringVector &refKeys );
41
42        protected:
43                OcclusionCullingSceneTraverser *mOcclusionCullingSceneTraverser;
44        };
45
46}
47#endif // OcclusionCullingDotSceneManager_H
Note: See TracBrowser for help on using the repository browser.