Previous Next Up Title Contents Index Functions Index Top Library

INQUIRE COLOUR MAPPING STATE

PQCMS


CALL SEQUENCE

CALL PQCMS (WKID, CMM, MLDR, ERRIND, LDR, DATREC)

INPUT PARAMETERS

INTEGER WKID
Workstation identifier
INTEGER CMM
Colour mapping method
INTEGER MLDR
Dimension of data record array

OUTPUT PARAMETERS

INTEGER ERRIND
Error indicator
INTEGER LDR
Length of data record array
CHARACTER*80 DATREC(MLDR)
Data record

PHIGS STATE

(PHOP, WSOP,*,*)

EFFECT

Returns the colour mapping state for the specified colour mapping method.

If the inquired information is available, the error indicator is returned as 0 and values are returned in the output parameters.

If the inquired information is not available, the values returned in the output parameters are implementation dependent and the error indicator is set to one of the following error numbers to indicate the reason for non-availability.

DATREC parameters for CMM = 1(PTRUE) :

The IA array contains :

- The number of true colour available

The other array are empty.

IL = 1

IA(1) = number of true colour available

RL = 0

RA = ()

SL = 0

LSTR = ()

STR = ()

DATREC parameters for CMM = 2(PSUD) :

The IA array contains :

- The number of pseudo colour entries available

The other array are empty

IL = 1

IA(1) = number of pseudo colour entries available

RL = 0

RA = ()

SL = 0

LSTR = ()

STR = ()

ERRORS

3
Ignoring function, function requires state (PHOP, WSOP,*,*)
54
Ignoring function, the specified workstation is not open
59
Ignoring function, the specified workstation does not have output capability (i.e. the workstation category is neither OUTPUT, OUTIN, nor MO)
126
Ignoring function, the specified colour mapping method is not available on the specified

SEE ALSO

set colour mapping representation, inquire colour mapping representation, inquire colour mapping facilities, inquire colour mapping method facilities.


Previous Next Up Title Contents Index Functions Index Top Library