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

Revision 938, 1.0 KB checked in by mattausch, 19 years ago (diff)
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        /** Different types of occlusion culling algorithms
21        */
22        enum CullingManagerType {COHERENT_HIERARCHICAL_CULLING,
23                                                         FRUSTUM_CULLING,
24                                                         STOP_AND_WAIT_CULLING,
25                                                         NUM_CULLING_MANAGERS};
26
27       
28        /** Loads an environment from disk.
29        */
30        bool LoadEnvironment(std::string filename);
31        /** Returns filename of scene.
32        */
33        std::string getSceneFileName();
34        /** Returns filename of view cells file.
35        */
36        std::string getViewCellsFileName();
37
38        GtpVisibilityPreprocessor::Environment *GetPreprocessorEnvironment();
39
40
41protected:
42        GtpVisibilityPreprocessor::Environment *mEnvironment;
43};
44} // namespace GtpVisibility
45
46#endif // VisibilityEnvironment_H
Note: See TracBrowser for help on using the repository browser.