public void SwitchTo2DMode()
        {
            mcanvas.Children.Clear();

            m1EditorList.Clear();
            m2EditorList.Clear();

            marker2dEditor meditor = new marker2dEditor();

            meditor.ScaleFactor = ScaleFactor;
            meditor.Init(markerCalibration, markerCalibration.UnitedMarker1, bound, bottomChanged, scaleInfo);

            mcanvas.Children.Add(meditor);
            m2EditorList.Add(meditor);

            meditor             = new marker2dEditor();
            meditor.ScaleFactor = ScaleFactor;
            meditor.Init(markerCalibration, markerCalibration.UnitedMarker2, bound, bottomChanged, scaleInfo);

            mcanvas.Children.Add(meditor);
            m2EditorList.Add(meditor);
        }
        public void SwitchTo2DMode() {
            mcanvas.Children.Clear();

            m1EditorList.Clear();
            m2EditorList.Clear();

            marker2dEditor meditor = new marker2dEditor();
            meditor.ScaleFactor = ScaleFactor;
            meditor.Init(markerCalibration, markerCalibration.UnitedMarker1, bound, bottomChanged, scaleInfo);

            mcanvas.Children.Add(meditor);
            m2EditorList.Add(meditor);

            meditor = new marker2dEditor();
            meditor.ScaleFactor = ScaleFactor;
            meditor.Init(markerCalibration, markerCalibration.UnitedMarker2, bound, bottomChanged, scaleInfo);

            mcanvas.Children.Add(meditor);
            m2EditorList.Add(meditor);
        }