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.
Afficher le fichier Open project: UPS-CS240-F12/motion-capture Class Usage Examples

Méthodes publiques

Свойство Type Description
LastGestureCompletionTime System.DateTime

Méthodes publiques

Méthode 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 méthode

public Evaluate ( Microsoft.Kinect.Skeleton skeleton, int xScale, int yScale ) : bool
skeleton Microsoft.Kinect.Skeleton
xScale int
yScale int
Résultat bool

GestureMapState() public méthode

public GestureMapState ( GestureMap map ) : System
map GestureMap
Résultat System

InitializeGestureState() public méthode

public InitializeGestureState ( GestureMap map ) : void
map GestureMap
Résultat void

RegisterGestureResult() public méthode

public RegisterGestureResult ( Action gestureHandler ) : void
gestureHandler Action
Résultat void

ResetAll() public méthode

public ResetAll ( Microsoft.Kinect.Skeleton skeleton ) : void
skeleton Microsoft.Kinect.Skeleton
Résultat void

Property Details

LastGestureCompletionTime public_oe property

public DateTime,System LastGestureCompletionTime
Résultat System.DateTime