VisioMove SDK (iOS)
2.1.22
|
Public Member Functions | |
virtual | ~VgISimpleGestureManipulatorListener () |
virtual void | onSimplePinch (const VgEngine::VgGestureState pState, const float pSpan, const float pVelocity)=0 |
virtual void | onSimpleDrag (const VgEngine::VgGestureState pState, const unsigned int pNbTouch, const float pAverageXOffset, const float pAverageYOffset)=0 |
virtual void | onClick (float x, float y)=0 |
virtual void | onDoubleClick (float x, float y)=0 |
Public Member Functions inherited from VgEngine::VgReferenced | |
VgReferenced () | |
VgReferenced (const VgReferenced &pThis) | |
virtual | ~VgReferenced () |
VgReferenced & | operator= (const VgReferenced &pThis) |
void | ref () const |
int | unref () const |
int | getNbReferences () const |
Additional Inherited Members | |
Protected Attributes inherited from VgEngine::VgReferenced | |
int | mNbReferences |
Listener of simple gestures. It is a convenience class to ease simple gestures handling.
|
virtual |
|
pure virtual |
Callback on a click gesture. This gesture has no state.
x | normalized screen coordinate. 0.0f is left of screen, 1.0f is right. |
y | normalized screen coordinate. 0.0f is top, 1.0f is bottom. |
|
pure virtual |
Callback on a double click gesture. This gesture has no state.
x | normalized screen coordinate. 0.0f is left of screen, 1.0f is right. |
y | normalized screen coordinate. 0.0f is top, 1.0f is bottom. |
|
pure virtual |
Callback on a drag gesture.
pState | The state associated with the gesture. |
pNbTouch | Number of fingers on the touchpad. |
pAverageXOffset | Average dragging offset in pixels since previous callback. The offset is computed as an average of each finger's offset. |
pAverageYOffset | Average dragging offset in pixels since previous callback. The offset is computed as an average of each finger's offset. |
|
pure virtual |
Callback on a pinch gesture with two fingers.
pState | The state associated with the gesture. |
pSpan | Distance in pixels between the two fingers. |
pVelocity | Speed in pixels per milliseconds. |