private HandOpened InitializeHandOpened(HandToWatch hand)
        {
            var gesture = new HandOpened(hand);

            _detector.RegisterGesture(gesture);
            return(gesture);
        }
        private GrabAndThrow InitializeGrabAndThrow(HandToWatch hand)
        {
            var gesture = new GrabAndThrow(hand);

            _detector.RegisterGesture(gesture);
            return(gesture);
        }
Example #3
0
 public GrabAndThrow(HandToWatch handToWatch)
 {
     _handToWatch = handToWatch == HandToWatch.HandLeft ? JointType.HandLeft : JointType.HandRight;
 }
Example #4
0
 private HandClosed InitializeHandClosed(HandToWatch hand)
 {
     var gesture = new HandClosed(hand);
     _detector.RegisterGesture(gesture);
     return gesture;
 }
Example #5
0
 private GrabAndThrow InitializeGrabAndThrow(HandToWatch hand)
 {
     var gesture = new GrabAndThrow(hand);
     _detector.RegisterGesture(gesture);
     return gesture;
 }
Example #6
0
 public HandClosed(HandToWatch handToWatch)
 {
     _handToWatch = handToWatch == HandToWatch.HandLeft ? JointType.HandLeft : JointType.HandRight;
 }
Example #7
0
 public HandClosed(HandToWatch handToWatch)
 {
     _handToWatch = handToWatch == HandToWatch.HandLeft ? JointType.HandLeft : JointType.HandRight;
 }
Example #8
0
 public GrabAndThrow(HandToWatch handToWatch)
 {
     _handToWatch = handToWatch == HandToWatch.HandLeft ? JointType.HandLeft : JointType.HandRight;
 }