Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ select(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

select()  —  Silicon Graphics

NAME

select − puts the IRIS in selection mode

SPECIFICATION

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

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

Pascal
procedure select(var buffer: Short; numnames: longint);

DESCRIPTION

select turns on the selection mode.  The current viewing matrix defines the selection region when select executes.  However, you can construct a viewing matrix after selection mode has begun.  select and pick are identical except select allows you to create a viewing matrix in selection mode. 

numnames specifies the maximum number of names the system saves.  Names are 16-bit numbers, which you load on the name stack.  Each drawing routine 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 IRIS Graphics Programming, Section 9.3, Selecting

NOTE

This routine is available only in immediate mode. 

Version 2.5r1  —  October 29, 1986

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