C# Class GestureFramework.GestureMapState

This class is the topmost gesture state class. There should only be one of these instantiated per active user. There is a dictionary in the form1 class that matches this information to an active user Skeleton Id.
Show file Open project: UPS-CS240-F12/motion-capture Class Usage Examples

Public Properties

Property Type Description
LastGestureCompletionTime System.DateTime

Public Methods

Method Description
Evaluate ( Microsoft.Kinect.Skeleton skeleton, int xScale, int yScale ) : bool
GestureMapState ( GestureMap map ) : System
InitializeGestureState ( GestureMap map ) : void
RegisterGestureResult ( Action gestureHandler ) : void
ResetAll ( Microsoft.Kinect.Skeleton skeleton ) : void

Method Details

Evaluate() public method

public Evaluate ( Microsoft.Kinect.Skeleton skeleton, int xScale, int yScale ) : bool
skeleton Microsoft.Kinect.Skeleton
xScale int
yScale int
return bool

GestureMapState() public method

public GestureMapState ( GestureMap map ) : System
map GestureMap
return System

InitializeGestureState() public method

public InitializeGestureState ( GestureMap map ) : void
map GestureMap
return void

RegisterGestureResult() public method

public RegisterGestureResult ( Action gestureHandler ) : void
gestureHandler Action
return void

ResetAll() public method

public ResetAll ( Microsoft.Kinect.Skeleton skeleton ) : void
skeleton Microsoft.Kinect.Skeleton
return void

Property Details

LastGestureCompletionTime public property

public DateTime,System LastGestureCompletionTime
return System.DateTime