class OSGPRODUCER_EXPORT osgProducer::KeyboardMouseCallback


Inheritance:


Public Methods

[more] KeyboardMouseCallback(Producer::KeyboardMouse* keyboardMouse, bool &done, bool escapeKeySetsDone=true)
[more]virtual ~KeyboardMouseCallback()
[more]virtual void mouseScroll( Producer::KeyboardMouseCallback::ScrollingMotion sm )
[more]virtual void mouseMotion( float mx, float my)
[more]virtual void passiveMouseMotion( float mx, float my)
[more]virtual void buttonPress( float mx, float my, unsigned int mbutton )
[more]virtual void doubleButtonPress( float mx, float my, unsigned int mbutton)
[more]virtual void buttonRelease( float mx, float my, unsigned int mbutton )
[more]virtual void keyPress( Producer::KeyCharacter key )
[more]virtual void keyRelease( Producer::KeyCharacter key )
[more]virtual void specialKeyPress( Producer::KeyCharacter key)
[more]virtual void specialKeyRelease( Producer::KeyCharacter key)
[more]virtual void shutdown()
[more]void setEscapeSetDone(bool esc)
[more]bool getEscapeSetDone() const
[more]void getEventQueue(EventQueue& queue)
[more]bool done()
[more]float mx()
[more]float my()
[more]unsigned int mbutton()
[more]void setStartTick(osg::Timer_t tick)
[more]double getTime()
[more]Producer::KeyboardMouse* getKeyboardMouse()
[more]const Producer::KeyboardMouse* getKeyboardMouse() const
[more]EventAdapter* createEventAdapter()

Public Members

[more]typedef std::vector< osg::ref_ptr<EventAdapter> > EventQueue

Protected Fields

[more]Producer::KeyboardMouse* _keyboardMouse
[more]float _mx
[more]float _my
[more]unsigned int _mbutton
[more]bool& _done
[more]bool _escapeKeySetsDone
[more]osg::Timer_t _startTick
[more]osg::Timer _timer
[more]OpenThreads::Mutex _eventQueueMutex
[more]EventQueue _eventQueue


Documentation

o KeyboardMouseCallback(Producer::KeyboardMouse* keyboardMouse, bool &done, bool escapeKeySetsDone=true)

ovirtual ~KeyboardMouseCallback()

ovirtual void mouseScroll( Producer::KeyboardMouseCallback::ScrollingMotion sm )

ovirtual void mouseMotion( float mx, float my)

ovirtual void passiveMouseMotion( float mx, float my)

ovirtual void buttonPress( float mx, float my, unsigned int mbutton )

ovirtual void doubleButtonPress( float mx, float my, unsigned int mbutton)

ovirtual void buttonRelease( float mx, float my, unsigned int mbutton )

ovirtual void keyPress( Producer::KeyCharacter key )

ovirtual void keyRelease( Producer::KeyCharacter key )

ovirtual void specialKeyPress( Producer::KeyCharacter key)

ovirtual void specialKeyRelease( Producer::KeyCharacter key)

ovirtual void shutdown()

ovoid setEscapeSetDone(bool esc)

obool getEscapeSetDone() const

otypedef std::vector< osg::ref_ptr<EventAdapter> > EventQueue

ovoid getEventQueue(EventQueue& queue)

obool done()

ofloat mx()

ofloat my()

ounsigned int mbutton()

ovoid setStartTick(osg::Timer_t tick)

odouble getTime()

oProducer::KeyboardMouse* getKeyboardMouse()

oconst Producer::KeyboardMouse* getKeyboardMouse() const

oEventAdapter* createEventAdapter()

oProducer::KeyboardMouse* _keyboardMouse

ofloat _mx

ofloat _my

ounsigned int _mbutton

obool& _done

obool _escapeKeySetsDone

oosg::Timer_t _startTick

oosg::Timer _timer

oOpenThreads::Mutex _eventQueueMutex

oEventQueue _eventQueue


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.