VisioMove SDK (Android)
2.1.22
|
Public Member Functions | |
VgManipulatorListenerRefPtr () | |
VgManipulatorListenerRefPtr (VgManipulatorListener pPointer) | |
VgManipulatorListenerRefPtr (VgManipulatorListenerRefPtr pRefPtr) | |
VgManipulatorListenerRefPtr | set (VgManipulatorListener pPointer) |
VgManipulatorListener | __ref__ () |
VgManipulatorListener | __deref__ () |
VgManipulatorListener | get () |
boolean | isValid () |
void | onSimplePinch (VgGestureState pState, float pSpan, float pVelocity) |
void | onSimpleDrag (VgGestureState pState, long pNbTouch, float pAverageXOffset, float pAverageYOffset) |
void | onClick (float x, float y) |
void | onDoubleClick (float x, float y) |
void | ref () |
int | unref () |
int | getNbReferences () |
Static Public Member Functions | |
static VgManipulatorListenerRefPtr | getNull () |
Listener of simple gestures. It is a convenience class to ease simple gestures handling.
VgManipulatorListenerRefPtr.VgManipulatorListenerRefPtr | ( | ) |
VgManipulatorListenerRefPtr.VgManipulatorListenerRefPtr | ( | VgManipulatorListener | pPointer | ) |
VgManipulatorListenerRefPtr.VgManipulatorListenerRefPtr | ( | VgManipulatorListenerRefPtr | pRefPtr | ) |
VgManipulatorListener VgManipulatorListenerRefPtr.__deref__ | ( | ) |
VgManipulatorListener VgManipulatorListenerRefPtr.__ref__ | ( | ) |
VgManipulatorListener VgManipulatorListenerRefPtr.get | ( | ) |
int VgManipulatorListenerRefPtr.getNbReferences | ( | ) |
|
static |
boolean VgManipulatorListenerRefPtr.isValid | ( | ) |
void VgManipulatorListenerRefPtr.onClick | ( | float | x, |
float | y | ||
) |
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. |
void VgManipulatorListenerRefPtr.onDoubleClick | ( | float | x, |
float | y | ||
) |
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. |
void VgManipulatorListenerRefPtr.onSimpleDrag | ( | VgGestureState | pState, |
long | pNbTouch, | ||
float | pAverageXOffset, | ||
float | pAverageYOffset | ||
) |
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. |
void VgManipulatorListenerRefPtr.onSimplePinch | ( | VgGestureState | pState, |
float | pSpan, | ||
float | pVelocity | ||
) |
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. |
void VgManipulatorListenerRefPtr.ref | ( | ) |
VgManipulatorListenerRefPtr VgManipulatorListenerRefPtr.set | ( | VgManipulatorListener | pPointer | ) |
int VgManipulatorListenerRefPtr.unref | ( | ) |