3. Mouse & keyboard OpenGL

 

3.1 Mouse

The mouse can be used to manage the 3D objects trough rotation, translation and scale operations, changing the mouse mode with the context menu and/or the M hotkey (see hotkeys section). To change a 3D property, you must drag the mouse from left to right and vice versa pressing the left mouse button.
In the main window you can select some functions with the context menu, pressing the right mouse button:

 

Item Subitem Description
Mouse mode Rotate switches the mouse into the rotation mode.
                           Translate switches the mouse into the translation mode.
  Scale switches the mouse into the scaling mode.
Display Wireframe switches the current display mode in Wireframe, Van Der Waals with vectors, Van der Waals solid, CPK with vectors and CPK solid.
  VdW
  VdW Solid
  CPK
  CPK Solid
Reset   resets the current view, changing to default the rotations, the translations and the scale factor.

 

3.2 Hotkeys

When the main window is active, some commands can be executed directly from the keyboard, like showed in the followind table:

Key Description
A Turn on/off the animation mode.
ESC Close VEGA.
L Switch on/off the light.
M Change the mouse mode in rotate -> translate -> scale.
SPC Stop the animation.
V Change the current display mode in Wireframe -> Van Der Waals with vectors -> Van der Waals solid -> CPK with vectors -> CPK solid (see the main menu section).
Arrows
Up, Down
Rotate the molecule around the X axis.
Arrows
Left, Right
Rotate the molecule around the Y axis.
Pg. Up
Pg. Down
Rotate the molecule around the Z axis.