📄 node33.html
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2 Final//FR"><!-- Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) --><!-- by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds --><!-- Modified Simulog 03/97 --><HTML><HEAD><TITLE>1 General structure</TITLE><LINK REL=STYLESHEET TYPE="text/css" HREF="./Modulef.css" TITLE="Modulef CSS"><meta name="description" value="1 General structure"><meta name="keywords" value="Guide6"><meta name="resource-type" value="document"><meta name="distribution" value="global"></HEAD><BODY BGCOLOR="#FFFFFF"><P> <IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM ALT="Modulef"><A NAME=tex2html869 HREF="node32.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html875 HREF="node31.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html877 HREF="node34.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html879 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A HREF="../Guide6-18/node33.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide6-14/node33.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide6-10/node33.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html878 HREF="node34.html">2 Visualization of meshes</A><B>Up: </B> <A NAME=tex2html876 HREF="node31.html">Part II: Graphics</A><B> Prev: </B> <A NAME=tex2html870 HREF="node32.html"> Quick guide</A><B><A HREF="node2.html" >Contents</A></B><HR SIZE=3 WIDTH="75%"><H1><A NAME=SECTION04200000000000000000>1 General structure</A></H1><P><P><BR><HR><P><P>In general, the organization of the plotting modules of the MODULEF library canbe schematized as follows:<P><P><A NAME=1543> </A><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img36.gif"><BR><STRONG>Figure 1.1:</STRONG> <i> General organization of the plotting modules</i><A NAME=1539iGeneralorganizationoftheplottingmodulesi1539> </A><BR><P><P><P><P><UL><LI> From a practical point of view, a visualization is performed by executing preprocessor"CALL" (see figure <A HREF="#figorgani">1.1</A>) which calls program "QUESTION".<P><LI> This program then requests the user to choose the output device and to indicate the file name(s) containing thedata structure(s) ("IDS" in the flowchart) required, or the numerical values ("values" in the flowchart)to plot.<P><LI> A <b> general menu</b> or <b> status table</b> is then displayed (in alphanumeric mode), which indicates thevisualization parameters, i.e., for each item described, the manner in which it is treated, or the visualizationchoices available.<P><LI> An immediate visualization (the "MODULE" is activated) can also be requested, which corresponds toautomatic mode visualization.<P><LI> Furthermore, the user can also modify values in the status table until the desired visualizationparameters are set before requesting the corresponding visualization.<P><LI> Once the plot is displayed, a <b> graphics menu</b> appears on the screen to enable the user to performcertain graphical operations.</UL><P>The above organization is used for all the graphics modules in the library, except for thesurface visualization module,<b>Z=F(X,Y)</b>, and the mesh plotting modules utilizing roll-down menus.The following thus applies to all the modules except the two modules, <b> VIS3XX</b> and <b> REFEXX</b>.<P><P><P><P><A NAME=1553> </A><IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img37.gif"><BR><STRONG>Figure 1.2:</STRONG> <i> Presentation of the screen with and without the general legend</i><A NAME=1549iPresentationofthescreenwithandwithoutthegenerallegendi1549> </A><BR><P><P>The plot occupies a box of size <IMG BORDER=0 ALIGN=MIDDLE ALT="" SRC="img38.gif"> on the screen (figure <A HREF="#figpresent">1.2</A>). This box is splitinto different zones or <b> windows</b> in which are displayed:<UL><LI> If a general legend is requested (default option): <UL><LI> the object in F1, <LI> the general legend in F2. <LI> the <i> graphics</i> menu in F3, <LI> a quick indication of the type of plot in F4. </UL><LI> If we request no general legend (key 60 in the general menu, see below): <UL><LI> the object in F5, <LI> the <i> graphics</i> menu in F6. </UL></UL><P>The size of the windows is determined as a percentage of the size of the box chosen, which is a functionof the device used. The box dimensions are calculated automatically (the entire screen is subdivided),or input by the user (in centimeters).<P>A <b> mask</b> is associated with each window (measured in centimeters). It is linked to the objectvisualized above and is consequently measured in the units of this object (mm., cm., ...km., etc.).<P><P>When executing a graphics preprocessor, the user must select the output device number, in which case a menuappears. This <b> general menu</b> is presented in the form of a table in which each linehas the following form(the line presenting the option whether or not to have a legend is used as an example):<P><PRE> ------------------------------------------------------------ | 60 | LEGEND | YES ------------------------------------------------------------</PRE>in other words, the three columns:<PRE> ------------------------------------------------------------ | KEY | DESCRIPTION of ITEM | STATUS of ITEM ------------------------------------------------------------</PRE><P>The first column contains a number or <b> key</b>, which must be specified if we want to modify the<b> status</b> (third column) of the <b> item</b> described in column two. There are three kinds of keys:<P><UL><LI> the keys which serve as flags: there are only two states possible for the item under consideration(for example, YES or NO, HARD or SOFT, etc.). In this case, the selection of the key has the effect ofchanging from one state to another. Thus, for key 60 we have:<P><PRE> ------------------------------------------------------------ | 60 | LEGEND | YES ------------------------------------------------------------</PRE>that becomes<PRE> ------------------------------------------------------------ | 60 | LEGEND | NO ------------------------------------------------------------</PRE><P><LI> keys which have multiple choices: there are several states possible for the item under consideration.In this case, the selection of the key results in a choice. Thus, for key 50 we have:<P><PRE> ------------------------------------------------------------ | 50 | ITEMS PLOTTED | TRIANGULATION ------------------------------------------------------------</PRE>for which we can choose between:<PRE> -- MESH : NOTHING : 0 TRIANGULATION : 1 GEOMETRIC CONTOUR : 2 REFERENCED BOUNDARY : 3 SHRINK : 4 ?</PRE><P>Choice 2 (type 2 on the keyboard) then results in the following status:<P><PRE> ------------------------------------------------------------ | 50 | ITEMS PLOTTED | GEOMETRIC CONTOUR ------------------------------------------------------------</PRE><P><LI> keys which display a sub-menu which has the same form as the general menu (a status table with three columns).</UL><P>Once the status table has the desired configuration (if the user does not intervene, the default options orautomatic mode would be employed),we can start the visualization process. The following lines appear at the end of the menu:<P><PRE> | .. | ...... | ...... -- PLOT : 0 , CURRENT STATUS : VIEW , END : END -- OR NUMBER OF THE ITEM TO MODIFY ?</PRE><P><UL><LI> To obtain a plot, type 0 (this initiates the plot).<P><LI> To display the status of the parameters, the user requests to see the status table by typing VOIR.<P><LI> To end the session, type FIN.<P><LI> To modify a value in the menu, type the key (the number) of the line to modify as indicated above (seealso, for each module, the nature of the accessible items).</UL><P>A context of observation (mask, ...) is associated with each plot displayed. This context is placed in a <b> stack</b>. 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 thestack as demonstrated below:<P><P>When a plot is displayed (window 1 or 5 depending on the existence or not of the general legend, see figure <A HREF="#figpresent">1.2</A>), there is a graphics menu at our disposal (window 3 or 6). This <b> graphics menu</b> is use to manipulate the plot by offering the followingpossibilities (variables as a function of the plot type):<P><UL><LI> Exit: 0<LI> Continue: 1<LI> Next view: 2<LI> Previous view: 3<LI> Refresh: 4<LI> Zoom : 5 M<LI> Zoom - : 6<LI> ......<LI> Soft copy, hard copy: 8 9</UL><P>This menu works in the following manner: place the cursor in the window where the objectunder consideration is plotted and validate the position of the cursor by typing the character associatedwith the choice made (for example, 5 to zoom).There are two types of actions:<P><OL><LI> The cursor position is not important (even though it is necessary to place it inthe plot window). This is the case of choice 0.<LI> The cursor position is used to define the operation desired. This is the caseof choice 5 which corresponds to a zoom. The cursor is used to obtain the extrema of the zoom zone.</OL><P>The signification of the actions possibles (and their initiation) is the following:<P><DL COMPACT><DT>Exit:<DD> to exit from the session: place the cursor on the plot and type 0.<DT>Continue:<DD> to go the the general menu in order to modify a parameter: placethe cursor on the plot and type 1. We are now in the general menu's alphanumeric zone.<DT>Next view:<DD> to go to the stack mentioned above and visualize the next plot: placethe cursor on the plot and type 2.<DT>Previous view:<DD> the same, but we go to the previous plot: placethe cursor on the plot and type 3.<DT>Refresh:<DD> refreshes the screen: place the cursor on the plot and type 4.<DT>Zoom:<DD> zooms in on part of the displayed plot. Two cases:<UL><LI> zoom defined graphically: place the cursor on the lower left-hand corner of the zone to zoom and type 5,then place the cursor on the upper right-hand corner and type 5 (or inverse).<LI> zoom defined manually: place the cursor on the plot and type M.The extrema of the zoom zone must be input.</UL><DT>Zoom -:<DD> 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).<DT>Section:<DD> 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.<DT>R L T B + -:<DD> 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 theappropriate character.<DT>Softcopy:<DD> sends the plot to another device (the plot is reinterpreted as a function ofthe terminal's possibilities): place the cursor on the plotand type 8. The program then requests the number of the terminal to which the softcopy is sent.<DT>Hardcopy:<DD> sends the screen image to another device: place the cursor on the plot and type 9.<P> </DL><P>Certain modules offer only part of these possibilities, others possess different ones speciallyadapted to the module.<b> By typing ? on the plot, a list and significance of all the choices possible is displayed on thescreen.</b><P><HR SIZE=3 WIDTH="75%"><IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM ALT="Modulef"><A NAME=tex2html869 HREF="node32.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif" ALT="previous"></A><A NAME=tex2html875 HREF="node31.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif" ALT="up"></A><A NAME=tex2html877 HREF="node34.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif" ALT="next"></A><A NAME=tex2html879 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif" ALT="contents"></A><A HREF="../Guide6-18/node33.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM ALT="[BIG]"></A><A HREF="../Guide6-14/node33.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM ALT="[Normal]"></A><A HREF="../Guide6-10/node33.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html878 HREF="node34.html">2 Visualization of meshes</A><B>Up: </B> <A NAME=tex2html876 HREF="node31.html">Part II: Graphics</A><B> Prev: </B> <A NAME=tex2html870 HREF="node32.html"> Quick guide</A><B><A HREF="node2.html" >Contents</A></B><BR> <HR><P><ADDRESS></ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -