SoGesturePinchEvent Class Reference
#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 } |
Constructor & Destructor Documentation
◆ SoGesturePinchEvent() [1/2]
SoGesturePinchEvent::SoGesturePinchEvent | ( | ) |
◆ SoGesturePinchEvent() [2/2]
SoGesturePinchEvent::SoGesturePinchEvent | ( | QPinchGesture * | qpinch, |
QWidget * | widget | ||
) |
References curCenter, deltaAngle, deltaCenter, deltaZoom, startCenter, SoGestureEvent::state, totalAngle, totalZoom, and unbranchAngle().
◆ ~SoGesturePinchEvent()
SoGesturePinchEvent::~SoGesturePinchEvent | ( | ) |
Member Function Documentation
◆ initClass()
|
static |
Referenced by GesturesDevice::GesturesDevice().
◆ isSoGesturePinchEvent()
SbBool SoGesturePinchEvent::isSoGesturePinchEvent | ( | const SoEvent * | ev | ) | const |
◆ unbranchAngle()
|
static |
SoGesturePinchEvent::unbranchAngle : utility function to bring an angle into -pi..pi region.
- Parameters
-
ang - in radians
- Returns
Referenced by SoGesturePinchEvent().
Member Data Documentation
◆ curCenter
SbVec2f SoGesturePinchEvent::curCenter |
Referenced by Gui::NS::GestureState::react(), and SoGesturePinchEvent().
◆ deltaAngle
double SoGesturePinchEvent::deltaAngle |
Referenced by Gui::NS::GestureState::react(), and SoGesturePinchEvent().
◆ deltaCenter
SbVec2f SoGesturePinchEvent::deltaCenter |
Referenced by Gui::NS::GestureState::react(), and SoGesturePinchEvent().
◆ deltaZoom
double SoGesturePinchEvent::deltaZoom |
Referenced by Gui::NS::GestureState::react(), and SoGesturePinchEvent().
◆ startCenter
SbVec2f SoGesturePinchEvent::startCenter |
Referenced by SoGesturePinchEvent().
◆ totalAngle
double SoGesturePinchEvent::totalAngle |
Referenced by SoGesturePinchEvent().
◆ totalZoom
double SoGesturePinchEvent::totalZoom |
Referenced by SoGesturePinchEvent().
The documentation for this class was generated from the following files:
- src/Gui/SoTouchEvents.h
- src/Gui/SoTouchEvents.cpp