9 # define GUI_EXPORT __declspec(dllexport)
11 # define GUI_EXPORT __declspec(dllimport)
20 #define SENSOR_MAX_COUNT 20
24 using namespace vrecko;
50 void enableGUI(
bool enable );
57 ItemsGroup *getorCreateGroup(
string groupName );
59 GUI_Item *getItembyName(
string itemName );
64 bool initialize(XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode *parametersNode);
74 void registerPointableGuiItem(
const unsigned int ID,
GUI_Item* item);
76 void registerGlobalGuiItem(
const int sensor,
GUI_Item* item);
87 void setMenuShown(
const int sensor,
Menu *shownMenu);
91 bool setLayout(
string name);
94 bool switchLayout(
string name);
102 void unregisterGlobalGuiItem(
const int sensor,
GUI_Item* item);
111 void unregisterPointableGuiItem(
const unsigned int ID );
207 std::vector<osg::ref_ptr<ItemsGroup>>
_groups;
219 void pointObjectByID(
int sensor_number,
unsigned long selectedID );
222 bool processAction(
const int sensorNumber,
const GUI_ACTION action,
const bool pressed );
223 bool processContextClick(
const int sensorNumber,
const bool value );