private void ProcessGesture(Joint head, Joint handleft, Joint handright) { /* Microsoft.Research.Kinect.Nui.Vector vector = new Microsoft.Research.Kinect.Nui.Vector(); vector.X = ScaleVector(800, handright.Position.X); vector.Y = ScaleVector(600, -handright.Position.Y); vector.Z = handright.Position.Z; handright.Position = vector;**/ }
private void SetEllipsePosition(Ellipse ellipse, Joint joint) { /*Microsoft.Research.Kinect.Nui.Vector vector = new Microsoft.Research.Kinect.Nui.Vector(); vector.X = ScaleVector(800, joint.Position.X); vector.Y = ScaleVector(600, -joint.Position.Y); vector.Z = joint.Position.Z; Joint updatedJoint = new Joint(); updatedJoint.ID = joint.ID; updatedJoint.TrackingState = JointTrackingState.Tracked; updatedJoint.Position = vector; Canvas.SetLeft(ellipse, updatedJoint.Position.X); Canvas.SetTop(ellipse, updatedJoint.Position.Y); */ }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)