Inheritance diagram for osgGA::GUIEventAdapter:

Public Types | |
| enum | MouseButtonMask { LEFT_MOUSE_BUTTON = 1, MIDDLE_MOUSE_BUTTON = 2, RIGHT_MOUSE_BUTTON = 4 } |
| enum | EventType { PUSH, RELEASE, DRAG, MOVE, KEYBOARD, FRAME, RESIZE, NONE } |
Public Methods | |
| virtual EventType | getEventType () const=0 |
| Get the EventType of the GUI event. | |
| virtual int | getKey () const=0 |
| key pressed, return -1 if inappr opriate for this event. | |
| virtual int | getButton () const=0 |
| button pressed/released, return -1 if inappropriate for this event. | |
| virtual int | getXmin () const=0 |
| window minimum x. | |
| virtual int | getXmax () const=0 |
| window maximum x. | |
| virtual int | getYmin () const=0 |
| window minimum y. | |
| virtual int | getYmax () const=0 |
| window maximum y. | |
| virtual int | getX () const=0 |
| current mouse x position. | |
| virtual int | getY () const=0 |
| current mouse y position. | |
| virtual unsigned int | getButtonMask () const=0 |
| current mouse button state | |
| virtual double | time () const=0 |
| time in seconds of event. | |
Protected Methods | |
| GUIEventAdapter () | |
| virtual | ~GUIEventAdapter () |
| Force users to create on heap, so that multiple referencing is safe. | |
Used as GUI toolkit-independent input into GUIEventAdapters. Viewer writers should subclass this base class to implement the functionality to translate one of their GUI events, e.g. a Qt Event or an MFC Event, as appropriate.
|
|
|
|
|
|
|
|
|
|
|
Force users to create on heap, so that multiple referencing is safe.
|
|
|
button pressed/released, return -1 if inappropriate for this event.
Implemented in osgGLUT::GLUTEventAdapter. |
|
|
current mouse button state
Implemented in osgGLUT::GLUTEventAdapter. |
|
|
Get the EventType of the GUI event.
Implemented in osgGLUT::GLUTEventAdapter. |
|
|
key pressed, return -1 if inappr opriate for this event.
Implemented in osgGLUT::GLUTEventAdapter. |
|
|
current mouse x position.
Implemented in osgGLUT::GLUTEventAdapter. |
|
|
window maximum x.
Implemented in osgGLUT::GLUTEventAdapter. |
|
|
window minimum x.
Implemented in osgGLUT::GLUTEventAdapter. |
|
|
current mouse y position.
Implemented in osgGLUT::GLUTEventAdapter. |
|
|
window maximum y.
Implemented in osgGLUT::GLUTEventAdapter. |
|
|
window minimum y.
Implemented in osgGLUT::GLUTEventAdapter. |
|
|
time in seconds of event.
Implemented in osgGLUT::GLUTEventAdapter. |