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

Revision 2289, 1011 bytes checked in by mattausch, 18 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
21        /** Different types of occlusion culling algorithms
22        */
23        enum CullingManagerType {COHERENT_HIERARCHICAL_CULLING,
24                                                         FRUSTUM_CULLING,
25                                                         RANDOM_UPDATE_CULLING,
26                                                         STOP_AND_WAIT_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.