diff --git a/Leap/Events/CircleGestureEventArgs.cs b/Leap/Events/CircleGestureEventArgs.cs index bbf2c54..ac1d116 100644 --- a/Leap/Events/CircleGestureEventArgs.cs +++ b/Leap/Events/CircleGestureEventArgs.cs @@ -1,24 +1,4 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace IntuiLab.Leap.Events { diff --git a/Leap/Events/FingerPresentEventArgs.cs b/Leap/Events/FingerPresentEventArgs.cs index 120a5c8..2dc540f 100644 --- a/Leap/Events/FingerPresentEventArgs.cs +++ b/Leap/Events/FingerPresentEventArgs.cs @@ -1,24 +1,4 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace IntuiLab.Leap.Events { diff --git a/Leap/Events/FingerRemovedEventArgs.cs b/Leap/Events/FingerRemovedEventArgs.cs index f19d01e..4414351 100644 --- a/Leap/Events/FingerRemovedEventArgs.cs +++ b/Leap/Events/FingerRemovedEventArgs.cs @@ -1,24 +1,4 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace IntuiLab.Leap.Events { diff --git a/Leap/Events/HandEventArgs.cs b/Leap/Events/HandEventArgs.cs index e875572..cd41bb4 100644 --- a/Leap/Events/HandEventArgs.cs +++ b/Leap/Events/HandEventArgs.cs @@ -1,24 +1,4 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace IntuiLab.Leap.Events { diff --git a/Leap/Events/LinearGestureEventArgs.cs b/Leap/Events/LinearGestureEventArgs.cs index ae2dab4..57595a0 100644 --- a/Leap/Events/LinearGestureEventArgs.cs +++ b/Leap/Events/LinearGestureEventArgs.cs @@ -1,25 +1,5 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using Leap; +using System; namespace IntuiLab.Leap.Events { diff --git a/Leap/Events/PostureEventArgs.cs b/Leap/Events/PostureEventArgs.cs index 31001ae..f117879 100644 --- a/Leap/Events/PostureEventArgs.cs +++ b/Leap/Events/PostureEventArgs.cs @@ -1,24 +1,4 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace IntuiLab.Leap.Events { diff --git a/Leap/Events/TouchEventArgs.cs b/Leap/Events/TouchEventArgs.cs index 4da2947..9eb7701 100644 --- a/Leap/Events/TouchEventArgs.cs +++ b/Leap/Events/TouchEventArgs.cs @@ -1,24 +1,4 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace IntuiLab.Leap.Events { diff --git a/Leap/Exceptions/LeapException.cs b/Leap/Exceptions/LeapException.cs index 3019f77..04fd16f 100644 --- a/Leap/Exceptions/LeapException.cs +++ b/Leap/Exceptions/LeapException.cs @@ -1,24 +1,4 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace IntuiLab.Leap.Exceptions { diff --git a/Leap/Facades/GestureFacade.cs b/Leap/Facades/GestureFacade.cs index 3a0b05e..8bcc196 100644 --- a/Leap/Facades/GestureFacade.cs +++ b/Leap/Facades/GestureFacade.cs @@ -1,29 +1,7 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using IntuiLab.Leap.Events; using IntuiLab.Leap.Recognition.Gestures; +using System; using System.ComponentModel; -using IntuiLab.Leap.Events; -using IntuiLab.Leap.Exceptions; -using Leap; namespace IntuiLab.Leap { diff --git a/Leap/Facades/HandFacade.cs b/Leap/Facades/HandFacade.cs index 0bf6633..61635b8 100644 --- a/Leap/Facades/HandFacade.cs +++ b/Leap/Facades/HandFacade.cs @@ -1,28 +1,5 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using IntuiLab.Leap.Recognition.Gestures; -using IntuiLab.Leap.Recognition.Postures; using IntuiLab.Leap.Events; -using IntuiLab.Leap.Exceptions; +using System; using System.ComponentModel; namespace IntuiLab.Leap @@ -44,7 +21,7 @@ internal void NotifyPropertyChanged(String strInfo) } } - + #region Enable Properties ///// @@ -115,12 +92,6 @@ internal void NotifyPropertyChanged(String strInfo) public event HandEventHandler HandPresent; public event HandEventHandler HandRemoved; - //public event FingerPresentEventHandler FingerAppears; - //public event FingerPresentEventHandler FingerMoves; - //public event FingerRemovedEventHandler FingerRemoved; - //public event TouchEventHandler TouchDown; - //public event TouchEventHandler TouchUp; - private void RaiseHandPresentEvent(HandEventArgs e) { if (HandPresent != null) @@ -133,50 +104,6 @@ private void RaiseHandRemovedEvent(HandEventArgs e) HandRemoved(this, e); } - - //private void RaiseFingerAppearsEvent(int xOnScreen, int yOnScreen) - //{ - // if (FingerAppears != null) - // { - // XFingerOnScreen = xOnScreen; - // YFingerOnScreen = yOnScreen; - // FingerAppears(this, new FingerPresentEventArgs(xOnScreen, yOnScreen)); - // } - //} - - //private void RaiseFingerMovesEvent(int xOnScreen, int yOnScreen) - //{ - // if (FingerMoves != null) - // { - // XFingerOnScreen = xOnScreen; - // YFingerOnScreen = yOnScreen; - // FingerMoves(this, new FingerPresentEventArgs(xOnScreen, yOnScreen)); - // } - //} - - //private void RaiseFingerRemovedEvent() - //{ - // if (FingerRemoved != null) - // { - // XFingerOnScreen = 0; - // YFingerOnScreen = 0; - // FingerRemoved(this, new FingerRemovedEventArgs()); - // } - //} - - //private void RaiseTouchDown(TouchEventArgs e) - //{ - // if (TouchDown != null) - // TouchDown(this, e); - //} - - //private void RaiseTouchUp(TouchEventArgs e) - //{ - // if (TouchUp != null) - // TouchUp(this, e); - //} - - private void OnHandPresent(object sender, HandEventArgs e) { RaiseHandPresentEvent(e); @@ -187,31 +114,6 @@ private void OnHandRemoved(object sender, HandEventArgs e) RaiseHandRemovedEvent(e); } - //private void OnFingerAppears(object sender, FingerPresentEventArgs e) - //{ - // RaiseFingerAppearsEvent(e.XOnScreen, e.YOnScreen); - //} - - //private void OnFingerMoves(object sender, FingerPresentEventArgs e) - //{ - // RaiseFingerMovesEvent(e.XOnScreen, e.YOnScreen); - //} - - //private void OnFingerRemoved(object sender, FingerRemovedEventArgs e) - //{ - // RaiseFingerRemovedEvent(); - //} - - //private void OnTouchDown(object sender, TouchEventArgs e) - //{ - // RaiseTouchDown(e); - //} - - //private void OnTouchUp(object sender, TouchEventArgs e) - //{ - // RaiseTouchUp(e); - //} - #endregion #region Constructor @@ -257,5 +159,4 @@ public void Dispose() Unsubscribe(); } } - } diff --git a/Leap/Facades/PostureFingerCountFacade.cs b/Leap/Facades/PostureFingerCountFacade.cs index 5612b9a..af09829 100644 --- a/Leap/Facades/PostureFingerCountFacade.cs +++ b/Leap/Facades/PostureFingerCountFacade.cs @@ -1,28 +1,7 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using IntuiLab.Leap.Events; using IntuiLab.Leap.Recognition.Postures; +using System; using System.ComponentModel; -using IntuiLab.Leap.Events; -using IntuiLab.Leap.Exceptions; namespace IntuiLab.Leap { diff --git a/Leap/Facades/PostureShifumiFacade.cs b/Leap/Facades/PostureShifumiFacade.cs index 2db827c..99114d1 100644 --- a/Leap/Facades/PostureShifumiFacade.cs +++ b/Leap/Facades/PostureShifumiFacade.cs @@ -1,28 +1,7 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using IntuiLab.Leap.Events; using IntuiLab.Leap.Recognition.Postures; +using System; using System.ComponentModel; -using IntuiLab.Leap.Events; -using IntuiLab.Leap.Exceptions; namespace IntuiLab.Leap { diff --git a/Leap/LeapListener/LeapListener.cs b/Leap/LeapListener/LeapListener.cs index 8edf0b5..8d83fa1 100644 --- a/Leap/LeapListener/LeapListener.cs +++ b/Leap/LeapListener/LeapListener.cs @@ -1,31 +1,8 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Leap; -using IntuiLab.Leap.Events; using IntuiLab.Leap.Recognition; -using IntuiLab.Leap.DataStructures; -using IntuiLab.Leap.Pointing; using IntuiLab.Leap.Recognition.Gestures; using IntuiLab.Leap.Recognition.Postures; +using Leap; +using System; using System.ComponentModel; namespace IntuiLab.Leap @@ -90,13 +67,6 @@ public LeapListener(bool usingLeapAPIForGesture, bool verboseMode, bool pointing this.m_Scheduler = new Scheduler(verboseMode); - //if (pointingWithOnlyPriorityFinger && usingLeapAPIForPointing) - // m_FingerPointing = new LeapPriorityFingerPointing(); - //else if (pointingWithOnlyPriorityFinger && !usingLeapAPIForPointing) - // m_FingerPointing = new IntuiLabPriorityFingerPointing(); - //else if (!pointingWithOnlyPriorityFinger) - // m_FingerPointing = new LeapAllFingersPointing(); - if (usingLeapAPIForGesture) m_GestureAPI = new LeapGestureAPI(m_Controller, m_VerboseMode); @@ -119,7 +89,6 @@ public LeapListener() : this(false, false, true, false) #endregion - #region Dispose /// @@ -144,8 +113,6 @@ public override void Dispose() this.DisablePostureRecognition(PostureType.Four); this.DisablePostureRecognition(PostureType.Five); - //this.DisablePointing(); - m_Controller.RemoveListener(this); m_Controller.Dispose(); m_Controller = null; @@ -184,7 +151,6 @@ public override void OnFrame(Controller controller) Frame lastFrame = controller.Frame(1); HandList hands = frame.Hands; FingerList fingers = frame.Fingers; - // if the CSV recording is activated, we store hands data and fingers data from this frame in files RecordData(frame, hands, fingers); @@ -192,9 +158,6 @@ public override void OnFrame(Controller controller) // we test if the events HandPresent/HandLost have to be raised HandDetection(hands, fingers); - // then, we test if there are fingers in the detection field - //FingerDetection(frame, lastFrame, controller); - // and to finish, we proceed to the gesture and posture detections GestureAndPostureDetection(frame); } diff --git a/Leap/LeapListener/LeapListenerGestureAndPostureRecognition.cs b/Leap/LeapListener/LeapListenerGestureAndPostureRecognition.cs index 6ea1ee2..10e7138 100644 --- a/Leap/LeapListener/LeapListenerGestureAndPostureRecognition.cs +++ b/Leap/LeapListener/LeapListenerGestureAndPostureRecognition.cs @@ -1,31 +1,10 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using IntuiLab.Leap.DataStructures; using IntuiLab.Leap.Events; using IntuiLab.Leap.Recognition; using IntuiLab.Leap.Recognition.Gestures; using IntuiLab.Leap.Recognition.Postures; -using IntuiLab.Leap.Exceptions; -using IntuiLab.Leap.DataStructures; using Leap; +using System; namespace IntuiLab.Leap { diff --git a/Leap/LeapListener/LeapListenerHandDetection.cs b/Leap/LeapListener/LeapListenerHandDetection.cs index b8f7796..6fcc8ba 100644 --- a/Leap/LeapListener/LeapListenerHandDetection.cs +++ b/Leap/LeapListener/LeapListenerHandDetection.cs @@ -1,24 +1,3 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using IntuiLab.Leap.Events; using IntuiLab.Leap.Utils; using Leap; diff --git a/Leap/LeapListener/LeapListenerPointing.cs b/Leap/LeapListener/LeapListenerPointing.cs index f6feb94..f5dc10a 100644 --- a/Leap/LeapListener/LeapListenerPointing.cs +++ b/Leap/LeapListener/LeapListenerPointing.cs @@ -1,24 +1,3 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using IntuiLab.Leap.Events; using IntuiLab.Leap.Pointing; using Leap; diff --git a/Leap/LeapListener/LeapListenerRecording.cs b/Leap/LeapListener/LeapListenerRecording.cs index 7c1b03b..12db23c 100644 --- a/Leap/LeapListener/LeapListenerRecording.cs +++ b/Leap/LeapListener/LeapListenerRecording.cs @@ -1,24 +1,3 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using IntuiLab.Leap.DataRecording; using Leap; diff --git a/Leap/LeapListener/LeapListenerReplay.cs b/Leap/LeapListener/LeapListenerReplay.cs index afb2e15..f5aa641 100644 --- a/Leap/LeapListener/LeapListenerReplay.cs +++ b/Leap/LeapListener/LeapListenerReplay.cs @@ -1,25 +1,5 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using IntuiLab.Leap.DataStructures; +using System.Collections.Generic; namespace IntuiLab.Leap { diff --git a/Leap/Parameters/ParametersGesture.cs b/Leap/Parameters/ParametersGesture.cs index 39a6611..1c44f42 100644 --- a/Leap/Parameters/ParametersGesture.cs +++ b/Leap/Parameters/ParametersGesture.cs @@ -1,25 +1,5 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using IntuiLab.Leap.Exceptions; +using System; namespace IntuiLab.Leap { diff --git a/Leap/Parameters/ParametersOther.cs b/Leap/Parameters/ParametersOther.cs index a45b84e..d0c1532 100644 --- a/Leap/Parameters/ParametersOther.cs +++ b/Leap/Parameters/ParametersOther.cs @@ -1,25 +1,5 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using IntuiLab.Leap.Exceptions; +using System; namespace IntuiLab.Leap { diff --git a/Leap/Parameters/ParametersPointing.cs b/Leap/Parameters/ParametersPointing.cs index 01a147a..bbd92cd 100644 --- a/Leap/Parameters/ParametersPointing.cs +++ b/Leap/Parameters/ParametersPointing.cs @@ -1,25 +1,5 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using IntuiLab.Leap.Exceptions; +using System; namespace IntuiLab.Leap { diff --git a/Leap/Parameters/ParametersPosture.cs b/Leap/Parameters/ParametersPosture.cs index 0586b15..70e349b 100644 --- a/Leap/Parameters/ParametersPosture.cs +++ b/Leap/Parameters/ParametersPosture.cs @@ -1,25 +1,5 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using IntuiLab.Leap.Exceptions; +using System; namespace IntuiLab.Leap { @@ -75,7 +55,7 @@ public ParametersPosture() #endregion - #region l Parameters + #region Parameters public int NbMinFrames { get; set; } public readonly int PostureEndTimerInterval = DEFAULT_POSTURE_END_TIMER_INTERVAL; diff --git a/Leap/Parameters/ParametersScheduler.cs b/Leap/Parameters/ParametersScheduler.cs index 7332b56..4a18d35 100644 --- a/Leap/Parameters/ParametersScheduler.cs +++ b/Leap/Parameters/ParametersScheduler.cs @@ -1,25 +1,5 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using IntuiLab.Leap.Exceptions; +using System; namespace IntuiLab.Leap { diff --git a/Leap/Pointing/FingerPointing.cs b/Leap/Pointing/FingerPointing.cs index 383e7e6..a0a4c3c 100644 --- a/Leap/Pointing/FingerPointing.cs +++ b/Leap/Pointing/FingerPointing.cs @@ -1,24 +1,3 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using IntuiLab.Leap.Events; using Leap; diff --git a/Leap/Pointing/IntuiLabPriorityFingerPointing.cs b/Leap/Pointing/IntuiLabPriorityFingerPointing.cs index 0296c04..bd17080 100644 --- a/Leap/Pointing/IntuiLabPriorityFingerPointing.cs +++ b/Leap/Pointing/IntuiLabPriorityFingerPointing.cs @@ -1,24 +1,3 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using Leap; using System.Windows; diff --git a/Leap/Pointing/LeapAllFingersPointing.cs b/Leap/Pointing/LeapAllFingersPointing.cs index 2843402..526ddde 100644 --- a/Leap/Pointing/LeapAllFingersPointing.cs +++ b/Leap/Pointing/LeapAllFingersPointing.cs @@ -1,24 +1,3 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using Leap; namespace IntuiLab.Leap.Pointing diff --git a/Leap/Pointing/LeapPriorityFingerPointing.cs b/Leap/Pointing/LeapPriorityFingerPointing.cs index cf49a7e..c20067e 100644 --- a/Leap/Pointing/LeapPriorityFingerPointing.cs +++ b/Leap/Pointing/LeapPriorityFingerPointing.cs @@ -1,24 +1,3 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using Leap; namespace IntuiLab.Leap.Pointing @@ -49,10 +28,6 @@ public override void FingerDetection(Frame currentFrame, Frame lastFrame, Contro Screen screen = screens.ClosestScreenHit(priorityFinger); Vector normalizedCoordinates = screen.Intersect(priorityFinger, true); - // projection of the finger on the screen - //Screen screen = screens.ClosestScreen(priorityFinger.TipPosition); - //Vector normalizedCoordinates = screen.Project(priorityFinger.TipPosition, true); - int xPixel = (int)(normalizedCoordinates.x * screen.WidthPixels); int yPixel = screen.HeightPixels - (int)(normalizedCoordinates.y * screen.HeightPixels); diff --git a/Leap/Properties/AssemblyInfo.cs b/Leap/Properties/AssemblyInfo.cs index a8de95a..97e9130 100644 --- a/Leap/Properties/AssemblyInfo.cs +++ b/Leap/Properties/AssemblyInfo.cs @@ -1,22 +1,4 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de diff --git a/Leap/Recognition/GestureAPI.cs b/Leap/Recognition/GestureAPI.cs index d5d4da6..2a0a8ca 100644 --- a/Leap/Recognition/GestureAPI.cs +++ b/Leap/Recognition/GestureAPI.cs @@ -1,24 +1,3 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using IntuiLab.Leap.Events; using IntuiLab.Leap.Recognition.Gestures; using Leap; diff --git a/Leap/Recognition/Gestures/GestureDetectedEventArgs.cs b/Leap/Recognition/Gestures/GestureDetectedEventArgs.cs index cd9b844..7f4de33 100644 --- a/Leap/Recognition/Gestures/GestureDetectedEventArgs.cs +++ b/Leap/Recognition/Gestures/GestureDetectedEventArgs.cs @@ -1,25 +1,5 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using Leap; +using System; namespace IntuiLab.Leap.Recognition.Gestures { diff --git a/Leap/Recognition/Gestures/GestureRecognizer.cs b/Leap/Recognition/Gestures/GestureRecognizer.cs index e45aa21..086a20a 100644 --- a/Leap/Recognition/Gestures/GestureRecognizer.cs +++ b/Leap/Recognition/Gestures/GestureRecognizer.cs @@ -1,27 +1,8 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - +using IntuiLab.Leap.DataStructures; +using IntuiLab.Leap.Utils; +using Leap; using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using Leap; -using IntuiLab.Leap.Utils; -using IntuiLab.Leap.DataStructures; namespace IntuiLab.Leap.Recognition.Gestures { @@ -35,7 +16,6 @@ internal class GestureRecognizer // We compare the angle between the direction vector of a frame and the one of the previous frame. For exemple, if the angle is close to 0, // the movement is linear. We also consider the movement speed, the minimum number of frames it appears, etc. - #region Fields private bool m_VerboseMode; @@ -385,7 +365,6 @@ private bool SwipeLeftConditionIsValid(float speed, Vector globalDirection) return false; } - /// /// Checks if the conditions for a Push gesture is valid /// diff --git a/Leap/Recognition/Gestures/GestureType.cs b/Leap/Recognition/Gestures/GestureType.cs index 7d5d6a3..1f7f4d9 100644 --- a/Leap/Recognition/Gestures/GestureType.cs +++ b/Leap/Recognition/Gestures/GestureType.cs @@ -1,25 +1,3 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Leap; namespace IntuiLab.Leap.Recognition.Gestures { diff --git a/Leap/Recognition/IntuiLabGestureAPI.cs b/Leap/Recognition/IntuiLabGestureAPI.cs index f7fc23e..59d011c 100644 --- a/Leap/Recognition/IntuiLabGestureAPI.cs +++ b/Leap/Recognition/IntuiLabGestureAPI.cs @@ -1,29 +1,7 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Leap; -using IntuiLab.Leap.Recognition.Gestures; -using IntuiLab.Leap.Exceptions; -using IntuiLab.Leap.Events; using IntuiLab.Leap.DataStructures; +using IntuiLab.Leap.Exceptions; +using IntuiLab.Leap.Recognition.Gestures; +using Leap; namespace IntuiLab.Leap.Recognition { diff --git a/Leap/Recognition/LeapGestureAPI.cs b/Leap/Recognition/LeapGestureAPI.cs index 60520b5..6e1e6bc 100644 --- a/Leap/Recognition/LeapGestureAPI.cs +++ b/Leap/Recognition/LeapGestureAPI.cs @@ -1,27 +1,8 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - +using IntuiLab.Leap.Exceptions; +using IntuiLab.Leap.Recognition.Gestures; +using Leap; using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using Leap; -using IntuiLab.Leap.Recognition.Gestures; -using IntuiLab.Leap.Exceptions; namespace IntuiLab.Leap.Recognition { diff --git a/Leap/Recognition/Postures/PostureDetectedEventArgs.cs b/Leap/Recognition/Postures/PostureDetectedEventArgs.cs index d9a358d..270fe2f 100644 --- a/Leap/Recognition/Postures/PostureDetectedEventArgs.cs +++ b/Leap/Recognition/Postures/PostureDetectedEventArgs.cs @@ -1,24 +1,4 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace IntuiLab.Leap.Recognition.Postures { diff --git a/Leap/Recognition/Postures/PostureRecognizer.cs b/Leap/Recognition/Postures/PostureRecognizer.cs index 0b95c93..7ea674f 100644 --- a/Leap/Recognition/Postures/PostureRecognizer.cs +++ b/Leap/Recognition/Postures/PostureRecognizer.cs @@ -1,27 +1,8 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - +using IntuiLab.Leap.DataStructures; +using IntuiLab.Leap.Utils; +using Leap; using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using Leap; -using IntuiLab.Leap.Utils; -using IntuiLab.Leap.DataStructures; using System.Timers; namespace IntuiLab.Leap.Recognition.Postures diff --git a/Leap/Recognition/Postures/PostureType.cs b/Leap/Recognition/Postures/PostureType.cs index 0bad4a6..12e90cf 100644 --- a/Leap/Recognition/Postures/PostureType.cs +++ b/Leap/Recognition/Postures/PostureType.cs @@ -1,24 +1,3 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace IntuiLab.Leap.Recognition.Postures { diff --git a/Leap/Recognition/Scheduler.cs b/Leap/Recognition/Scheduler.cs index 3248ba4..3b13629 100644 --- a/Leap/Recognition/Scheduler.cs +++ b/Leap/Recognition/Scheduler.cs @@ -1,30 +1,9 @@ - // **************************************************************************** - // - // INTUILAB CONFIDENTIAL - //_____________________ - // [2002] - [2015] IntuiLab SA - // All Rights Reserved. - // NOTICE: All information contained herein is, and remains - // the property of IntuiLab SA. The intellectual and technical - // concepts contained herein are proprietary to IntuiLab SA - // and may be covered by U.S. and other country Patents, patents - // in process, and are protected by trade secret or copyright law. - // Dissemination of this information or reproduction of this - // material is strictly forbidden unless prior written permission - // is obtained from IntuiLab SA. - // - // **************************************************************************** - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using IntuiLab.Leap.DataStructures; using IntuiLab.Leap.Recognition.Gestures; using IntuiLab.Leap.Recognition.Postures; -using IntuiLab.Leap.DataStructures; -using Leap; +using System; +using System.Collections.Generic; using System.Timers; -using System.Diagnostics; namespace IntuiLab.Leap.Recognition { @@ -56,8 +35,6 @@ internal class Scheduler private List