Public Types | |
typedef std::vector< osg::ref_ptr< EventAdapter > > | EventQueue |
Public Member Functions | |
KeyboardMouseCallback (Producer::KeyboardMouse *keyboardMouse, bool &done, bool escapeKeySetsDone=true) | |
virtual | ~KeyboardMouseCallback () |
virtual void | mouseScroll (Producer::KeyboardMouseCallback::ScrollingMotion sm) |
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 |
double | getEventQueue (EventQueue &queue) |
double | copyEventQueue (EventQueue &queue) const |
double | setEventQueue (EventQueue &queue) |
double | appendEventQueue (EventQueue &queue) |
bool | done () const |
float | mx () const |
float | my () const |
unsigned int | mbutton () const |
void | setStartTick (osg::Timer_t tick) |
osg::Timer_t | getStartTick () const |
double | getTime () const |
Producer::KeyboardMouse * | getKeyboardMouse () |
const Producer::KeyboardMouse * | getKeyboardMouse () const |
EventAdapter * | createEventAdapter () |
Protected Attributes | |
Producer::KeyboardMouse * | _keyboardMouse |
float | _mx |
float | _my |
unsigned int | _mbutton |
bool & | _done |
bool | _escapeKeySetsDone |
osg::Timer_t | _startTick |
osg::Timer | _timer |
OpenThreads::Mutex | _eventQueueMutex |
EventQueue | _eventQueue |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|