Modulefpreviousupnextcontents[BIG][Normal][small]
Next: 2 Visualization of meshes Up: Part II: Graphics Prev: Quick guide Contents


1 General structure



In general, the organization of the plotting modules of the MODULEF library can be schematized as follows:

 
Figure 1.1: General organization of the plotting modules 

The above organization is used for all the graphics modules in the library, except for the surface visualization module, Z=F(X,Y), and the mesh plotting modules utilizing roll-down menus. The following thus applies to all the modules except the two modules, VIS3XX and REFEXX.

 
Figure 1.2: Presentation of the screen with and without the general legend 

The plot occupies a box of size on the screen (figure 1.2). This box is split into different zones or windows in which are displayed:

The size of the windows is determined as a percentage of the size of the box chosen, which is a function of the device used. The box dimensions are calculated automatically (the entire screen is subdivided), or input by the user (in centimeters).

A mask is associated with each window (measured in centimeters). It is linked to the object visualized above and is consequently measured in the units of this object (mm., cm., ...km., etc.).

When executing a graphics preprocessor, the user must select the output device number, in which case a menu appears. This general menu is presented in the form of a table in which each line has the following form (the line presenting the option whether or not to have a legend is used as an example):

 ------------------------------------------------------------
 | 60 | LEGEND                   |  YES
 ------------------------------------------------------------
in other words, the three columns:
 ------------------------------------------------------------
 | KEY | DESCRIPTION of ITEM    |  STATUS of ITEM
 ------------------------------------------------------------

The first column contains a number or key, which must be specified if we want to modify the status (third column) of the item described in column two. There are three kinds of keys:

Once the status table has the desired configuration (if the user does not intervene, the default options or automatic mode would be employed), we can start the visualization process. The following lines appear at the end of the menu:

 | .. |    ......                    |    ......
 -- PLOT  : 0 , CURRENT STATUS : VIEW ,    END : END
 --         OR NUMBER OF THE ITEM TO MODIFY  ?

A context of observation (mask, ...) is associated with each plot displayed. This context is placed in a stack. It corresponds to a cyclic list of length 5 which, initialized to 5 times the initial context, will contain the 5 last visualization contexts. The user can position him/herself in the stack as demonstrated below:

When a plot is displayed (window 1 or 5 depending on the existence or not of the general legend, see figure 1.2), there is a graphics menu at our disposal (window 3 or 6). This graphics menu is use to manipulate the plot by offering the following possibilities (variables as a function of the plot type):

This menu works in the following manner: place the cursor in the window where the object under consideration is plotted and validate the position of the cursor by typing the character associated with the choice made (for example, 5 to zoom). There are two types of actions:

  1. The cursor position is not important (even though it is necessary to place it in the plot window). This is the case of choice 0.
  2. The cursor position is used to define the operation desired. This is the case of choice 5 which corresponds to a zoom. The cursor is used to obtain the extrema of the zoom zone.

The signification of the actions possibles (and their initiation) is the following:

Exit:
to exit from the session: place the cursor on the plot and type 0.
Continue:
to go the the general menu in order to modify a parameter: place the cursor on the plot and type 1. We are now in the general menu's alphanumeric zone.
Next view:
to go to the stack mentioned above and visualize the next plot: place the cursor on the plot and type 2.
Previous view:
the same, but we go to the previous plot: place the cursor on the plot and type 3.
Refresh:
refreshes the screen: place the cursor on the plot and type 4.
Zoom:
zooms in on part of the displayed plot. Two cases:
Zoom -:
to display the plot currently on the screen on only a part of this screen ("inverse" zoom operation): place the cursor on the lower left-hand corner of the zone chosen and type 6, then place the cursor on the upper right-hand corner and type 6 (or the inverse).
Section:
to plot only the part of the object (3D) contained within two parallel planes with sides given. Type 6 and input the 2 sides desired.
R L T B + -:
to move (in 3D) the observation point to the right (type R), the left (type L) (the observer turns 20 degrees), by ascending (type T), by descending (type B) (we also turn 20 degrees), by approaching (type +) or departing (type -) (the distance between the point viewed and the point of observation is divided or multiplied by 2.). To obtain the desired effect, place the cursor on the plot and type the appropriate character.
Softcopy:
sends the plot to another device (the plot is reinterpreted as a function of the terminal's possibilities): place the cursor on the plot and type 8. The program then requests the number of the terminal to which the softcopy is sent.
Hardcopy:
sends the screen image to another device: place the cursor on the plot and type 9.

Certain modules offer only part of these possibilities, others possess different ones specially adapted to the module. By typing ? on the plot, a list and significance of all the choices possible is displayed on the screen.


Modulefpreviousupnextcontents[BIG][Normal][small]
Next: 2 Visualization of meshes Up: Part II: Graphics Prev: Quick guide Contents