Running Surveyor
Overview
This document is divided up as follows.
- Setting Up Your Environment describes how
to set up your account to run Surveyor.
- Starting Surveyor describes how to launch
surveyor from the unix shell prompt, and what command line arguments you
can give.
- Notes on the User Interface gives some general
information on how to use various aspects of the Surveyor user interface.
- Setting Up Your World describes how to
define a terrain data set for Surveyor to use. This section should be read
by first-time users.
Setting Up Your Environment
Once Surveyor has been installed on the system, you will need to make some
minor additions to your login files. First, you will need to know where
Surveyor is on your system. If you do not know, ask your system manager.
Then you should set up your .cshrc file (if you are using csh as your login
shell) to identify where Surveyor is kept and to add the Surveyor executable
to your path.
For illustration purposes, let us say that you have Surveyor installed in the
directory /usr/local/surveyor. Then if you are on a Sun system, you
would add the following lines to your .cshrc:
setenv SURVHOME /usr/local/surveyor
set path=($path $SURVHOME/bin/sun4)
or on a Silicon Graphics system:
setenv SURVHOME /usr/local/surveyor
set path=($path $SURVHOME/bin/sgi)
Of course you need to use your Surveyor directory in place of
/usr/local/surveyor. From this point on, after you log in to the computer,
you can use the surveyor command to enter Surveyor.
Starting Surveyor
To begin a surveyor session type:
surveyor [saved-file] [saved-file] [save-file ...]
Any number of saved files from previous sessions may be given. They will be
loaded in order, so, for example, if two path files are given the second one
will be loaded. Any valid Surveyor file
may be given.
Notes on the User Interface
The Surveyor user interface includes a number of standard mechanisms for
user input with the mouse and keyboard. Some of the items that the user
should be aware of are listed below.
-
Dimmed Buttons.
Button interface items may appear to be dimmed, or grayed
out, because Surveyor is busy performing a task, or because
the function does not make sense at the present time. For example, when you
first bring up the Postcards window, most of the buttons will be dimmed
because you have no postcards to view.
-
Ellipses (...).
Ellipses at the end of a menu item or button name indicate that
selecting that function does not immediately perform a task, but
rather will present you with a dialog first. Thus, when
experimenting with buttons and menu items in Surveyor, ellipses signal
to you that nothing will happen immediately and it is thus safe to
select that item.
-
Cycle buttons.
The above figure illustrates a cycle button. It is distinguished by
the two rotating arrows on the left side of the box. A cycle button
indicates that you may select between a number of preset options. In
this case, the option ``HDTV'' has been selected. A single click with
the left mouse button will cycle you to the next choice in the list.
Alternatively, you may use the right-most mouse button to make the
cycle button behave like a pop-up menu, allowing you to see all the
choices at once and select the one you desire directly. The figure
below shows the pop-up menu being selected for this cycle button while
the right-most mouse button is being held down.
Setting Up Your World
Before you can do anything in Surveyor, you must prepare your data and
sets define a world, containing them. This section takes your
through that process sequentially. The hypertext links you see will
take you to the appropriate section in the reference manual if you
want more information.
- In the Surveyor main window, select
"File->New Surface." You will be presented
with the Edit Surface dialog.
- In the upper left hand corner, select
"Elevation->AddElevation" to put
an elevation (topographic) dataset on your surface. You will be prompted
to select an elevation data set. The data set must be in VICAR format, but can
be any pixel size.
- Once you have selected an elevation data set, you will be
presented with the "Edit Simple
Elevation" dialog. You will need to fill in the if your are unclear on what a pyramid
is, or need to review how to make one. If you leave "Levels" set to
the default of 1, your images will take much longer to render and will
require much more memory. Also, if you are making an animation the
animation will "sparkle" because of extra aliasing. Once you have entered the
number of levels in the pyramid, select the "Done" button.
- Next, you need to assign an image to the elevation. The image
must be in VICAR format, and the
same size as the elevation dataset. Also, it must have the same number
of levels in its pyramid. If you
have gray-scale (unsigned byte) image data, you need to select the
single file with the "Image->Add Gray" menu. If you have color, you
will need to select three separate image files (red, green, blu) using
the "Image->Add Color" menu.
- Click "OK" to dismiss the "Edit Plane" dialog.
- In the "File" menu, select "Save->World" to write out a world file. Next time you enter
surveyor, you can specify this file on the command line or use
"Load->World" to work with the same data.
Surveyor Copyright (C) 1991-1994, California Institute of Technology
All rights reserved. U.S. Government Sponsership under
NASA Contract NAS7-918 is acknowledged.