INQUIRE HLHSR MODE(3P) — SUNPHIGS LIBRARY
NAME
INQUIRE HLHSR MODE − inquire a workstation’s hidden line/hidden surface removal mode
SYNOPSIS
C Syntax
void
pinqhlhsrmode ( ws, error_ind, state, cur_mode, req_mode )
Pintws;workstation identifier
Pint∗error_ind;OUT error indicator
Pupdatest∗state;OUT HLHSR update state
Pint∗cur_mode;OUT current HLHSR mode
Pint∗req_mode;OUT requested HLHSR mode
FORTRAN Syntax
SUBROUTINE pqhrm ( WKID, ERRIND, HUPD, CHRM, RHRM )
INTEGERWKIDworkstation identifier
INTEGERERRINDOUT error indicator
INTEGERHUPDOUT HLHSR mode update state (PNPEND, PPEND)
INTEGERCHRMOUT current HLHSR mode
INTEGERRHRMOUT requested HLHSR mode
Required PHIGS Operating States
(PHOP, WSOP, ∗, ∗)
DESCRIPTION
Purpose
Use INQUIRE HLHSR MODE to determine the current HLHSR (hidden line and hidden surface removal) mode from a specified workstation’s state list.
C Input Parameters
wsThe workstation identifier of the workstation whose state list is queried.
C Output Parameters
error_ind
A pointer to the location to store the error number of any error detected by this function.
stateA pointer to a location in which the system returns the HLHSR update state. Pupdatest is one of the values PNOTPENDING (“Not Pending”) or PPENDING (“Pending”).
cur_mode
A pointer to a location in which the system returns the current HLHSR mode.
req_mode
A pointer to a location in which the system returns the requested HLHSR mode. The requested mode can differ from the current mode if the update state is PENDING.
FORTRAN Input Parameters
WKIDThe workstation identifier of the workstation whose state list is queried.
FORTRAN Output Parameters
ERRIND
The error number of any error detected by this function.
HUPDThe HLHSR update state; one of the values PNPEND (“Not Pending”) or PPEND (“Pending”).
CHRM
The current HLHSR mode.
RHRM
The requested HLHSR mode. The requested mode can differ from the current mode if the update state is PENDING.
ERRORS
003Ignoring function, function requires state (PHOP, WSOP, ∗, ∗)
054Ignoring function, the specified workstation is not open
057Ignoring function, specified workstation is of category MI
SEE ALSO
SET HLHSR MODE (3P)
SET HLHSR IDENTIFIER (3P)
INQUIRE HLHSR FACILITIES (3P)
Sun Release 4.0 — Last change: 1 August 1989