public HitGesture(List<Rect> hitRectangles, IPointConverter pointConverter, params JointType[] joints) { if (hitRectangles == null) throw new ArgumentNullException("hitRectangles"); if (pointConverter == null) throw new ArgumentNullException("pointConverter"); this.maxTimeToLive = 200; this.joints = joints; this.HitRectangles = hitRectangles.ToList(); this.pointConverter = pointConverter; }
public HitGesture(List <Rect> hitRectangles, IPointConverter pointConverter, params JointType[] joints) { if (hitRectangles == null) { throw new ArgumentNullException("hitRectangles"); } if (pointConverter == null) { throw new ArgumentNullException("pointConverter"); } this.maxTimeToLive = 200; this.joints = joints; this.HitRectangles = hitRectangles.ToList(); this.pointConverter = pointConverter; }
public void InitializeSkeleton(GestureController gestureController, IPointConverter pointConverter) { gestureController.SkeletonPreProcessed += new EventHandler <SkeletonPreProcessedEventArgs>(gestureController_SkeletonPreProcessed); this.pointConverter = pointConverter; ActivateSkeletonProcessing(); }
public void InitializeSkeleton(GestureController gestureController, IPointConverter pointConverter) { gestureController.SkeletonPreProcessed += new EventHandler<SkeletonPreProcessedEventArgs>(gestureController_SkeletonPreProcessed); this.pointConverter = pointConverter; ActivateSkeletonProcessing(); }