Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ select(3g) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

select()  —  Silicon Graphics Beta Release

NAME

select - puts the IRIS in selecting mode

SPECIFICATION

C
select(buffer, numnames)
short buffer[0];
long numnames;

FORTRAN
subroutine select(buffer, numnam)
integer*2 buffer(0)
integer*4 numnam

Pascal
procedure select(buffer: Ibuffer; numnames: longint);

DESCRIPTION

select turns on the selecting mode.  The viewing matrix in use when select is executed defines the selecting region.  Alternatively, however, a viewing matrix can be constructed after selecting mode has begun.  select and pick are identical except for the ability to create a viewing matrix in selection mode.  numnames specifies the maximum number of names to be saved by the system.  Names are 16-bit numbers, and are loaded onto the name stack by the user.  Each drawing command that intersects the selecting region causes the contents of the name stack to be stored in buffer. 

SEE ALSO

endpick, endselect, pick, picksize, initnames pushname, popname, loadname

NOTE

This command can be used only in immediate mode. 

Version 2.3  —  July 04, 1985

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