3D interface (UIGL)

Description

UIGL is the module that manages the user interface basic for the 3d. This module manages the initial interactions with the user in order to provide basic displacements in the scene.

The UIGL modes can be selected either in the main toolbar, or in the floating toolbar that can be displayed with a right-click on the display windows.

Toolbar

UIGL toolba button Rotate
Allow to rotate the scene around its rotation center or its last selected rotation center with the mouse or with the keyboard arrows.
The rotation is performed arround a rotation center that is:
  • A selected rotation center, such as the center of any object that can be selected with a left click with the ALT key down on an object, if the module 3Dscene is loaded,
  • The center of all the objects in the scene, if the CONTROL key or the ALT key is pressed during the rotation, or if the rotation is started by a double click,
  • The targetted point (in center of the screen), by default.
Fly mode

Fly
Starts the fly mode.
With it, the mouse allows to rotate the camera.
The displacement speed is controlled with the mouse wheel; it is then displayed in the status line.
The speed can be also controlled with a double-click on a virgin area in the scene and by dragging the mouse or by using the arrows keys with CONTROL pressed.
Keys SPACE or ENTER pause the fly as well as a double-click in the scene without mouse movement.
Pan mode Pan
In this mode, the mouse allows to pan the scene in the screen plan.
Undo mode Undo
Undo the last displacement operation. For the moment, only the displacement operations are stored.
Redo mode Redo
Allows redoing the last undone operation.
Area select mode Select
As soon as this tool is selected, an area can be selected in the 3D display to focus the display on this area.
Strech mode Stretch
Put the scene in the center of the 3D display.
Successive clicks allow selecting the front, back, right, left, top and bottom points of view in a cyclic way.
On stretch, only the visible objects are handled.
Zoom mode Zoom
In this mode, the mouse allows zooming on the scene. Notice that the mouse wheel also allows zooming the scene at any time.
If the ALT key is pressed while the zoom action, the mouse position is taken into account in order to pan the scene around this position.

Menu

The module adds two entries in the Edit menu: