source: GTP/trunk/Lib/Vis/OnlineCullingCHC/include/VisibilityEnvironment.h @ 2555

Revision 2555, 1.0 KB checked in by mattausch, 17 years ago (diff)

added partial implementation of chc++. problem: bounding box rendering in Ogre is VERY slow

Line 
1#ifndef _VisibilityEnvironment_H__
2#define _VisibilityEnvironment_H__
3
4#include <string>
5
6
7namespace GtpVisibilityPreprocessor {
8class Environment;
9}
10
11namespace GtpVisibility {
12
13/** This class provides different parameters for the visibility manager.
14*/
15class VisibilityEnvironment
16{
17public:
18    VisibilityEnvironment();
19        ~VisibilityEnvironment();
20
21        /** Different types of occlusion culling algorithms
22        */
23        enum CullingManagerType {COHERENT_HIERARCHICAL_CULLING,
24                                                         COHERENT_HIERARCHICAL_CULLING_PLUSPLUS,
25                                                         STOP_AND_WAIT_CULLING,
26                                                         FRUSTUM_CULLING,
27                             NUM_CULLING_MANAGERS};
28
29       
30        /** Loads an environment from disk.
31        */
32        bool LoadEnvironment(std::string filename);
33        /** Returns filename of scene.
34        */
35        std::string getSceneFileName();
36        /** Returns filename of view cells file.
37        */
38        std::string getViewCellsFileName();
39
40        //GtpVisibilityPreprocessor::Environment *GetPreprocessorEnvironment();
41};
42
43} // namespace GtpVisibility
44
45#endif // VisibilityEnvironment_H
Note: See TracBrowser for help on using the repository browser.