C# Class SkeletalTracking.CustomController1

Inheritance: SkeletonController
Afficher le fichier Open project: ardakara/Kinect-Gesture-Controller Class Usage Examples

Méthodes publiques

Méthode Description
CustomController1 ( MainWindow win ) : System
controllerActivated ( Target>.Dictionary targets ) : void
processSkeletonFrame ( SkeletonData skeleton, Target>.Dictionary targets ) : void
removeAllBalls ( ) : void

Private Methods

Méthode Description
addPastBallLocation ( double x, double y ) : void
areArmsStraight ( SkeletonData skeleton ) : bool
areWristsTogether ( SkeletonData skeleton ) : bool
computeBallDirection ( ) : double[]
computeGrownRadius ( double currentR ) : double
computeLaunchAngle ( SkeletonData skeleton ) : double
getDistance ( double x, double y, double z ) : double
getJointForBall ( SkeletonData skeleton ) : double[]
handleTargetIntersected ( Target t, double value ) : void
isCloseToBody ( SkeletonData skeleton ) : bool

Method Details

CustomController1() public méthode

public CustomController1 ( MainWindow win ) : System
win MainWindow
Résultat System

controllerActivated() public méthode

public controllerActivated ( Target>.Dictionary targets ) : void
targets Target>.Dictionary
Résultat void

processSkeletonFrame() public méthode

public processSkeletonFrame ( SkeletonData skeleton, Target>.Dictionary targets ) : void
skeleton SkeletonData
targets Target>.Dictionary
Résultat void

removeAllBalls() public méthode

public removeAllBalls ( ) : void
Résultat void