Inheritance diagram for osgProducer::EventAdapter:
Public Member Functions | |
EventAdapter () | |
virtual | ~EventAdapter () |
virtual EventType | getEventType () const |
virtual int | getKey () const |
virtual int | getButton () const |
virtual float | getXmin () const |
virtual float | getXmax () const |
virtual float | getYmin () const |
virtual float | getYmax () const |
virtual float | getX () const |
virtual float | getY () const |
virtual unsigned int | getButtonMask () const |
virtual double | time () const |
virtual unsigned int | getModKeyMask () const |
void | adaptResize (double t, float Xmin, float Ymin, float Xmax, float Ymax) |
void | adaptMouseScroll (double t, Producer::KeyboardMouseCallback::ScrollingMotion sm) |
void | adaptMouseMotion (double t, float x, float y) |
void | adaptButtonPress (double t, float x, float y, unsigned int button) |
void | adaptButtonRelease (double t, float x, float y, unsigned int button) |
void | adaptKeyPress (double t, Producer::KeySymbol key) |
void | adaptKeyRelease (double t, Producer::KeySymbol key) |
void | adaptFrame (double t) |
void | copyStaticVariables () |
Static Public Member Functions | |
void | setWindowSize (float Xmin, float Ymin, float Xmax, float Ymax) |
void | setButtonMask (unsigned int buttonMask) |
Static Public Attributes | |
unsigned int | _s_accumulatedButtonMask |
int | _s_button |
float | _s_Xmin |
float | _s_Xmax |
float | _s_Ymin |
float | _s_Ymax |
float | _s_mx |
float | _s_my |
int | _s_modKeyMask |
Protected Attributes | |
EventType | _eventType |
int | _key |
int | _button |
float | _Xmin |
float | _Xmax |
float | _Ymin |
float | _Ymax |
float | _mx |
float | _my |
unsigned int | _buttonMask |
unsigned int | _modKeyMask |
double | _time |
|
|
|
|
|
|
|
|
|
method for adapting frame events, i.e. idle/display callback. |
|
method for adapting keyboard events. |
|
|
|
method for adapting mouse motion events whilst mouse buttons are pressed. |
|
method for adapting mouse scroll wheel events. |
|
method for adapting resize events. |
|
|
|
button pressed/released, return -1 if inappropriate for this event. Implements osgGA::GUIEventAdapter. |
|
current mouse button state Implements osgGA::GUIEventAdapter. |
|
Get the EventType of the GUI event. Implements osgGA::GUIEventAdapter. |
|
key pressed, return -1 if inappropriate for this event. Implements osgGA::GUIEventAdapter. |
|
current modkey state Implements osgGA::GUIEventAdapter. |
|
current mouse x position. Implements osgGA::GUIEventAdapter. |
|
window maximum x. Implements osgGA::GUIEventAdapter. |
|
window minimum x. Implements osgGA::GUIEventAdapter. |
|
current mouse y position. Implements osgGA::GUIEventAdapter. |
|
window maximum y. Implements osgGA::GUIEventAdapter. |
|
window minimum y. Implements osgGA::GUIEventAdapter. |
|
static method for setting button state. |
|
static method for setting window dimensions. |
|
time in seconds of event. Implements osgGA::GUIEventAdapter. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|