123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <H2>DESCRIPTION</H2>
- Visualization program which loads the isosurfaces previously calculated
- using r3.mkdspf and displays them according to commands given at the prompt.
- r3.mkdspf creates a dspf file from the 3D raster and r3.showdspf uses this
- dspf file to draw isosurfaces and 3D raster map to draw planes and everything
- related (boxes, etc).<br>
- Upon initialization of the program, two graphics windows are
- opened, one for the color table and the other for data display. The
- display window initially contains a red bounding box. Command options
- are then printed to the terminal and user is prompted for drawing
- instructions:
- <BR>
- <pre>
- THE INTERACTIVE OPTIONS ARE:
- ?, (l #), L, (t #), (T # #), I, +, -
- (x #) (y #) (z #) r (X #) (Y #) (Z #)
- (B(x,y,z)#), (E(x,y,z)#), S, R, F, C, c, s, b, g, n, p[#], d, D, w, Q, h
- USAGE AND MEANING:
- <B>?</B> lists available thresholds
- <B>l index# [index#...]</B> add threshold to display list
- <B>L</B> Draw current display list
- <B>t index#</B> reset so only this threshold is displayed
- <B>T index# index#</B> show thresholds between hi & lo
- <B>I</B> toggle thresholds INSIDE hi/lo or OUTSIDE hi/lo
- <B>+(+++)</B> display thresholds with consecutively increasing index#
- <B>-(---)</B> display thresholds with consecutively decreasing index#
- <B>x int#</B> absolute rotation around x-axis in degrees(int)
- <B>y int#</B> absolute rotation around y-axis in degrees(int)
- <B>z int#</B> absolute rotation around z-axis in degrees(int)
- <B>r</B> rotate_model
- <B>X int#</B> scale model in x
- <B>Y int#</B> scale model in y
- <B>Z int#</B> scale model in z
- <B>B(x,y,z)int#</B> begin display along (x,y,z) axis at #
- <B>E(x,y,z)int#</B> end display along (x,y,z)axis #
- <B>S int#</B> specular highlight control
- <B>R</B> resets display along axis to show all data
- <B>F <I>grid3name colortablename</I></B> load new color file
- <B>C</B> toggles the clear flag
- <B>c</B> clears the display (no thresholds)
- <B>s</B> swap buffers
- <B>b</B> toggles draw a box
- <B>g</B> toggles grid
- <B>n</B> toggle surface normal direction
- <B>p</B> draw all walls
- <B>p#</B> draw a wall: 1-top, 2-bottom, 3-east, 4-west, 5-north, 6-south
- <B>d</B> draw (implement the option)
- <B>D</B> draw a solid defined by T(isosurface + parts of walls)
- <B>w</B> dump image to a file
- <B>Q</B> QUIT
- <B>h</B> help
- enter desired manipulations then press return
- >>
- </pre>
- <p>
- <H3>Hints:</H3>
- <UL>
- <LI>To navigate around the data, use the <B>r</B> command, then place
- the mouse pointer in the graphics window and drag with the left mouse
- to rotate the bounding box. To zoom in and out, drag right or left
- with the middle mouse. When satisfied with the new viewing
- position, click with the right mouse.
- <LI>To quickly view a series of isosurfaces, enter a series of + or -
- characters, i.e. <B>+++++++</B>
- <LI>Scripts using above commands on separate lines may be
- directed to r3.showdspf as standard input.
- Use the <B>#</B> sign as the first character on a line to indicate a comment.
- </UL>
- <H2>EXAMPLE</H2>
- After generating a "dspf" control file with <em>r3.mkdspf</em> start
- <em>r3.showdspf</em>. Display/add the layers using "+".<br>
- List available thresholds with "?". Use "l" to select isosurfaces (available
- number can be adjusted with <em>r3.mkdspf</em>) and "L" to display:<br>
- <tt>l 1 2 3 4 5<br> L </tt> <p>
- To select and display a single threshold (here: 2), use:<br>
- <tt>t 2</tt> <p>
- To select and display a range of thresholds (here: 3-5), use:<br>
- <tt>T 3 5<br>
- D</tt> <p>
- To draw a box, enter<br>
- <tt>p</tt><br>
- the p# to plot a selected wall (here top wall):<br>
- <tt>p1</tt><p>
- Tp draw a cut-off box, define it's position<br>
- <tt>Ex20</tt><br>
- <tt>p</tt><br>
- Here Ex20 defines the x coordinate of the end of the box.<p>
- In general - p draws a side of a box, E, B, define where that box starts or
- ends, so to make a fence diagram, the user draws sides of a series of boxes
- which have their starting (or ending) side shifting by a given interval.
- (this way the user can draw even more complex fence diagrams which have
- perpendicular fences, by using Ey or By). It is sufficient to use only E or
- B depending whether fence are drawn by using the end side or front side of a
- box).<br>
- To draw a fence, a sequence like this would be needed<br>
- <tt>Ex10<br>
- p5<br>
- Ex15<br>
- p5<br>
- Ex20<br>
- p5<br>
- Ex25<br>
- p5<br>
- </tt>
-
- or the same would be<br>
- <tt>Bx10<br>
- p6<br>
- Bx15<br>
- p6<br>
- Bx20<br>
- p6</tt>
- <p>
- The <em>p</em> is needed for the fence diagram, solids and boxes.
- <H2>SEE ALSO</H2>
- <EM><A HREF="r3.mkdspf.html">r3.mkdspf</A></EM>
- <H2>AUTHORS</H2>
- <SIGNATURE>Bill Brown,
- <A HREF="mailto:brown@gis.uiuc.edu">brown@gis.uiuc.edu</A>
- </SIGNATURE>
- <p><i>Last changed: $Date$</i>
|