Revision 1004,
1.0 KB
checked in by mattausch, 19 years ago
(diff) |
environment as a singleton
|
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();
|
---|
[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 |
|
---|
| 41 | protected:
|
---|
[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.