Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pqlcs3(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PQLCS3(3g)  —  Subroutines

Name

PQLCS3 − Returns information about the locator device state. 

Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
 

Syntax

PQLCS3 (WKID, LCDNR, TYPE, MLDR, ERRIND, MODE, ESW, IVIEWI, IPX,
IPY, IPZ, PET, EVOL, LDR, DATREC)

Argument          Data Type      Access    Description
---------------------------------------------------------------------------
WKID              Integer        Read      Workstation identifier
LCDNR             Integer        Read      Locator device number
TYPE              Integer        Read      Type of the returned values
MLDR              Integer        Read      Dimension of the data record
                                           array
ERRIND            Integer        Write     Error indicator
MODE              Integer        Write     Operating mode
ESW               Integer        Write     Echo switch
IVIEWI            Integer        Write     Initial view index
IPX, IPY,IPZ      Real           Write     Initial locator position, in
                                           world coordinates
PET               Integer        Write     Prompt and echo type
EVOL(6)           Array of       Write     Echo volume, in device
                  reals                    coordinates (XMIN, XMAX, YMIN,
                                           YMAX, ZMIN, ZMAX)
LDR               Integer        Write     Number of array elements used in
                                           the data record
DATREC(MLDR)      Character ∗80  Write     Data record
---------------------------------------------------------------------------

Constants

Defined Argument     Constant     Description
---------------------------------------------------------------------------
TYPE                 PSET         Use the exact state list values.
                     PREALI       Use the values approximated by the
                                  graphics handler.
MODE                 PREQU        Request mode.
                     PSAMPL       Sample mode.
                     PEVENT       Event mode.
ESW                  PNECHO       Echo disabled.
                     PECHO        Echo enabled.
---------------------------------------------------------------------------

Description

PQLCS3 queries the workstation state list and returns values for the following:

•Operating mode

•Echo switch value

•Initial view index

•Initial locator position in world coordinates

•Prompt and echo type

•Echo volume in device coordinates

•Locator data record

See Chapter 9 for information on building data records for initializing input devices. 

See Also

PQLCS
PINLC3
PSLCM

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