Exemplo n.º 1
0
        private HandOpened InitializeHandOpened(HandToWatch hand)
        {
            var gesture = new HandOpened(hand);

            _detector.RegisterGesture(gesture);
            return(gesture);
        }
Exemplo n.º 2
0
        private GrabAndThrow InitializeGrabAndThrow(HandToWatch hand)
        {
            var gesture = new GrabAndThrow(hand);

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