Ejemplo n.º 1
0
        public void AddTemplate(Skeleton skeleton)
        {
            RecordedPath recordedPath = new RecordedPath(skeleton.Joints.Count);

            recordedPath.Points.AddRange(skeleton.Joints.ToListOfVector2());

            LearningMachine.AddPath(recordedPath);
        }
Ejemplo n.º 2
0
        public void AddTemplate(ReplaySkeletonData skeleton)
        {
            RecordedPath recordedPath = new RecordedPath(skeleton.Joints.Count);

            recordedPath.Points.AddRange(skeleton.Joints.ToListOfVector2());

            LearningMachine.AddPath(recordedPath);
        }
Ejemplo n.º 3
0
 public void AddPath(RecordedPath path)
 {
     path.CloseAndPrepare();
     Paths.Add(path);
 }
Ejemplo n.º 4
0
 public void EndRecordTemplate()
 {
     LearningMachine.AddPath(path);
     path = null;
 }
Ejemplo n.º 5
0
 public void StartRecordTemplate()
 {
     path = new RecordedPath(WindowSize);
 }
Ejemplo n.º 6
0
 public void AddPath(RecordedPath path)
 {
     path.CloseAndPrepare();
     Paths.Add(path);
     SaveTheGestureInFile();
 }
Ejemplo n.º 7
0
 public void AddPath(RecordedPath path)
 {
     path.CloseAndPrepare();
     Paths.Add(path);
     SaveTheGestureInFile();
 }
Ejemplo n.º 8
0
 public void EndRecordTemplate()
 {
     LearningMachine.AddPath(path);
     path = null;
 }
Ejemplo n.º 9
0
 public void StartRecordTemplate()
 {
     path = new RecordedPath(WindowSize);
 }
Ejemplo n.º 10
0
 public void AddPath(RecordedPath path)
 {
     path.CloseAndPrepare();
     Paths.Add(path);
 }