Public Types | |
typedef osgGA::EventQueue::Events | EventQueue |
Public Member Functions | |
KeyboardMouseCallback (Producer::KeyboardMouse *keyboardMouse, bool &done, bool escapeKeySetsDone=true) | |
virtual | ~KeyboardMouseCallback () |
virtual void | mouseScroll (Producer::KeyboardMouseCallback::ScrollingMotion sm) |
virtual void | mouseScroll2D (float, float) |
virtual void | penPressure (float pressure) |
virtual void | penProximity (Producer::KeyboardMouseCallback::TabletPointerType, bool) |
virtual void | mouseMotion (float mx, float my) |
virtual void | passiveMouseMotion (float mx, float my) |
virtual void | mouseWarp (float mx, float my) |
virtual void | buttonPress (float mx, float my, unsigned int mbutton) |
virtual void | doubleButtonPress (float mx, float my, unsigned int mbutton) |
virtual void | buttonRelease (float mx, float my, unsigned int mbutton) |
virtual void | keyPress (Producer::KeyCharacter key) |
virtual void | keyRelease (Producer::KeyCharacter key) |
virtual void | specialKeyPress (Producer::KeyCharacter key) |
virtual void | specialKeyRelease (Producer::KeyCharacter key) |
virtual void | windowConfig (int x, int y, unsigned int width, unsigned int height) |
virtual void | shutdown () |
void | setEscapeSetDone (bool esc) |
bool | getEscapeSetDone () const |
void | setEventQueue (osgGA::EventQueue *eventQueue) |
osgGA::EventQueue * | getEventQueue () |
bool | takeEventQueue (EventQueue &queue) |
bool | copyEventQueue (EventQueue &queue) const |
void | setEventQueue (EventQueue &queue) |
void | appendEventQueue (EventQueue &queue) |
bool | done () const |
double | getTime () const |
Producer::KeyboardMouse * | getKeyboardMouse () |
const Producer::KeyboardMouse * | getKeyboardMouse () const |
osgGA::GUIEventAdapter * | createEventAdapter () |
void | updateWindowSize () |
Protected Attributes | |
Producer::KeyboardMouse * | _keyboardMouse |
float | _mx |
float | _my |
unsigned int | _mbutton |
bool & | _done |
bool | _escapeKeySetsDone |
osg::ref_ptr< osgGA::EventQueue > | _eventQueue |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|