C# Class LightBuzz.Vitruvius.GestureController

Represents a gesture controller.
显示文件 Open project: ase-lab/SoD_Sensor_v2 Class Usage Examples

Public Methods

Method Description
AddGesture ( GestureType type ) : void

Adds the specified gesture for recognition.

AddGesture ( string name, IGestureSegment segments ) : void

Adds the specified gesture for recognition.

GestureController ( ) : Microsoft.Kinect

Initializes a new instance of GestureController.

GestureController ( GestureType type ) : Microsoft.Kinect

Initializes a new instance of GestureController.

Update ( Body body ) : void

Updates all gestures.

Private Methods

Method Description
OnGestureRecognized ( object sender, GestureEventArgs e ) : void

Handles the GestureRecognized event of the g control.

Method Details

AddGesture() public method

Adds the specified gesture for recognition.
public AddGesture ( GestureType type ) : void
type GestureType The predefined .
return void

AddGesture() public method

Adds the specified gesture for recognition.
public AddGesture ( string name, IGestureSegment segments ) : void
name string The gesture name.
segments IGestureSegment The gesture segments.
return void

GestureController() public method

Initializes a new instance of GestureController.
public GestureController ( ) : Microsoft.Kinect
return Microsoft.Kinect

GestureController() public method

Initializes a new instance of GestureController.
public GestureController ( GestureType type ) : Microsoft.Kinect
type GestureType The gesture type to recognize. Set to GesureType.All for instantly adding all of the predefined gestures.
return Microsoft.Kinect

Update() public method

Updates all gestures.
public Update ( Body body ) : void
body Body The body data.
return void