C# Class Kinect.Gestures.KinectGestureController

Controls the application's gesture recognition, feeding all the gestures current skeletal data.
Mostrar archivo Open project: NIAEFEUP/Kommando Class Usage Examples

Public Methods

Method Description
AddGesture ( KinectGesture gesture ) : void

Adds a new complex gesture to the gestures controller.

AddGesture ( KinectGestureType type, IKinectGestureFrame frames ) : void

Adds a new complex gesture to the gestures controller.

KinectGestureController ( ) : System

Creates a new gesture controller instance.

KinectGesture_KinectGestureRecognized ( object sender, KinectGestureEventArgs e ) : void

Callback method for any "gestured recognized" event that is triggered. Will in turn invoke the registered callback of the client, if any is available.

UpdateGestures ( Microsoft.Kinect.Skeleton skeleton ) : void

Updates all the gestures' states with the most recent skeletal data.

Method Details

AddGesture() public method

Adds a new complex gesture to the gestures controller.
public AddGesture ( KinectGesture gesture ) : void
gesture KinectGesture Gesture to be added
return void

AddGesture() public method

Adds a new complex gesture to the gestures controller.
public AddGesture ( KinectGestureType type, IKinectGestureFrame frames ) : void
type KinectGestureType Type of the gesture to be added
frames IKinectGestureFrame Frames that represent the complex gesture
return void

KinectGestureController() public method

Creates a new gesture controller instance.
public KinectGestureController ( ) : System
return System

KinectGesture_KinectGestureRecognized() public method

Callback method for any "gestured recognized" event that is triggered. Will in turn invoke the registered callback of the client, if any is available.
public KinectGesture_KinectGestureRecognized ( object sender, KinectGestureEventArgs e ) : void
sender object Object that triggered the event
e KinectGestureEventArgs Triggered event arguments
return void

UpdateGestures() public method

Updates all the gestures' states with the most recent skeletal data.
public UpdateGestures ( Microsoft.Kinect.Skeleton skeleton ) : void
skeleton Microsoft.Kinect.Skeleton Skeleton to analyze
return void