C# Class KinectMenu.MotionEngine

The engine that handles motion input from the Kinect
Afficher le fichier Open project: NUIC/2-Kinects-1-Machine Class Usage Examples

Méthodes publiques

Свойство Type Description
created HandCreated
movement HandMotion

Protected Properties

Свойство Type Description
smoothingParameters TransformSmoothParameters

Méthodes publiques

Méthode Description
HandsTogether ( int scale ) : System.Boolean

Checks to see if the user's hands are together +/- the scale factor.

getInstance ( ) : MotionEngine
registerHandCreated ( HandCreated handler ) : void
registerHandMotion ( HandMotion handler ) : void
registerVideoCapture ( EventHandler handler ) : void
removeHandMotion ( HandMotion handler ) : void
removeVideoCapture ( EventHandler handler ) : void

Méthodes protégées

Méthode Description
fitToScreen ( Microsoft.Kinect.SkeletonPoint skp ) : Microsoft.Kinect.SkeletonPoint

Private Methods

Méthode Description
InitializeMotionDetection ( ) : void

Called by the constructor. Sets up the Kinect controls.

InitializeRuntime ( ) : void
MotionEngine ( ) : System
SkeletonFrameReady ( Microsoft.Kinect.Skeleton firstPerson ) : void

Method Details

HandsTogether() public méthode

Checks to see if the user's hands are together +/- the scale factor.
public HandsTogether ( int scale ) : System.Boolean
scale int The scale factor
Résultat System.Boolean

fitToScreen() protected static méthode

protected static fitToScreen ( Microsoft.Kinect.SkeletonPoint skp ) : Microsoft.Kinect.SkeletonPoint
skp Microsoft.Kinect.SkeletonPoint
Résultat Microsoft.Kinect.SkeletonPoint

getInstance() public static méthode

public static getInstance ( ) : MotionEngine
Résultat MotionEngine

registerHandCreated() public méthode

public registerHandCreated ( HandCreated handler ) : void
handler HandCreated
Résultat void

registerHandMotion() public méthode

public registerHandMotion ( HandMotion handler ) : void
handler HandMotion
Résultat void

registerVideoCapture() public méthode

public registerVideoCapture ( EventHandler handler ) : void
handler EventHandler
Résultat void

removeHandMotion() public méthode

public removeHandMotion ( HandMotion handler ) : void
handler HandMotion
Résultat void

removeVideoCapture() public méthode

public removeVideoCapture ( EventHandler handler ) : void
handler EventHandler
Résultat void

Property Details

created public_oe static_oe property

public static HandCreated created
Résultat HandCreated

movement public_oe static_oe property

public static HandMotion movement
Résultat HandMotion

smoothingParameters protected_oe property

protected TransformSmoothParameters smoothingParameters
Résultat TransformSmoothParameters