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
Afficher le fichier Open project: kingston/kineticmath Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
ScalePoint ( float val, float center ) : float
controller_SkeletonPreProcessed ( object sender, SkeletonPreProcessedEventArgs e ) : void

Method Details

BodyRelativePointConverter() public méthode

public BodyRelativePointConverter ( Rect activeRect, GestureController controller ) : System
activeRect System.Windows.Rect
controller GestureController
Résultat System

ConvertPoint() public méthode

public ConvertPoint ( Microsoft.Kinect.SkeletonPoint point ) : Microsoft.Kinect.SkeletonPoint
point Microsoft.Kinect.SkeletonPoint
Résultat Microsoft.Kinect.SkeletonPoint