#include <SoTouchEvents.h>
Public Member Functions | |
| SbBool | isSoGesturePinchEvent (const SoEvent *ev) const |
| SoGesturePinchEvent () | |
| SoGesturePinchEvent (QPinchGesture *qpinch, QWidget *widget) | |
| ~SoGesturePinchEvent () | |
Public Member Functions inherited from SoGestureEvent | |
| SbBool | isSoGestureEvent (const SoEvent *ev) const |
| SoGestureEvent () | |
| ~SoGestureEvent () | |
Static Public Member Functions | |
| static void | initClass () |
| static double | unbranchAngle (double ang) |
| SoGesturePinchEvent::unbranchAngle : utility function to bring an angle into -pi..pi region. More... | |
Static Public Member Functions inherited from SoGestureEvent | |
| static void | initClass () |
Public Attributes | |
| SbVec2f | curCenter |
| double | deltaAngle |
| SbVec2f | deltaCenter |
| double | deltaZoom |
| SbVec2f | startCenter |
| double | totalAngle |
| double | totalZoom |
Public Attributes inherited from SoGestureEvent | |
| SbGestureState | state |
Additional Inherited Members | |
Public Types inherited from SoGestureEvent | |
| enum | SbGestureState { SbGSNoGesture = Qt::NoGesture , SbGSStart = Qt::GestureStarted , SbGSUpdate = Qt::GestureUpdated , SbGSEnd = Qt::GestureFinished , SbGsCanceled = Qt::GestureCanceled } |
| SoGesturePinchEvent::SoGesturePinchEvent | ( | ) |
| SoGesturePinchEvent::SoGesturePinchEvent | ( | QPinchGesture * | qpinch, |
| QWidget * | widget | ||
| ) |
References curCenter, deltaAngle, deltaCenter, deltaZoom, startCenter, SoGestureEvent::state, totalAngle, totalZoom, and unbranchAngle().
| SoGesturePinchEvent::~SoGesturePinchEvent | ( | ) |
|
static |
Referenced by GesturesDevice::GesturesDevice().
| SbBool SoGesturePinchEvent::isSoGesturePinchEvent | ( | const SoEvent * | ev | ) | const |
|
static |
SoGesturePinchEvent::unbranchAngle : utility function to bring an angle into -pi..pi region.
| ang | - in radians |
Referenced by SoGesturePinchEvent().
| SbVec2f SoGesturePinchEvent::curCenter |
Referenced by Gui::NS::GestureState::react(), and SoGesturePinchEvent().
| double SoGesturePinchEvent::deltaAngle |
Referenced by Gui::NS::GestureState::react(), and SoGesturePinchEvent().
| SbVec2f SoGesturePinchEvent::deltaCenter |
Referenced by Gui::NS::GestureState::react(), and SoGesturePinchEvent().
| double SoGesturePinchEvent::deltaZoom |
Referenced by Gui::NS::GestureState::react(), and SoGesturePinchEvent().
| SbVec2f SoGesturePinchEvent::startCenter |
Referenced by SoGesturePinchEvent().
| double SoGesturePinchEvent::totalAngle |
Referenced by SoGesturePinchEvent().
| double SoGesturePinchEvent::totalZoom |
Referenced by SoGesturePinchEvent().