Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ endselect(3) — GL1 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

endselect(3)  —  Silicon Graphics R1c

NAME

endselect - turn selecting mode off

SYNOPSIS

C
long endselect(buffer)
long buffer[];

FORTRAN
integer function endsel(buffer)
integer buffer(*)

Pascal
function endselect(var buffer: Ibuffer): integer;

DESCRIPTION

Endselect terminates selecting mode.  The names of objects that intersect the selection 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 selecting window up to a maximum number determined by the previous call to select.  In addition to the name of the command that intersects the selection window, the IRIS provides a code that indicates which clipping planes intersect the command.  The hitcode is a six-bit number, with one bit for each clipping plane.  In selection 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

select, gethitcode, clearhitcode

NOTE

This command can only be used in immediate mode. 

Version 2.3  —  July 04, 1985

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