Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ endpick(3) — libiris R1c

Media Vault

Software Library

Restoration Projects

Artifacts Sought

endpick(3)  —  Unix Programmer’s Manual

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. 

Silicon Graphics  —  R1c

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026