6 Display window (NbodyViewer)

When a model is opened, the display window is created (see Fig. ). In addition to displaying the model, this window allows to choose manually the point of view and the zoom. The upper part of the window, display some useful informations. winx and winy correspond to the physical half width and half height of the window. x and y give the mouse position on the window. lab is the current size of the label and val gives the physical value of the map, at the mouse position.

When the mouse moves over the display, a red label appears and shows the position of the reference frame. The position of the reference frame can be changed by selecting either translation or rotation above the display. Now, when clicking the left of middle button and moving on the display changes the position of the reference frame. Click the right button to update the changes (the mouse must still be on the display).

The two first buttons under the display controls the zoom. They simply change the physical width and height of the window (parameter size). The zoom factor can be modified through the parameter menu. The last buttons rotate the model. The rotation angle is written at the lower right and can be modified.

The central button noted "*" updates the changes. It is equivalent to clicking the right mouse button.



Subsections
See About this document... for information on suggesting changes.