pick(3G) pick(3G)
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
DESCRIPTION
pick facilitates the cursor as a pointing object. When you
draw an image in picking mode, nothing is drawn. It places
a special viewing matrix on the stack, which discards
everything in the image that does not intersect a small
region around the lower-left corner of the cursor.
The the graphical items that intersect the picking region
are hits and store the contents of the name stack in buffer
. numnames specifies the maximum number of names the system
saves. Picking does not work if you issue a new viewport
routine while in the pick mode.
SEE ALSO
endpick, endselect, gselect, picksize, pushname, popname,
loadname
Programming Guide, Section 9.2, Picking
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)