C# Class KineticMath.Kinect.Gestures.HitGesture

Inheritance: IGesture
Show file Open project: kingston/kineticmath Class Usage Examples

Public Methods

Method Description
HitGesture ( List hitRectangles, IPointConverter pointConverter ) : System
OnProcessSkeleton ( Microsoft.Kinect.Skeleton skeleton ) : void

Private Methods

Method Description
ComputeJointVelocity ( JointType type ) : Vector

Computes the velocity of a joint given the joint history

HitTestRects ( Microsoft.Kinect.SkeletonPoint skelPt ) : int

Checks whether the joint hit a rectangle and if so, return the index of the rect it hit

Method Details

HitGesture() public method

public HitGesture ( List hitRectangles, IPointConverter pointConverter ) : System
hitRectangles List
pointConverter IPointConverter
return System

OnProcessSkeleton() public method

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