Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pick(3)  —  Unix Programmer’s Manual

NAME

pick - put the system in picking mode

SYNOPSIS

C
pick(numnames)
long numnames;

FORTRAN
subroutine pick(numnam)
integer numnam

Pascal
procedure pick(numnames: integer);

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; it discards everything in the image that does not intersect a small neighborhood around the lower left corner of the cursor.  Numnames specifies the maximum number of names to be saved by the system. 

A name is a triplet of 32-bit numbers: an object identier, a tag in the object, and an offset from the tag.  It identifies a drawing command that intersected the picking window. 

SEE ALSO

clearhitcode, endpick, endselect, gethitcode, picksize, select

NOTE

This command can only be used in immediate mode. 

Silicon Graphics  —  R1c

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