Revision 2278,
979 bytes
checked in by mattausch, 18 years ago
(diff) |
worked on randomupdatemanager
|
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,
|
---|
[74] | 25 | STOP_AND_WAIT_CULLING,
|
---|
| 26 | NUM_CULLING_MANAGERS};
|
---|
[59] | 27 |
|
---|
[938] | 28 |
|
---|
[59] | 29 | /** Loads an environment from disk.
|
---|
| 30 | */
|
---|
[938] | 31 | bool LoadEnvironment(std::string filename);
|
---|
[925] | 32 | /** Returns filename of scene.
|
---|
| 33 | */
|
---|
| 34 | std::string getSceneFileName();
|
---|
| 35 | /** Returns filename of view cells file.
|
---|
| 36 | */
|
---|
| 37 | std::string getViewCellsFileName();
|
---|
[938] | 38 |
|
---|
[2278] | 39 | //GtpVisibilityPreprocessor::Environment *GetPreprocessorEnvironment();
|
---|
[59] | 40 | };
|
---|
[2278] | 41 |
|
---|
[59] | 42 | } // namespace GtpVisibility
|
---|
[71] | 43 |
|
---|
[59] | 44 | #endif // VisibilityEnvironment_H |
---|
Note: See
TracBrowser
for help on using the repository browser.