|
OpenFrames
|
This class handles incoming events. More...
#include <WindowProxy.hpp>
Public Member Functions | |
| WindowEventHandler (WindowProxy *window) | |
| bool | handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa) |
| void | windowModified () |
| void | setKeyPressCallback (void(*fcn)(KEYPRESS_SIG)) |
| void | setMouseMotionCallback (void(*fcn)(MOUSEMOTION_SIG)) |
| void | setButtonPressCallback (void(*fcn)(BUTTON_SIG)) |
| void | setButtonReleaseCallback (void(*fcn)(BUTTON_SIG)) |
| void | setVREventCallback (void(*fcn)(VR_SIG)) |
Protected Member Functions | |
| void | getRenderRectangle (float x, float y, unsigned int &row, unsigned int &col) |
| void | selectRenderRectangle (unsigned int row, unsigned int col) |
Protected Attributes | |
| WindowProxy * | _window |
| unsigned int | _currentRow |
| unsigned int | _currentCol |
| void(* | _keyPressCallback )(KEYPRESS_SIG) |
| void(* | _mouseMotionCallback )(MOUSEMOTION_SIG) |
| void(* | _buttonPressCallback )(BUTTON_SIG) |
| void(* | _buttonReleaseCallback )(BUTTON_SIG) |
| void(* | _vrEventCallback )(VR_SIG) |
This class handles incoming events.
1.8.14