Project

General

Profile

Kinect Scol plugin
Kinect user scol functions

Functions

int _CRKinectUser (mmachine m)
 _CRKinectUser : Open, initialize objKinectUser More...
 
int _DSKinectUser (mmachine m)
 _DSKinectUser : Destroy objKinectUser object More...
 
int _CBKinectUserFound (mmachine m)
 _CBKinectUserFound : This function set the Callback for New User from Kinect More...
 
int _CBKinectUserLost (mmachine m)
 _CBKinectUserLost : This function set the Callback for Lost User from Kinect More...
 
int _CBKinectUserCalibrationStart (mmachine m)
 _CBKinectUserCalibrationStart : This function set the Callback for Calibration start from Kinect User More...
 
int _CBKinectUserCalibrationEnd (mmachine m)
 _CBKinectUserCalibrationEnd : This function set the Callback for Calibration end from Kinect User More...
 
int _CBKinectUserPoseDetected (mmachine m)
 _CBKinectUserPoseDetected : This function set the Callback for detection pose from Kinect User More...
 
int _CBKinectUserPoseLost (mmachine m)
 _CBKinectUserPoseLost : This function set the Callback for lost pose from Kinect User More...
 
int _CBKinectUserHandFound (mmachine m)
 _CBKinectUserHandFound : This function set the Callback for hand found from Kinect User More...
 
int _CBKinectUserHandLost (mmachine m)
 _CBKinectUserHandLost : This function set the Callback for hand lost from Kinect User More...
 
int _CBKinectUserHandMove (mmachine m)
 _CBKinectUserHandMove : This function set the Callback for hand move from Kinect User More...
 
int _GETKinectUserJointPixelPosition (mmachine m)
 _GETKinectUserJointPixelPosition : Get a objKinectUser hand position in pixel More...
 
int _GETKinectUserHandVisible (mmachine m)
 _GETKinectUserHandVisible : Get a objKinectUser hand visibility More...
 
int _GETKinectUserFingersPixelPosition (mmachine m)
 _GETKinectUserFingersPixelPosition : Get a objKinectUser fingers position in pixel More...
 
int _GETKinectUserJointPosition (mmachine m)
 _GETKinectUserJointPosition : Get a objKinectUser skeleton joint position More...
 
int _GETKinectUserJointOrientation (mmachine m)
 _GETKinectUserJointOrientation : Get a objKinectUser skeleton joint orientation More...
 

Detailed Description

Scol functions definition for kinect users

Function Documentation

◆ _CBKinectUserCalibrationEnd()

int _CBKinectUserCalibrationEnd ( mmachine  m)

_CBKinectUserCalibrationEnd : This function set the Callback for Calibration end from Kinect User

Prototype: fun [ObjKinectUser fun [ObjKinectUser u0] u1 u0] ObjKinectUser

Parameters
ObjKinectUser: the current ObjKinectUser
fun[ObjKinectUser u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns
ObjKinectUser : ObjKinectUser if success

Definition at line 1323 of file openNiScolPlugin.cpp.

◆ _CBKinectUserCalibrationStart()

int _CBKinectUserCalibrationStart ( mmachine  m)

_CBKinectUserCalibrationStart : This function set the Callback for Calibration start from Kinect User

Prototype: fun [ObjKinectUser fun [ObjKinectUser u0] u1 u0] ObjKinectUser

Parameters
ObjKinectUser: the current ObjKinectUser
fun[ObjKinectUser u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns
ObjKinectUser : ObjKinectUser if success

Definition at line 1296 of file openNiScolPlugin.cpp.

◆ _CBKinectUserFound()

int _CBKinectUserFound ( mmachine  m)

_CBKinectUserFound : This function set the Callback for New User from Kinect

Prototype: fun [ObjKinectUser fun [ObjKinectUser u0] u1 u0] ObjKinectUser

Parameters
ObjKinectUser: the current ObjKinectUser
fun[ObjKinectUser u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns
ObjKinectUser : ObjKinectUser if success

Definition at line 1242 of file openNiScolPlugin.cpp.

◆ _CBKinectUserHandFound()

int _CBKinectUserHandFound ( mmachine  m)

_CBKinectUserHandFound : This function set the Callback for hand found from Kinect User

Prototype: fun [ObjKinectUser fun [ObjKinectUser u0 I] u1 u0] ObjKinectUser

Parameters
OBJKinect: the current ObjKinectUser
fun[ObjKinectUser u0 I] : SCOL CallBack function to call
I: hand index (USER_SKEL_L_HAND or USER_SKEL_R_HAND)
u1: user parameter
u0: user parameter
Returns
ObjKinectUser : ObjKinectUser if success

Definition at line 1405 of file openNiScolPlugin.cpp.

◆ _CBKinectUserHandLost()

int _CBKinectUserHandLost ( mmachine  m)

_CBKinectUserHandLost : This function set the Callback for hand lost from Kinect User

Prototype: fun [ObjKinectUser fun [ObjKinectUser u0 I] u1 u0] ObjKinectUser

Parameters
OBJKinect: the current ObjKinectUser
fun[ObjKinectUser u0] : SCOL CallBack function to call
I: hand index (USER_SKEL_L_HAND or USER_SKEL_R_HAND)
u1: user parameter
u0: user parameter
Returns
ObjKinectUser : ObjKinectUser if success

Definition at line 1436 of file openNiScolPlugin.cpp.

◆ _CBKinectUserHandMove()

int _CBKinectUserHandMove ( mmachine  m)

_CBKinectUserHandMove : This function set the Callback for hand move from Kinect User

Prototype: fun [ObjKinectUser fun [ObjKinectUser u0 I] u1 u0] ObjKinectUser

Parameters
OBJKinect: the current ObjKinectUser
fun[ObjKinectUser u0] : SCOL CallBack function to call
I: hand index (USER_SKEL_L_HAND or USER_SKEL_R_HAND)
[II I] : hand translation vector
u1: user parameter
u0: user parameter
Returns
ObjKinectUser : ObjKinectUser if success

Definition at line 1468 of file openNiScolPlugin.cpp.

◆ _CBKinectUserLost()

int _CBKinectUserLost ( mmachine  m)

_CBKinectUserLost : This function set the Callback for Lost User from Kinect

Prototype: fun [ObjKinectUser fun [ObjKinectUser u0] u1 u0] ObjKinectUser

Parameters
ObjKinectUser: the current ObjKinectUser
fun[ObjKinectUser u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns
ObjKinectUser : ObjKinectUser if success

Definition at line 1269 of file openNiScolPlugin.cpp.

◆ _CBKinectUserPoseDetected()

int _CBKinectUserPoseDetected ( mmachine  m)

_CBKinectUserPoseDetected : This function set the Callback for detection pose from Kinect User

Prototype: fun [ObjKinectUser fun [ObjKinectUser u0] u1 u0] ObjKinectUser

Parameters
OBJKinect: the current ObjKinectUser
fun[ObjKinectUser u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns
ObjKinectUser : ObjKinectUser if success

Definition at line 1350 of file openNiScolPlugin.cpp.

◆ _CBKinectUserPoseLost()

int _CBKinectUserPoseLost ( mmachine  m)

_CBKinectUserPoseLost : This function set the Callback for lost pose from Kinect User

Prototype: fun [ObjKinectUser fun [ObjKinectUser u0] u1 u0] ObjKinectUser

Parameters
OBJKinect: the current ObjKinectUser
fun[ObjKinectUser u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns
ObjKinectUser : ObjKinectUser if success

Definition at line 1377 of file openNiScolPlugin.cpp.

◆ _CRKinectUser()

int _CRKinectUser ( mmachine  m)

_CRKinectUser : Open, initialize objKinectUser

Prototype: fun [Chn ObjKinect] ObjKinectUser

Parameters
Chn: current channel
ObjKinect: kinect device
Returns
objKinectUser : objKinectUser object if success, NIL otherwise

Definition at line 1146 of file openNiScolPlugin.cpp.

◆ _DSKinectUser()

int _DSKinectUser ( mmachine  m)

_DSKinectUser : Destroy objKinectUser object

Prototype: fun [ObjKinectUser] I

Parameters
ObjKinectUser: object to destroy
Returns
I : 1 if success, NIL otherwise

Definition at line 1209 of file openNiScolPlugin.cpp.

◆ _GETKinectUserFingersPixelPosition()

int _GETKinectUserFingersPixelPosition ( mmachine  m)

_GETKinectUserFingersPixelPosition : Get a objKinectUser fingers position in pixel

Prototype: fun [ObjKinectUser I] [[I I] r1]

Parameters
ObjKinectUser: object retieving skeleton data
I: Joint type (only hands)
Returns
[[I I] r1] : X Y coords in pixel for each finger found if success, NIL otherwise

Definition at line 1613 of file openNiScolPlugin.cpp.

◆ _GETKinectUserHandVisible()

int _GETKinectUserHandVisible ( mmachine  m)

_GETKinectUserHandVisible : Get a objKinectUser hand visibility

Prototype: fun [ObjKinectUser I] I

Parameters
ObjKinectUser: object retieving skeleton data
I: Joint type (only hands)
Returns
I : 1 if the hand is visible, 0 if not, NIL otherwise

Definition at line 1570 of file openNiScolPlugin.cpp.

◆ _GETKinectUserJointOrientation()

int _GETKinectUserJointOrientation ( mmachine  m)

_GETKinectUserJointOrientation : Get a objKinectUser skeleton joint orientation

Prototype: fun [ObjKinectUser I F] [F F F F]

Parameters
ObjKinectUser: object retieving skeleton data
I: Joint type
F: minimum joint confidence between 0.0 and 1.0
Returns
[F F F F] : quaternion rotation if success, NIL otherwise

Definition at line 1749 of file openNiScolPlugin.cpp.

◆ _GETKinectUserJointPixelPosition()

int _GETKinectUserJointPixelPosition ( mmachine  m)

_GETKinectUserJointPixelPosition : Get a objKinectUser hand position in pixel

Prototype: fun [ObjKinectUser I F] [I I I]

Parameters
ObjKinectUser: object retieving skeleton data
I: Joint type
F: minimum joint confidence between 0.0 and 1.0
Returns
[I I I] : X Y coords in pixel and Z distance in milimeters if success, NIL otherwise

Definition at line 1511 of file openNiScolPlugin.cpp.

◆ _GETKinectUserJointPosition()

int _GETKinectUserJointPosition ( mmachine  m)

_GETKinectUserJointPosition : Get a objKinectUser skeleton joint position

Prototype: fun [ObjKinectUser I F] [F F F]

Parameters
ObjKinectUser: object retieving skeleton data
I: Joint type
F: minimum joint confidence between 0.0 and 1.0
Returns
[F F F] : coords in centimeter if success, NIL otherwise

Definition at line 1685 of file openNiScolPlugin.cpp.