コード例 #1
0
 public GestureController()
 {
     this.movingGestureTrees = new List <MovingGestureTree>();
     this.gestureBuilder     = new GestureBuilder();
     this.longOperation      = true;
     this.priority           = SkeletonCapturingFunctionPriority.Normal;
 }
コード例 #2
0
ファイル: GestureController.cs プロジェクト: rjabaker/Skynet
 public GestureController()
 {
     this.movingGestureTrees = new List<MovingGestureTree>();
     this.gestureBuilder = new GestureBuilder();
     this.longOperation = true;
     this.priority = SkeletonCapturingFunctionPriority.Normal;
 }
コード例 #3
0
        public GestureBuilderParameters(IGesture gesture, SkeletonRenderFrames skeletonRenderFrames, DateTime gestureStartTime, DateTime gestureEndTime, GestureBuilder.BuildStrategy buildStrategy)
        {
            this.gesture = gesture;
            this.skeletonRenderFrames = skeletonRenderFrames;

            this.gestureStartTime = gestureStartTime;
            this.gestureEndTime = gestureEndTime;

            this.buildStrategy = buildStrategy;
        }
コード例 #4
0
ファイル: GestureBuilderForm.cs プロジェクト: rjabaker/Skynet
        private void BuildMovingGestureTree()
        {
            IGesture gesture = null;
            DateTime start = (DateTime)gestureStartTimeListBox.SelectedItem;
            DateTime end = (DateTime)gestureEndTimeListBox.SelectedItem;

            GestureBuilderParameters parameters = new GestureBuilderParameters(gesture, renderCanvas.SkeletonRenderFrames, start, end, GestureBuilder.BuildStrategy.StandardTolerance);
            GestureBuilder builder = new GestureBuilder();
            movingGestureTree = builder.BuildMovingGestureTree(parameters);
            renderCanvas.SaveCanvasFrames("C:\\Users\\Robert\\Documents\\GitHub\\docs\\files\\render bin\\gesture_8_half_wave.xml");
            Serializer.SerializeToXml<MovingGestureTree>(movingGestureTree, "C:\\Users\\Robert\\Documents\\GitHub\\docs\\files\\gesture bin\\gesture_7_half_wave.xml");
        }