LeapMotion Scol plugin
|
Functions | |
int | _CRleapMotionDevice (mmachine m) |
_CRleapMotionDevice : This function create a LEAPMOTION object More... | |
int | _DSleapMotionDevice (mmachine m) |
_DSleapMotionDevice : Destroy LEAPMOTION object More... | |
int | _GetLeapMotionHand (mmachine m) |
_GetLeapMotionHand : Get a LEAPMOTION hand position and orientation More... | |
int | _GetLeapMotionHandExt (mmachine m) |
_GetLeapMotionHandExt : Get a LEAPMOTION hand position, orientation, direction and normal More... | |
int | _GetLeapMotionTool (mmachine m) |
_GetLeapMotionTool : Get a LEAPMOTION tool position, orientation and velocity More... | |
int | _GetLeapMotionHandFingers (mmachine m) |
_GetLeapMotionHandFingers : Get the LEAPMOTION sensor fingers data from a hand More... | |
int | _GetLeapMotionHandFingersWithJoints (mmachine m) |
_GetLeapMotionHandFingersWithJoints : Get the LEAPMOTION sensor fingers data from a hand with finger joints positions More... | |
int | _CBLeapMotionCircleGesture (mmachine m) |
_CBLeapMotionCircleGesture : Called on a Circle gesture More... | |
int | _CBLeapMotionSwipeGesture (mmachine m) |
_CBLeapMotionSwipeGesture : Called on a Swipe gesture More... | |
int | _CBLeapMotionKeyTapGesture (mmachine m) |
_CBLeapMotionKeyTapGesture : Called on a KeyTap gesture More... | |
int | _CBLeapMotionScreenTapGesture (mmachine m) |
_CBLeapMotionScreenTapGesture : Called on a ScreenTap gesture More... | |
int | _GetLeapMotionGrabStrength (mmachine m) |
_GetLeapMotionGrabStrength : Get a LEAPMOTION hand Grab strengh More... | |
int | _GetLeapMotionPinchStrength (mmachine m) |
_GetLeapMotionPinchStrength : Get a LEAPMOTION hand Pinch strengh More... | |
int | _SetleapMotionHmdOptimization (mmachine m) |
_SetleapMotionHmdOptimization : Set the LEAPMOTION Hmd optimization enable or disable More... | |
Scol functions definition
int _CBLeapMotionCircleGesture | ( | mmachine | m | ) |
_CBLeapMotionCircleGesture : Called on a Circle gesture
fun [ObjLeapMotion fun [ObjLeapMotion u0 I I I F F F] u1 u0] ObjLeapMotion
ObjLeapMotion | : LEAPMOTION Object |
fun | [ObjLeapMotion u0 I I I F F F] u1 : SCOL CallBack function to call |
- | I : state, 1 start, 2 progress, 3 end |
- | I : hand |
- | I : finger or tool id |
- | F : direction 1.0 for clockwise, -1.0 for counterclockwise |
- | F : radius |
- | F : progress, number of circles |
u0 | : user parameter |
Definition at line 808 of file scolplugin.cpp.
int _CBLeapMotionKeyTapGesture | ( | mmachine | m | ) |
_CBLeapMotionKeyTapGesture : Called on a KeyTap gesture
fun [ObjLeapMotion fun [ObjLeapMotion u0 I I [F F F] [F F F]] u1 u0] ObjLeapMotion
ObjLeapMotion | : LEAPMOTION Object |
fun | [ObjLeapMotion u0 I I [F F F] [F F F]] u1 : SCOL CallBack function to call |
- | I : hand |
- | I : finger or tool id |
- | [F F F] : direction |
- | [F F F] : position |
u0 | : user parameter |
Definition at line 924 of file scolplugin.cpp.
int _CBLeapMotionScreenTapGesture | ( | mmachine | m | ) |
_CBLeapMotionScreenTapGesture : Called on a ScreenTap gesture
fun [ObjLeapMotion fun [ObjLeapMotion u0 I I [F F F] [F F F]] u1 u0] ObjLeapMotion
ObjLeapMotion | : LEAPMOTION Object |
fun | [ObjLeapMotion u0 I I [F F F] [F F F]] u1 : SCOL CallBack function to call |
- | I : hand |
- | I : finger or tool id |
- | [F F F] : direction |
- | [F F F] : position |
u0 | : user parameter |
Definition at line 993 of file scolplugin.cpp.
int _CBLeapMotionSwipeGesture | ( | mmachine | m | ) |
_CBLeapMotionSwipeGesture : Called on a Swipe gesture
fun [ObjLeapMotion fun [ObjLeapMotion u0 I I I [F F F] F F] u1 u0] ObjLeapMotion
ObjLeapMotion | : LEAPMOTION Object |
fun | [ObjLeapMotion u0 I I I [F F F] F F] u1 : SCOL CallBack function to call |
- | I : state, 1 start, 2 progress, 3 end |
- | I : hand |
- | I : finger or tool id |
- | [F F F] : direction |
- | F : speed in millimeter per second |
- | F : progress, duration in second |
u0 | : user parameter |
Definition at line 861 of file scolplugin.cpp.
int _CRleapMotionDevice | ( | mmachine | m | ) |
_CRleapMotionDevice : This function create a LEAPMOTION object
Prototype: fun [Chn fun [ObjLeapMotion u0] u1 u0 fun [ObjLeapMotion u2] u3 u2] ObjLeapMotion
Chn | : channel |
fun | [ObjLeapMotion u0] u1 : callback on connected |
u0 | : connected callback parameter |
fun | [ObjLeapMotion u2] u3 : callback on disconnected |
u2 | : disconnected callback parameter |
Definition at line 111 of file scolplugin.cpp.
int _DSleapMotionDevice | ( | mmachine | m | ) |
_DSleapMotionDevice : Destroy LEAPMOTION object
fun [ObjLeapMotion] I
ObjLeapMotion | : LEAPMOTION Object to destroy |
Definition at line 177 of file scolplugin.cpp.
int _GetLeapMotionGrabStrength | ( | mmachine | m | ) |
_GetLeapMotionGrabStrength : Get a LEAPMOTION hand Grab strengh
fun [ObjLeapMotion I] F
ObjLeapMotion | : LEAPMOTION Object |
I | : hand index |
Definition at line 1057 of file scolplugin.cpp.
int _GetLeapMotionHand | ( | mmachine | m | ) |
_GetLeapMotionHand : Get a LEAPMOTION hand position and orientation
fun [ObjLeapMotion I I] [[F F F] [F F F] [F F F]]
ObjLeapMotion | : LEAPMOTION Object |
I | : hand index |
I | : 1 for optimized position |
Definition at line 208 of file scolplugin.cpp.
int _GetLeapMotionHandExt | ( | mmachine | m | ) |
_GetLeapMotionHandExt : Get a LEAPMOTION hand position, orientation, direction and normal
fun [ObjLeapMotion I I] [[F F F] [F F F] [F F F] [F F F] [F F F] F]
ObjLeapMotion | : LEAPMOTION Object |
I | : hand index |
I | : 1 for optimized position |
Definition at line 311 of file scolplugin.cpp.
int _GetLeapMotionHandFingers | ( | mmachine | m | ) |
_GetLeapMotionHandFingers : Get the LEAPMOTION sensor fingers data from a hand
fun [ObjLeapMotion I I] [[[F F F] [F F F] [F F] I] r1]
ObjLeapMotion | : LEAPMOTION Object |
I | : hand index |
I | : 1 for optimized position |
Definition at line 544 of file scolplugin.cpp.
int _GetLeapMotionHandFingersWithJoints | ( | mmachine | m | ) |
_GetLeapMotionHandFingersWithJoints : Get the LEAPMOTION sensor fingers data from a hand with finger joints positions
fun [ObjLeapMotion I I] [[[F F F] [F F F] [F F] [[F F F] r1] I] r1]
ObjLeapMotion | : LEAPMOTION Object |
I | : hand index |
I | : 1 for optimized position |
Definition at line 657 of file scolplugin.cpp.
int _GetLeapMotionPinchStrength | ( | mmachine | m | ) |
_GetLeapMotionPinchStrength : Get a LEAPMOTION hand Pinch strengh
fun [ObjLeapMotion I] F
ObjLeapMotion | : LEAPMOTION Object |
I | : hand index |
Definition at line 1106 of file scolplugin.cpp.
int _GetLeapMotionTool | ( | mmachine | m | ) |
_GetLeapMotionTool : Get a LEAPMOTION tool position, orientation and velocity
fun [ObjLeapMotion I I] [[F F F] [F F F] [F F F]]
ObjLeapMotion | : LEAPMOTION Object |
I | : tool index |
I | : 1 for optimized position |
Definition at line 442 of file scolplugin.cpp.
int _SetleapMotionHmdOptimization | ( | mmachine | m | ) |
_SetleapMotionHmdOptimization : Set the LEAPMOTION Hmd optimization enable or disable
fun [ObjLeapMotion I] I
ObjLeapMotion | : LEAPMOTION Object |
I | : enable state 0 or 1 |
Definition at line 1156 of file scolplugin.cpp.