Line | |
---|
1 | #ifndef _VisibilityOptionsManager_H__
|
---|
2 | #define _VisibilityOptionsManager_H__
|
---|
3 |
|
---|
4 | #include "VisibilityManager.h"
|
---|
5 | #include "HierarchyInterface.h"
|
---|
6 | #include <OgreString.h>
|
---|
7 | #include <OgreStringVector.h>
|
---|
8 |
|
---|
9 | namespace Ogre { |
---|
10 | |
---|
11 | /**
|
---|
12 | Helper class for setting and getting different options directly
|
---|
13 | related to visibility culling.
|
---|
14 | */
|
---|
15 | class VisibilityOptionsManager
|
---|
16 | {
|
---|
17 | public:
|
---|
18 | /** Contructor.
|
---|
19 | @param visManager current visibility manager handling
|
---|
20 | the culling options
|
---|
21 | @param hierarchInterface current hierarchy interface for
|
---|
22 | handling the traversal options
|
---|
23 | */
|
---|
24 | VisibilityOptionsManager(GtpVisibility::VisibilityManager *visManager,
|
---|
25 | GtpVisibility::HierarchyInterface *hierarchyInterface);
|
---|
26 |
|
---|
27 | /** Sets the given option for the scene traverser.
|
---|
28 | @remarks
|
---|
29 | Options are:
|
---|
30 | "Algorithm", "Threshold";
|
---|
31 | */
|
---|
32 | bool setOption( const String &, const void * );
|
---|
33 | /** Gets the given option for the scene traverser.
|
---|
34 | @remarks
|
---|
35 | See setOption
|
---|
36 | */
|
---|
37 | bool getOption( const String &, void * );
|
---|
38 | bool getOptionKeys( StringVector &refKeys );
|
---|
39 |
|
---|
40 | protected:
|
---|
41 | GtpVisibility::VisibilityManager *mVisibilityManager;
|
---|
42 | GtpVisibility::HierarchyInterface *mHierarchyInterface;
|
---|
43 | };
|
---|
44 |
|
---|
45 | }
|
---|
46 | #endif // VisibilityOptionsManager_H |
---|
Note: See
TracBrowser
for help on using the repository browser.