Robot Simulator of the Robotics Group for Self-Organization of Control
0.8.0
|
Event handler for adding on screen help to Viewers. More...
#include <lpzhelphandler.h>
Public Member Functions | |
LpzHelpHandler (osg::ApplicationUsage *au=0) | |
void | setApplicationUsage (osg::ApplicationUsage *au) |
osg::ApplicationUsage * | getApplicationUsage () |
const osg::ApplicationUsage * | getApplicationUsage () const |
void | setKeyEventTogglesOnScreenHelp (int key) |
int | getKeyEventTogglesOnScreenHelp () const |
void | reset () |
osg::Camera * | getCamera () |
const osg::Camera * | getCamera () const |
bool | handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa) |
virtual void | getUsage (osg::ApplicationUsage &usage) const |
Get the keyboard and mouse usage of this manipulator. More... | |
Protected Member Functions | |
void | setUpHUDCamera (osgViewer::ViewerBase *viewer) |
void | setUpScene (osgViewer::ViewerBase *viewer) |
Protected Attributes | |
osg::ref_ptr < osg::ApplicationUsage > | _applicationUsage |
int | _keyEventTogglesOnScreenHelp |
bool | _helpEnabled |
bool | _initialized |
osg::ref_ptr< osg::Camera > | _camera |
osg::ref_ptr< osg::Switch > | _switch |
Event handler for adding on screen help to Viewers.
LpzHelpHandler | ( | osg::ApplicationUsage * | au = 0 | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Get the keyboard and mouse usage of this manipulator.
bool handle | ( | const osgGA::GUIEventAdapter & | ea, |
osgGA::GUIActionAdapter & | aa | ||
) |
void reset | ( | ) |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |