PQCMS(3g) — Subroutines
Name
PQCMS − Returns color mapping data record for a specified color mapping method.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS PLUS function
Syntax
PQCMS (WKID, CMM, MLDR, ERRIND, LDR, DATREC)
Argument Data Type Access Description
---------------------------------------------------------------------------
WKID Integer Read Workstation identifier
CMM Integer Read Color mapping method
MLDR Integer Read Dimension of the data record array
ERRIND Integer Write Error indicator
LDR Integer Write Length of the data record array
DATREC(MLDR) Character ∗80 Write Data record
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
CMTYP PTRUE Digital PHIGS performs the identity
mapping.
PSUD Digital PHIGS converts the colors to a
single integer index.
PSUDN Digital PHIGS converts the colors to a set
of indexes.
---------------------------------------------------------------------------
Description
PQCMS returns the color mapping data record associated with the specified color mapping method.
Digital PHIGS Version 3.1 does not support this function.
Data Record Information
If CMTYP is PTRUE, the data record has the following format:
INTEGER IL = 1 Number of integer values
INTEGER IA(1) Number of true colors available
RL = 0
RA = ()
SL = 0
LSTR = ()
STR = ()
If CMTYP is PSUD, the data record has the following format:
INTEGER IL = 1 Number of integer values
INTEGER IA(1) Number of pseudo color entries available
RL = 0
RA = ()
SL = 0
LSTR = ()
STR = ()
If CMTYP is PSUDN, there is no data record.
See Also
PQCMMF
PSCMR