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

Revision 1004, 1.0 KB checked in by mattausch, 19 years ago (diff)

environment as a singleton

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