gselect(3G) gselect(3G)
NAME
gselect - puts the system in selection mode
SPECIFICATION
C gselect(buffer, numnames)
short buffer[];
long numnames;
FORTRAN subroutine gselect(buffer, numnam)
integer*2 buffer(0)
integer*4 numnam
DESCRIPTION
gselect turns on the selection mode. The current viewing
matrix defines the selection region when gselect executes.
However, you can construct a viewing matrix after selection
mode has begun. gselect and pick are identical except
gselect allows you to create a viewing matrix in selection
mode.
numnames specifies the maximum number of names the system
saves. Names are 16-bit numbers, which you load on the name
stack. Each drawing routine that intersects the selecting
region causes the contents of the name stack to be stored in
buffer.
SEE ALSO
endpick, endselect, pick, picksize, initnames pushname,
popname, loadname
Programming Guide, Section 9.3, Selecting
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)