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 |
osgProducer::KeyboardMouseCallback::KeyboardMouseCallback | ( | Producer::KeyboardMouse * | keyboardMouse, | |
bool & | done, | |||
bool | escapeKeySetsDone = true | |||
) |
virtual osgProducer::KeyboardMouseCallback::~KeyboardMouseCallback | ( | ) | [inline, virtual] |
void osgProducer::KeyboardMouseCallback::appendEventQueue | ( | EventQueue & | queue | ) |
virtual void osgProducer::KeyboardMouseCallback::buttonPress | ( | float | mx, | |
float | my, | |||
unsigned int | mbutton | |||
) | [virtual] |
virtual void osgProducer::KeyboardMouseCallback::buttonRelease | ( | float | mx, | |
float | my, | |||
unsigned int | mbutton | |||
) | [virtual] |
bool osgProducer::KeyboardMouseCallback::copyEventQueue | ( | EventQueue & | queue | ) | const |
osgGA::GUIEventAdapter* osgProducer::KeyboardMouseCallback::createEventAdapter | ( | ) |
bool osgProducer::KeyboardMouseCallback::done | ( | ) | const [inline] |
virtual void osgProducer::KeyboardMouseCallback::doubleButtonPress | ( | float | mx, | |
float | my, | |||
unsigned int | mbutton | |||
) | [virtual] |
bool osgProducer::KeyboardMouseCallback::getEscapeSetDone | ( | ) | const [inline] |
osgGA::EventQueue* osgProducer::KeyboardMouseCallback::getEventQueue | ( | ) | [inline] |
const Producer::KeyboardMouse* osgProducer::KeyboardMouseCallback::getKeyboardMouse | ( | ) | const [inline] |
Producer::KeyboardMouse* osgProducer::KeyboardMouseCallback::getKeyboardMouse | ( | ) | [inline] |
double osgProducer::KeyboardMouseCallback::getTime | ( | ) | const [inline] |
virtual void osgProducer::KeyboardMouseCallback::keyPress | ( | Producer::KeyCharacter | key | ) | [virtual] |
virtual void osgProducer::KeyboardMouseCallback::keyRelease | ( | Producer::KeyCharacter | key | ) | [virtual] |
virtual void osgProducer::KeyboardMouseCallback::mouseMotion | ( | float | mx, | |
float | my | |||
) | [virtual] |
virtual void osgProducer::KeyboardMouseCallback::mouseScroll | ( | Producer::KeyboardMouseCallback::ScrollingMotion | sm | ) | [virtual] |
virtual void osgProducer::KeyboardMouseCallback::mouseScroll2D | ( | float | , | |
float | ||||
) | [virtual] |
virtual void osgProducer::KeyboardMouseCallback::mouseWarp | ( | float | mx, | |
float | my | |||
) | [virtual] |
virtual void osgProducer::KeyboardMouseCallback::passiveMouseMotion | ( | float | mx, | |
float | my | |||
) | [virtual] |
virtual void osgProducer::KeyboardMouseCallback::penPressure | ( | float | pressure | ) | [virtual] |
virtual void osgProducer::KeyboardMouseCallback::penProximity | ( | Producer::KeyboardMouseCallback::TabletPointerType | , | |
bool | ||||
) | [virtual] |
void osgProducer::KeyboardMouseCallback::setEscapeSetDone | ( | bool | esc | ) | [inline] |
void osgProducer::KeyboardMouseCallback::setEventQueue | ( | EventQueue & | queue | ) |
void osgProducer::KeyboardMouseCallback::setEventQueue | ( | osgGA::EventQueue * | eventQueue | ) | [inline] |
virtual void osgProducer::KeyboardMouseCallback::shutdown | ( | ) | [virtual] |
virtual void osgProducer::KeyboardMouseCallback::specialKeyPress | ( | Producer::KeyCharacter | key | ) | [virtual] |
virtual void osgProducer::KeyboardMouseCallback::specialKeyRelease | ( | Producer::KeyCharacter | key | ) | [virtual] |
bool osgProducer::KeyboardMouseCallback::takeEventQueue | ( | EventQueue & | queue | ) |
void osgProducer::KeyboardMouseCallback::updateWindowSize | ( | ) |
virtual void osgProducer::KeyboardMouseCallback::windowConfig | ( | int | x, | |
int | y, | |||
unsigned int | width, | |||
unsigned int | height | |||
) | [virtual] |
bool& osgProducer::KeyboardMouseCallback::_done [protected] |
bool osgProducer::KeyboardMouseCallback::_escapeKeySetsDone [protected] |
Producer::KeyboardMouse* osgProducer::KeyboardMouseCallback::_keyboardMouse [protected] |
unsigned int osgProducer::KeyboardMouseCallback::_mbutton [protected] |
float osgProducer::KeyboardMouseCallback::_mx [protected] |
float osgProducer::KeyboardMouseCallback::_my [protected] |