|
QCAD Application Framework
CAD Application Development and Automation.
|
An input event for a graphics scene. More...
#include <RInputEvent.h>
Public Member Functions | |
| RGraphicsScene & | getGraphicsScene () const |
| RGraphicsView & | getGraphicsView () const |
| RVector | getModelPosition () const |
| RVector | getScreenPosition () const |
| bool | isValid () const |
| RInputEvent (const RVector &position, RGraphicsScene &s, RGraphicsView &v) | |
| void | setModelPosition (const RVector &v) |
| virtual | ~RInputEvent () |
Protected Attributes | |
| RVector | modelPosition |
| RGraphicsScene & | scene |
| RVector | screenPosition |
| RGraphicsView & | view |
An input event for a graphics scene.
The coordinates in a mouse event are available as scene coordinates or screen coordinates from the view the event originated.
| RInputEvent::RInputEvent | ( | const RVector & | position, |
| RGraphicsScene & | s, | ||
| RGraphicsView & | v | ||
| ) |
|
virtual |
| RGraphicsScene & RInputEvent::getGraphicsScene | ( | ) | const |
| RGraphicsView & RInputEvent::getGraphicsView | ( | ) | const |
| RVector RInputEvent::getModelPosition | ( | ) | const |
| RVector RInputEvent::getScreenPosition | ( | ) | const |
|
inline |
Reimplemented in REntityPickEvent.
| void RInputEvent::setModelPosition | ( | const RVector & | v | ) |
|
protected |
|
protected |
|
protected |
|
protected |