C# Class SkeletalTracking.CustomController1

Inheritance: SkeletonController
Mostra file Open project: ardakara/Kinect-Gesture-Controller Class Usage Examples

Public Methods

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

Private Methods

Method 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 method

public CustomController1 ( MainWindow win ) : System
win MainWindow
return System

controllerActivated() public method

public controllerActivated ( Target>.Dictionary targets ) : void
targets Target>.Dictionary
return void

processSkeletonFrame() public method

public processSkeletonFrame ( SkeletonData skeleton, Target>.Dictionary targets ) : void
skeleton SkeletonData
targets Target>.Dictionary
return void

removeAllBalls() public method

public removeAllBalls ( ) : void
return void