Project

General

Profile

Kinect Scol plugin
Kinect scol functions

Functions

int _CRKinectDevice (mmachine m)
 _CRKinectDevice : Open, initialize objKinect More...
 
int _DSKinectDevice (mmachine m)
 _DSKinectDevice : Destroy objKinectDevice object More...
 
int _GETKinectDeviceById (mmachine m)
 _GETKinectDeviceById : retrieve a kinect Device by name More...
 
int _GETKinectDeviceId (mmachine m)
 _GETKinectDeviceId : retrieve a kinect Device by name More...
 
int _GETKinectDeviceSize (mmachine m)
 _GETKinectDeviceSize : retrieve a kinect Device picture size More...
 
int _BLTKinectDeviceDepth (mmachine m)
 _BLTKinectDeviceDepth : Blit the device depth picture into a bitmap Prototype: fun [ObjKinect ObjBitmap] ObjBitmap More...
 
int _BLTKinectDeviceRGB (mmachine m)
 _BLTKinectDeviceRGB : Blit RGB image from Kinect device into a Scol Bitmap object Prototype: fun [ObjKinect ObjBitmap] ObjBitmap More...
 
int _BLTKinectDeviceGrayscale (mmachine m)
 _BLTKinectDeviceGrayscale : Blit grayscale image from Kinect device into a Scol Bitmap object Prototype: fun [ObjCapture ObjBitmap] ObjBitmap More...
 
int _BLTKinectDeviceUsers (mmachine m)
 _BLTKinectDeviceUsers : Blit users image from Kinect device into a Scol Bitmap object Prototype: fun [ObjKinect AlphaBitmap] AlphaBitmap More...
 
int _BLTKinectDeviceUsersRGB (mmachine m)
 _BLTKinectDeviceUsersRGB : Blit users image from RGB camera from Kinect device into a Scol Bitmap object Prototype: fun [ObjKinect AlphaBitmap] AlphaBitmap More...
 
int _BLTKinectDeviceHands (mmachine m)
 _BLTKinectDeviceHands : Blit users hands and fingers image from Kinect device into a Scol Bitmap object Prototype: fun [ObjKinect AlphaBitmap] AlphaBitmap More...
 
int _SETKinectDeviceMirror (mmachine m)
 _SETKinectDeviceMirror : Change the mirror mode of th kinect device Prototype: fun [ObjKinect I] I More...
 
int _GETKinectDeviceMirror (mmachine m)
 _GETKinectDeviceMirror : Get the mirror mode of th kinect device Prototype: fun [ObjKinect] I More...
 
int _SETKinectDeviceSkeletonSmoothing (mmachine m)
 _SETKinectDeviceSkeletonSmoothing : Set a ObjKinect skeleton smoothing coefficient More...
 
int _GETKinectDeviceSkeletonSmoothing (mmachine m)
 _GETKinectDeviceSkeletonSmoothing : Get a ObjKinect skeleton smoothing coefficient More...
 
int _SETKinectDeviceDetectionDistance (mmachine m)
 _SETKinectDeviceDetectionDistance : Set the ObjKinect user detection distance More...
 
int _GETKinectDeviceDetectionDistance (mmachine m)
 _GETKinectDeviceDetectionDistance : Get the ObjKinect user detection distance More...
 
int _SETKinectDeviceDetectionAngle (mmachine m)
 _SETKinectDeviceDetectionAngle : Set the ObjKinect user detection angle More...
 
int _GETKinectDeviceDetectionAngle (mmachine m)
 _GETKinectDeviceDetectionAngle : Get the ObjKinect user detection angle More...
 
int _CBKinectConnected (mmachine m)
 _CBKinectConnected : This function set the Callback for Connection from kinect device More...
 
int _CBKinectDisconnected (mmachine m)
 _CBKinectDisconnected : This function set the Callback for Disconnection from Kinect More...
 

Detailed Description

Scol functions definition for kinect

Function Documentation

◆ _BLTKinectDeviceDepth()

int _BLTKinectDeviceDepth ( mmachine  m)

_BLTKinectDeviceDepth : Blit the device depth picture into a bitmap Prototype: fun [ObjKinect ObjBitmap] ObjBitmap

Parameters
ObjKinect: device to blit
ObjBitmap: bitmap to update
Returns
ObjBitmap : return same bitmap if success or NIL otherwise

Definition at line 387 of file openNiScolPlugin.cpp.

◆ _BLTKinectDeviceGrayscale()

int _BLTKinectDeviceGrayscale ( mmachine  m)

_BLTKinectDeviceGrayscale : Blit grayscale image from Kinect device into a Scol Bitmap object Prototype: fun [ObjCapture ObjBitmap] ObjBitmap

Parameters
ObjCapture: capture device to blit
ObjBitmap: bitmap to update
Returns
ObjBitmap : return same bitmap if success or NIL otherwise

Definition at line 487 of file openNiScolPlugin.cpp.

◆ _BLTKinectDeviceHands()

int _BLTKinectDeviceHands ( mmachine  m)

_BLTKinectDeviceHands : Blit users hands and fingers image from Kinect device into a Scol Bitmap object Prototype: fun [ObjKinect AlphaBitmap] AlphaBitmap

Parameters
ObjKinect: device to blit
AlphaBitmap: bitmap to update
Returns
AlphaBitmap : return same bitmap if success or NIL otherwise

Definition at line 677 of file openNiScolPlugin.cpp.

◆ _BLTKinectDeviceRGB()

int _BLTKinectDeviceRGB ( mmachine  m)

_BLTKinectDeviceRGB : Blit RGB image from Kinect device into a Scol Bitmap object Prototype: fun [ObjKinect ObjBitmap] ObjBitmap

Parameters
ObjKinect: device to blit
ObjBitmap: bitmap to update
Returns
ObjBitmap : return same bitmap if success or NIL otherwise

Definition at line 437 of file openNiScolPlugin.cpp.

◆ _BLTKinectDeviceUsers()

int _BLTKinectDeviceUsers ( mmachine  m)

_BLTKinectDeviceUsers : Blit users image from Kinect device into a Scol Bitmap object Prototype: fun [ObjKinect AlphaBitmap] AlphaBitmap

Parameters
ObjKinect: device to blit
AlphaBitmap: bitmap to update
Returns
AlphaBitmap : return same bitmap if success or NIL otherwise

Definition at line 537 of file openNiScolPlugin.cpp.

◆ _BLTKinectDeviceUsersRGB()

int _BLTKinectDeviceUsersRGB ( mmachine  m)

_BLTKinectDeviceUsersRGB : Blit users image from RGB camera from Kinect device into a Scol Bitmap object Prototype: fun [ObjKinect AlphaBitmap] AlphaBitmap

Parameters
ObjKinect: device to blit
AlphaBitmap: bitmap to update
Returns
AlphaBitmap : return same bitmap if success or NIL otherwise

Definition at line 607 of file openNiScolPlugin.cpp.

◆ _CBKinectConnected()

int _CBKinectConnected ( mmachine  m)

_CBKinectConnected : This function set the Callback for Connection from kinect device

Prototype: fun [OBJKinect fun [OBJKinect u0] u1 u0] OBJKinect

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

Definition at line 1093 of file openNiScolPlugin.cpp.

◆ _CBKinectDisconnected()

int _CBKinectDisconnected ( mmachine  m)

_CBKinectDisconnected : This function set the Callback for Disconnection from Kinect

Prototype: fun [ObjKinect fun [ObjKinect u0] u1 u0] ObjKinect

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

Definition at line 1120 of file openNiScolPlugin.cpp.

◆ _CRKinectDevice()

int _CRKinectDevice ( mmachine  m)

_CRKinectDevice : Open, initialize objKinect

Prototype: fun [Chn] ObjKinect

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

Definition at line 173 of file openNiScolPlugin.cpp.

◆ _DSKinectDevice()

int _DSKinectDevice ( mmachine  m)

_DSKinectDevice : Destroy objKinectDevice object

Prototype: fun [objKinect] I

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

Definition at line 226 of file openNiScolPlugin.cpp.

◆ _GETKinectDeviceById()

int _GETKinectDeviceById ( mmachine  m)

_GETKinectDeviceById : retrieve a kinect Device by name

Prototype: fun [I] ObjKinect

Parameters
I: Given Id
Returns
ObjKinect : ObjKinect object if success, NIL otherwise

Definition at line 257 of file openNiScolPlugin.cpp.

◆ _GETKinectDeviceDetectionAngle()

int _GETKinectDeviceDetectionAngle ( mmachine  m)

_GETKinectDeviceDetectionAngle : Get the ObjKinect user detection angle

Prototype: fun [ObjKinect] F

Parameters
ObjKinect: Kinect device object
Returns
F : detection angle in degree if success, NIL otherwise

Definition at line 1051 of file openNiScolPlugin.cpp.

◆ _GETKinectDeviceDetectionDistance()

int _GETKinectDeviceDetectionDistance ( mmachine  m)

_GETKinectDeviceDetectionDistance : Get the ObjKinect user detection distance

Prototype: fun [ObjKinect] I

Parameters
ObjKinect: Kinect device object
Returns
I : detection distance in centimeter if success, NIL otherwise

Definition at line 965 of file openNiScolPlugin.cpp.

◆ _GETKinectDeviceId()

int _GETKinectDeviceId ( mmachine  m)

_GETKinectDeviceId : retrieve a kinect Device by name

Prototype: fun [ObjKinect] I

Returns
I : Id of the ObjKinect if success, NIL otherwise

Definition at line 299 of file openNiScolPlugin.cpp.

◆ _GETKinectDeviceMirror()

int _GETKinectDeviceMirror ( mmachine  m)

_GETKinectDeviceMirror : Get the mirror mode of th kinect device Prototype: fun [ObjKinect] I

Parameters
ObjKinect: device
Returns
I : 1 if mirrored, 0 if not, NIL otherwise

Definition at line 790 of file openNiScolPlugin.cpp.

◆ _GETKinectDeviceSize()

int _GETKinectDeviceSize ( mmachine  m)

_GETKinectDeviceSize : retrieve a kinect Device picture size

Prototype: fun [ObjKinect] [I I]

Returns
[I I] : width and height in pixel if success, NIL otherwise

Definition at line 335 of file openNiScolPlugin.cpp.

◆ _GETKinectDeviceSkeletonSmoothing()

int _GETKinectDeviceSkeletonSmoothing ( mmachine  m)

_GETKinectDeviceSkeletonSmoothing : Get a ObjKinect skeleton smoothing coefficient

Prototype: fun [ObjKinect] F

Parameters
ObjKinect: Kinect device object
Returns
I : smoothing coefficient if success, NIL otherwise

Definition at line 879 of file openNiScolPlugin.cpp.

◆ _SETKinectDeviceDetectionAngle()

int _SETKinectDeviceDetectionAngle ( mmachine  m)

_SETKinectDeviceDetectionAngle : Set the ObjKinect user detection angle

Prototype: fun [ObjKinect F] I

Parameters
ObjKinect: Kinect device object
F: detection ang in degree, NIL or 0 disable the detection angle, the max value is 57.8 (Kinect IR camera FOV)
Returns
I : 1 if success, NIL otherwise

Definition at line 1006 of file openNiScolPlugin.cpp.

◆ _SETKinectDeviceDetectionDistance()

int _SETKinectDeviceDetectionDistance ( mmachine  m)

_SETKinectDeviceDetectionDistance : Set the ObjKinect user detection distance

Prototype: fun [ObjKinect I] I

Parameters
ObjKinect: Kinect device object
I: detection distance in centimeter
Returns
I : 1 if success, NIL otherwise

Definition at line 920 of file openNiScolPlugin.cpp.

◆ _SETKinectDeviceMirror()

int _SETKinectDeviceMirror ( mmachine  m)

_SETKinectDeviceMirror : Change the mirror mode of th kinect device Prototype: fun [ObjKinect I] I

Parameters
ObjKinect: device
I: 1 to flip picture, 0 for default mode
Returns
I : 1 if success, NIL otherwise

Definition at line 747 of file openNiScolPlugin.cpp.

◆ _SETKinectDeviceSkeletonSmoothing()

int _SETKinectDeviceSkeletonSmoothing ( mmachine  m)

_SETKinectDeviceSkeletonSmoothing : Set a ObjKinect skeleton smoothing coefficient

Prototype: fun [ObjKinect F] I

Parameters
ObjKinect: Kinect device object
F: smoothing coefficient between 0.0 and 1.0
Returns
I : 1 if success, NIL otherwise

Definition at line 831 of file openNiScolPlugin.cpp.