예제 #1
0
        public void AddTemplate(Skeleton skeleton)
        {
            RecordedPath recordedPath = new RecordedPath(skeleton.Joints.Count);

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

            LearningMachine.AddPath(recordedPath);
        }
예제 #2
0
        public void AddTemplate(ReplaySkeletonData skeleton)
        {
            RecordedPath recordedPath = new RecordedPath(skeleton.Joints.Count);

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

            LearningMachine.AddPath(recordedPath);
        }
예제 #3
0
 public void AddPath(RecordedPath path)
 {
     path.CloseAndPrepare();
     Paths.Add(path);
 }
예제 #4
0
 public void EndRecordTemplate()
 {
     LearningMachine.AddPath(path);
     path = null;
 }
예제 #5
0
 public void StartRecordTemplate()
 {
     path = new RecordedPath(WindowSize);
 }
예제 #6
0
 public void AddPath(RecordedPath path)
 {
     path.CloseAndPrepare();
     Paths.Add(path);
     SaveTheGestureInFile();
 }
예제 #7
0
 public void AddPath(RecordedPath path)
 {
     path.CloseAndPrepare();
     Paths.Add(path);
     SaveTheGestureInFile();
 }
예제 #8
0
 public void EndRecordTemplate()
 {
     LearningMachine.AddPath(path);
     path = null;
 }
예제 #9
0
 public void StartRecordTemplate()
 {
     path = new RecordedPath(WindowSize);
 }
예제 #10
0
파일: LearningMachine.cs 프로젝트: dtx/KMPC
 public void AddPath(RecordedPath path)
 {
     path.CloseAndPrepare();
     Paths.Add(path);
 }