예제 #1
0
        public override void Initialize(IEditorController controller)
        {
            this.controller = controller;
            controller.CurrentSolidManipulationMode = SolidManipulationMode.Face;

            controller.RubberBand.ShowGrabhandles = false;
            controller.SetCursor(Cursors.Default);
        }
예제 #2
0
        public override void Initialize(IEditorController controller)
        {
            this.controller = controller;
            controller.CurrentSolidManipulationMode = SolidManipulationMode.Solid;
            currentAction = SolidToolActionType.None;
            controller.SetCursor(Cursors.Default);

            // when entering this mode, we select alle faces of selected solids again
            SetAllFacesSelected(true);
        }
예제 #3
0
 public override void Initialize(IEditorController controller)
 {
     this.controller = controller;
     controller.CurrentSolidManipulationMode = SolidManipulationMode.Vertex;
     currentAction = VertexToolActionType.None;
     mouseHasMoved = false;
     newHandlesHit = new Dictionary <Solid, List <int> >();
     coverBlanket  = new AABB();
     coverBlanket.Grow(Vector3.Zero);
     controller.SetCursor(Cursors.Default);
 }