void UpdateBoundingBox(VAObject model) { boundingBox.Width = model.BoundingBox.Width; boundingBox.Height = model.BoundingBox.Height; Canvas.SetLeft(boundingBox, model.BoundingBox.Left); Canvas.SetTop(boundingBox, model.BoundingBox.Top); }
void UpdateTrajectory(VAObject model) { trajectory.Points = model.Trajectory; }
void UpdateId(VAObject model) { id.Text = model.Id.ToString(); Canvas.SetLeft(id, model.BoundingBox.Left); Canvas.SetTop(id, model.BoundingBox.Top - 20); }