Rev | Line | |
---|
[59] | 1 | #ifndef _VisibilityEnvironment_H__
|
---|
| 2 | #define _VisibilityEnvironment_H__
|
---|
| 3 |
|
---|
[870] | 4 | #include <string>
|
---|
| 5 |
|
---|
[938] | 6 |
|
---|
| 7 | namespace GtpVisibilityPreprocessor {
|
---|
| 8 | class Environment;
|
---|
| 9 | }
|
---|
| 10 |
|
---|
[59] | 11 | namespace GtpVisibility {
|
---|
| 12 |
|
---|
| 13 | /** This class provides different parameters for the visibility manager.
|
---|
| 14 | */
|
---|
| 15 | class VisibilityEnvironment
|
---|
| 16 | {
|
---|
| 17 | public:
|
---|
| 18 | VisibilityEnvironment();
|
---|
[870] | 19 | ~VisibilityEnvironment();
|
---|
[2278] | 20 |
|
---|
[59] | 21 | /** Different types of occlusion culling algorithms
|
---|
| 22 | */
|
---|
[254] | 23 | enum CullingManagerType {COHERENT_HIERARCHICAL_CULLING,
|
---|
[175] | 24 | FRUSTUM_CULLING,
|
---|
[2289] | 25 | RANDOM_UPDATE_CULLING,
|
---|
[74] | 26 | STOP_AND_WAIT_CULLING,
|
---|
| 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.