|
QCAD Application Framework
CAD Application Development and Automation.
|
A tablet event for a graphics scene. More...
#include <RTabletEvent.h>
Public Member Functions | |
| RGraphicsScene & | getGraphicsScene () const |
| RGraphicsView & | getGraphicsView () const |
| RVector | getModelPosition () const |
| RVector | getScreenPosition () const |
| RVector | getUcsPosition () const |
| RTabletEvent (const QTabletEvent &tabletEvent, RGraphicsScene &s, RGraphicsView &v) | |
| virtual | ~RTabletEvent () |
Protected Attributes | |
| RVector | modelPosition |
| RGraphicsScene & | scene |
| RVector | screenPosition |
| RVector | ucsPosition |
| RGraphicsView & | view |
A tablet event for a graphics scene.
The coordinates in a mouse event are available as scene coordinates of screen coordinates from the view the event originated.
| RTabletEvent::RTabletEvent | ( | const QTabletEvent & | tabletEvent, |
| RGraphicsScene & | s, | ||
| RGraphicsView & | v | ||
| ) |
|
virtual |
| RGraphicsScene & RTabletEvent::getGraphicsScene | ( | ) | const |
| RGraphicsView & RTabletEvent::getGraphicsView | ( | ) | const |
| RVector RTabletEvent::getModelPosition | ( | ) | const |
| RVector RTabletEvent::getScreenPosition | ( | ) | const |
| RVector RTabletEvent::getUcsPosition | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |