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

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();
[2278]20
[59]21        /** Different types of occlusion culling algorithms
22        */
[254]23        enum CullingManagerType {COHERENT_HIERARCHICAL_CULLING,
[2555]24                                                         COHERENT_HIERARCHICAL_CULLING_PLUSPLUS,
25                                                         STOP_AND_WAIT_CULLING,
[175]26                                                         FRUSTUM_CULLING,
[2555]27                             NUM_CULLING_MANAGERS};
[59]28
[938]29       
[59]30        /** Loads an environment from disk.
31        */
[938]32        bool LoadEnvironment(std::string filename);
[925]33        /** Returns filename of scene.
34        */
35        std::string getSceneFileName();
36        /** Returns filename of view cells file.
37        */
38        std::string getViewCellsFileName();
[938]39
[2278]40        //GtpVisibilityPreprocessor::Environment *GetPreprocessorEnvironment();
[59]41};
[2278]42
[59]43} // namespace GtpVisibility
[71]44
[59]45#endif // VisibilityEnvironment_H
Note: See TracBrowser for help on using the repository browser.