Ejemplo n.º 1
0
 private void AxRenderControl_RcTransformHelperBegin(object sender, System.EventArgs e)
 {
     if (this.Equals(Map3DCommandManager.Peek()))
     {
         this.BeginRote(this.beginRowbufferMap);
     }
 }
Ejemplo n.º 2
0
 private void AxRenderControl_RcTransformHelperRotating(object sender, _IRenderControlEvents_RcTransformHelperRotatingEvent e)
 {
     if (this.Equals(Map3DCommandManager.Peek()))
     {
         this.RotatingModel(e.axis.X, e.axis.Y, e.axis.Z, e.angle);
     }
 }
Ejemplo n.º 3
0
 private void RenderEditorChangedEvent(HashMap rowbufferMap)
 {
     if (this.Equals(Map3DCommandManager.Peek()))
     {
         this.BeginRote(rowbufferMap);
     }
 }
Ejemplo n.º 4
0
 private void AxRenderControl_RcTransformHelperEnd(object sender, System.EventArgs e)
 {
     if (this.Equals(Map3DCommandManager.Peek()))
     {
         this.EndRote();
     }
 }
Ejemplo n.º 5
0
 private void RenderEditor_Begin(object sender, System.EventArgs e)
 {
     if (this.Equals(Map3DCommandManager.Peek()))
     {
         this.BeginScale(this.beginRowbufferMap);
     }
 }
Ejemplo n.º 6
0
 private void RenderEditor_End(object sender, System.EventArgs e)
 {
     if (this.Equals(Map3DCommandManager.Peek()))
     {
         this.EndScale();
     }
 }
Ejemplo n.º 7
0
 private void RenderEditor_Scaling(object sender, _IRenderControlEvents_RcTransformHelperScalingEvent e)
 {
     if (this.Equals(Map3DCommandManager.Peek()))
     {
         this.Scalling(e.scale.X, e.scale.Y, e.scale.Z);
     }
 }
Ejemplo n.º 8
0
        private void RenderEditorChange(HashMap rowbufferMap)
        {
            DF3DApplication app = DF3DApplication.Application;

            if (app == null || app.Current3DMapControl == null)
            {
                return;
            }
            if (this.Equals(Map3DCommandManager.Peek()) && app.Current3DMapControl.InteractMode == gviInteractMode.gviInteractEdit)
            {
                this.SetMoveProperty(SelectCollection.Instance().GetSelectGeometrys());
            }
            //if (app.Current3DMapControl.InteractMode == gviInteractMode.gviInteractEdit)
            //{
            //    this.SetMoveProperty(SelectCollection.Instance().GetSelectGeometrys());
            //}
        }
Ejemplo n.º 9
0
        private void AxRenderControl_RcFeaturesMoving(object sender, _IRenderControlEvents_RcFeaturesMovingEvent e)
        {
            DF3DApplication app = DF3DApplication.Application;

            if (app == null || app.Current3DMapControl == null)
            {
                return;
            }
            if (this.Equals(Map3DCommandManager.Peek()) && app.Current3DMapControl.InteractMode == gviInteractMode.gviInteractEdit)
            {
                IVector3 translate = e.translate;
                this.MovingModel(translate.X, translate.Y, translate.Z);
                this.UpdateDatabase();
                this.StartEditFeatures();
            }
            //if (app.Current3DMapControl.InteractMode == gviInteractMode.gviInteractEdit)
            //{
            //    IVector3 translate = e.translate;
            //    this.MovingModel(translate.X, translate.Y, translate.Z);
            //    this.UpdateDatabase();
            //    this.StartEditFeatures();
            //}
        }