source: trunk/VUT/Ogre/include/OgreVisibilityOptionsManager.h @ 75

Revision 75, 1.2 KB checked in by mattausch, 19 years ago (diff)
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
9namespace Ogre {
10       
11/**
12        Helper class for setting and getting different visibility options.
13*/
14class VisibilityOptionsManager
15{
16public:
17        /** Contructor.
18                @param visManager current visibility manager handling
19                the culling options
20                @param hierarchInterface current hierarchy interface for
21                handling the traversal options
22        */
23        VisibilityOptionsManager(GtpVisibility::VisibilityManager *visManager,
24                                                         GtpVisibility::HierarchyInterface *hierarchyInterface);
25       
26        /** Sets the given option for the scene traverser.
27            @remarks
28                Options are:
29                "Algorithm", "Threshold";                       
30        */
31        bool setOption( const String &, const void * );
32        /** Gets the given option for the scene traverser.
33            @remarks
34            See setOption
35        */
36        bool getOption( const String &, void * );
37        bool getOptionKeys( StringVector &refKeys );
38       
39protected:
40        GtpVisibility::VisibilityManager *mVisibilityManager;
41        GtpVisibility::HierarchyInterface *mHierarchyInterface;
42};
43
44}
45#endif // VisibilityOptionsManager_H
Note: See TracBrowser for help on using the repository browser.