Ejemplo n.º 1
0
 private void OnGestureEnded(Object src, EndGestureEventArgs e)
 {
     RaiseGestureEnd(src, e);
 }
Ejemplo n.º 2
0
 protected void RaiseGestureEnded(object sender, EndGestureEventArgs e)
 {
     if (GestureEnded != null)
     {
         GestureEnded(sender, e);
     }
 }
Ejemplo n.º 3
0
 protected virtual void RaiseGestureEnd(Object sender, EndGestureEventArgs e)
 {
     if (GestureEnd != null)
     {
         GestureEnd(this, e);
     }
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Callback when gestures checker detect a gesture ending
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void OnGestureEnded(object sender, EndGestureEventArgs e)
 {
     // if event emit by a gesture
     if (e.Gesture != EnumGesture.GESTURE_NONE)
     {
         if (m_refFlagGesturesBegin.ContainsKey(e.Gesture))
         {
             m_refFlagGesturesBegin[e.Gesture] = false;
         }
     }
     // if event emit by a posture
     else if (e.Posture != EnumPosture.POSTURE_NONE)
     {
         if (PropertiesPluginKinect.Instance.SavePosturerecognize != e.Posture)
         {
             RaiseUserGestureLost(ConvertPostureEnum(e.Posture));
         }
     }
 }