コード例 #1
0
 public void appendGazeTouchEvent(GazeTouchEvent e)
 {
     if (enableLoggingUpdate)
     {
         e.nth = inputCount;
         gazeTouchEvents.Add(new GazeTouchEvent(e));
     }
 }
 public GazeTouchEvent(GazeTouchEvent e)
 {
     nth             = e.nth;
     eventLabel      = e.eventLabel;
     xPos            = e.xPos;
     yPos            = e.yPos;
     xGazePos        = e.xGazePos;
     yGazePos        = e.yGazePos;
     gesture         = e.gesture;
     selected        = e.selected;
     state           = e.state;
     eyeOpen         = e.eyeOpen;
     activatedWindow = e.activatedWindow;
     eventTime       = e.eventTime;
 }
 public void addWatchTouchEvent(GazeTouchEvent e)
 {
     watchTouchEvents.Add(new GazeTouchEvent(e));
 }