Coin3D is Free Software, published under the BSD 3-clause license. |
https://bitbucket.org/Coin3D/ http://www.kongsberg.com/kogt/ |
The Mouse class provides translation of mouse events on the QuarterWidget. More...
#include <Quarter/devices/Mouse.h>
Public Member Functions | |
Mouse (QuarterWidget *quarter) | |
virtual const SoEvent * | translateEvent (QEvent *event) |
Public Member Functions inherited from SIM::Coin3D::Quarter::InputDevice | |
InputDevice (QuarterWidget *quarter) | |
void | setMousePosition (const SbVec2s &pos) |
void | setWindowSize (const SbVec2s &size) |
void | setModifiers (SoEvent *soevent, const QInputEvent *qevent) |
Additional Inherited Members | |
Protected Attributes inherited from SIM::Coin3D::Quarter::InputDevice | |
SbVec2s | mousepos |
SbVec2s | windowsize |
QuarterWidget * | quarter |
The Mouse class provides translation of mouse events on the QuarterWidget.
|
virtual |
Translates from QMouseEvents to SoLocation2Events and SoMouseButtonEvents
Implements SIM::Coin3D::Quarter::InputDevice.