endpick(3) — Silicon Graphics R1c
NAME
endpick - turn picking mode off
SYNOPSIS
C
long endpick(buffer)
long buffer[];
FORTRAN
integer function endpic(buffer)
integer buffer(*)
Pascal
function endpick(var buffer: Ibuffer): integer;
DESCRIPTION
Endpick returns the IRIS to drawing mode. The names of objects that intersect the picking window are reported to the user in buffer; the number of names is returned as the function value. The names are triples, containing an object name, a tag, and a command offset from the tag. Thus, buffer reports commands that intersect the picking window up to a maximum number determined by the previous call to pick. In addition to the name of the command that intersected the picking window, the IRIS provides a code that indicates which clipping planes intersected the command. The hitcode is a six-bit number, with one bit for each clipping plane. In picking mode, as each command is interpreted, the resulting hitbits are logically ORed into the system-wide hitcode to keep a running summary of which planes have been clipped against.
SEE ALSO
pick, gethitcode, clearhitcode
NOTE
This command can only be used in immediate mode.
Version 2.3 — July 04, 1985