[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
There are several ways to load an object into Geomview.
<CENTER><IMG SRC="pix/myfilelist.gif"><P>The Files Panel</CENTER> This panel lets you select a file from a variety of directories. The top of the panel is a standard Motif file browser. Below this is a list of directories on geomview's standard search path; click on one of these to browse files in that directory.
To select a file, double-click on its name in the browser at upper right, or click on its name and press the Enter key, or type the file's name into the text box at the bottom of the browser and press Enter.
If the selected file contains OOGL geometric data, it will be added to the geomview Targets browser. If it contains GCL commands instead, the file will be interpreted. See section 7. gcl: the Geomview Command Language.
When the Files panel first appears, the directory selected in the directory browser is the current directory -- the one from which you invoked Geomview. The file browser shows all the files in this directory, including ones that are not Geomview files. If you try to load a file that doesn't contain either an OOGL object or Geomview commands, Geomview will print out an error message.
The directory browser also lists a second and third directory in addition to the current directory. The second one, which ends in `data/geom', is the Geomview example data directory. This contains a wide variety of sample objects. It also contains several subdirectories. In particular, the `hyperbolic' and `spherical' subdirectories have sample hyperbolic and spherical objects, respectively. Directory entries in the browser look just like file entries; to view a subdirectory, click on it.
The third directory shown in the directory browser, which ends in `geom', contains several subdirectories with other Geomview files in them. These are used less frequently than the ones in the `data/geom' directory.
You can change the list of directories shown the Files
panel's directory browser by using the set-load-path
command;
see section 7. gcl: the Geomview Command Language.
load
, geometry
, new-geometry
, and read
gcl commands allow you to load an object into Geomview;
See section 7. gcl: the Geomview Command Language.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |