pick() — Silicon Graphics Beta Release
NAME
pick - puts the system in picking mode
SPECIFICATION
C
pick(buffer, numnames)
short buffer[];
long numnames;
FORTRAN
subroutine pick(buffer, numnam)
integer*2 buffer(*)
integer*4 numnam
Pascal
procedure pick(buffer: Ibuffer; numnames: longint);
DESCRIPTION
pick facilitates the use of the cursor as a pointing object. When an image is drawn in picking mode, the screen does not change. Instead, a special viewing matrix is placed on the stack, and everything in the image that does not intersect a small neighborhood around the lower left corner of the cursor is discarded. The commands that do intersect the picking region are "hits" and cause the contents of the name stack to be stored in buffer. numnames specifies the maximum number of names to be saved by the system.
SEE ALSO
clearhitcode, endpick, endselect, gethitcode, picksize, select, pushname, popname, loadname
NOTE
This command can be used only in immediate mode.
Version 2.3 — July 04, 1985