C# Class KineticMath.Kinect.PointConverters.BodyRelativePointConverter

Converts points from KinectSpace to a provided rectangle fixing the center of the body as the center NOTE: Requires the person to be standing
Inheritance: IPointConverter
Datei anzeigen Open project: kingston/kineticmath Class Usage Examples

Public Methods

Method Description
BodyRelativePointConverter ( Rect activeRect, GestureController controller ) : System
ConvertPoint ( Microsoft.Kinect.SkeletonPoint point ) : Microsoft.Kinect.SkeletonPoint

Private Methods

Method Description
ScalePoint ( float val, float center ) : float
controller_SkeletonPreProcessed ( object sender, SkeletonPreProcessedEventArgs e ) : void

Method Details

BodyRelativePointConverter() public method

public BodyRelativePointConverter ( Rect activeRect, GestureController controller ) : System
activeRect System.Windows.Rect
controller GestureController
return System

ConvertPoint() public method

public ConvertPoint ( Microsoft.Kinect.SkeletonPoint point ) : Microsoft.Kinect.SkeletonPoint
point Microsoft.Kinect.SkeletonPoint
return Microsoft.Kinect.SkeletonPoint