Graphics Window Size and Position

By default in the command line version, Trelis will create a single graphics window when it starts up (to run Trelis without a graphics window, include -nographics on the command line when launching Trelis.) The graphics window position and size is most easily adjusted using the mouse, like any other window on an X-windows screen. However, the size of the graphics window can also be controlled using the following commands:

Graphics WindowSize <width_in_pixels> <height_in_pixels>

Graphics WindowSize Maximum

Graphics WindowSize Minimum

After using the Graphics WindowSize Maximum and Graphics WindowSize Minimum commands, the previous window size can be restored by using the command

Graphics WindowSize Restore

The position of the graphics window can also be controlled using the Graphics WindowLocation command.

Graphics WindowLocation <x> <y>

The <x> and <y> coordinates refer to the distance in pixels from the upper left hand corner of the monitor.

In addition, on Unix workstations, the graphics window size and position can be controlled by placing the following line in the user's .Xdefaults file:

Trelis.graphics.geometry XxY+xpos+ypos

where the X and Y are window width and height in pixels, respectively, and xpos and ypos are the offsets from the upper left hand corner.

Using Multiple Windows

You can use up to ten graphics windows simultaneously, each with its own camera and view. Each window has an ID, from 1 to 10, shown in the title bar of the window. Commands that control camera attributes apply to only one window at a time, the active window. Currently, the display lists of all windows are identical.

The following commands are used to create, delete, and make active additional graphics windows. These commands are also valid in the GUI (by typing at the command line prompt.)

Graphics Window Create [ID]

Graphics Window Delete <ID>

Graphics Window Active <ID>