public void Update(LeapRawData leapRawData)
 {
     this.leapRawData = leapRawData;
     //Console.WriteLine("AbstractLeap4EGesture Update");
     this.GestureDetection(this.leapRawData);
     this.RunGestureHandler();
 }
Пример #2
0
        public Leap4E()
        {
            this.SafeWriteLine("Leap4E: Leap4E Init");
            //
            this.leapRawData          = new LeapRawData();
            this.leap4EGestureManager = new Leap4EGestureManager(this);

            // init leap controller
            this.leapOriginalController = new Controller();
            this.leapOriginalController.AddListener(this);

            // init Timer

            //
        }
Пример #3
0
 protected override void GestureDetection(LeapRawData leapRawData)
 {
     this.currentGestureState = Leap4EGestureState.START_STATE;
 }
 protected virtual void GestureDetection(LeapRawData leapRawData)
 {
     this.currentGestureState = Leap4EGestureState.FINISH_STATE;
 }
Пример #5
0
 public Leap4EEventArgs(LeapRawData data)
 {
     this.leapRawData = data;
 }