Example #1
0
 //Constructor
 public Gestures()
 {
     GestureKey gestureID = new GestureKey();
     List<float[]> gestureSequence = new List<float[]>();
     this.gestures = new Dictionary<GestureKey, List<float[]>>();
     gestures.Add(gestureID, gestureSequence);
 }
 public Results(string recorded, string previous,GestureKey.Rating prev_rating, TimeSpan prev_timespan, string result,GestureKey.Rating res_rating, TimeSpan res_timespan, GestureKey gKey, string minDistance)
 {
     this.recorded = recorded;
     this.previous = previous;
     this.prev_rating = prev_rating;
     this.prev_timespan = prev_timespan;
     this.result = result;
     this.res_rating = res_rating;
     this.res_timespan = res_timespan;
     this.minDistance = minDistance;
     this.gKey = gKey;
     save = true;
 }
 public Results()
 {
     recorded = "";
     previous = "";
     prev_rating = GestureKey.Rating.DEFAULT;
     prev_timespan = new TimeSpan(0);
     result = "";
     prev_rating = GestureKey.Rating.DEFAULT;
     prev_timespan = new TimeSpan(0);
     minDistance = "";
     gKey = new GestureKey();
     save = false;
     
 }