Свойство | Тип | Описание | |
---|---|---|---|
AddFailureHandler | void | ||
CheckDevice | void | ||
Dispose | void | ||
IsDeviceFailed | bool | ||
Kinect | System | ||
KinectStatusThread | void | ||
Kinect_OnError | void | ||
StartStatusThread | void | ||
StopStatusThread | void |
Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Dispose device freeing all associated unmanaged resources.
|
|
GetAccelerometerValues ( double &x, double &y, double &z ) : void |
Get accelerometer values for 3 axes. Units of all 3 values are m/s2. The g value used for calculations is taken as 9.80665 m/s2. |
|
GetDepthCamera ( ) : |
Get Kinect's depth camera. The method simply creates instance of the KinectDepthCamera class by calling its appropriate constructor. Use KinectDepthCamera.Start method to start the video then. |
|
GetDevice ( int deviceID ) : |
Get initialized instance of the Kinect device.
|
|
GetVideoCamera ( ) : |
Get Kinect's video camera. The method simply creates instance of the KinectVideoCamera class by calling its appropriate constructor. Use KinectVideoCamera.Start method to start the video then. |
|
SetLedColor ( LedColorOption ledColor ) : void |
Set color of Kinect's LED.
|
|
SetMotorTilt ( int angle ) : void |
Set motor's tilt value.
|
Метод | Описание | |
---|---|---|
AddFailureHandler ( int deviceID, DeviceFailureHandler handler ) : void | ||
CheckDevice ( ) : void | ||
Dispose ( bool disposing ) : void | ||
IsDeviceFailed ( int deviceID ) : bool | ||
Kinect ( |
||
KinectStatusThread ( ) : void | ||
Kinect_OnError ( |
||
StartStatusThread ( ) : void | ||
StopStatusThread ( ) : void |
public GetAccelerometerValues ( double &x, double &y, double &z ) : void | ||
x | double | X axis value on the accelerometer. |
y | double | Y axis value on the accelerometer. |
z | double | Z axis value on the accelerometer. |
Результат | void |
public GetDepthCamera ( ) : |
||
Результат |
public static GetDevice ( int deviceID ) : |
||
deviceID | int | ID of the Kinect device to get instance of, [0, |
Результат |
public GetVideoCamera ( ) : |
||
Результат |
public SetLedColor ( LedColorOption ledColor ) : void | ||
ledColor | LedColorOption | LED color to set. |
Результат | void |
public SetMotorTilt ( int angle ) : void | ||
angle | int | Tilt value to set, [-31, 30] degrees. |
Результат | void |