public GestureController() { this.movingGestureTrees = new List <MovingGestureTree>(); this.gestureBuilder = new GestureBuilder(); this.longOperation = true; this.priority = SkeletonCapturingFunctionPriority.Normal; }
public GestureController() { this.movingGestureTrees = new List<MovingGestureTree>(); this.gestureBuilder = new GestureBuilder(); this.longOperation = true; this.priority = SkeletonCapturingFunctionPriority.Normal; }
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; }
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"); }