source: branches/VUT/v2.0/obsolete/OcclusionCullingSceneManager/include/OgreOcclusionCullingTerrainSceneManager.h @ 51

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