Previous Next Up Title Contents Index Functions Index Top Library

SET REFLECTANCE REPRESENTATION

PSRFR


CALL SEQUENCE

CALL PSRFR(WKID, RFI, RFM, RPTYPE, LDR, DATREC)

INPUT PARAMETERS

INTEGER WKID
workstation identifier
INTEGER RFI
Reflectance index
INTEGER RFM
Reflectance model
INTEGER RPTYPE
Reflectance properties type
INTEGER LDR
Length of data record array
CHARACTER*80 DATREC(LDR)
Data record

PHIGS STATE

(PHOP, WSOP,*,*)

EFFECT

The values are placed in the reflectance bundle table at index RFI in the workstation state list.

The reflectance bundle table is initialized from the WKID workstation description table

See SET REFLECTANCE PROPERTIES for the list of available reflectance model and the description of the data record parameter.

During structure traversal, the current reflectance index and current back reflectance index in the traversal state list are used to select entries in the reflectance bundle table of a workstation. Depending on the current facet distinguishing mode , the front and back reflectance index attributes are used when displaying respective portions of area defining output primitives. If the entry corresponding to either of these indices is not defined, the entry corresponding to an index of 1 is used.

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)
100
Ignoring function, the bundle index value is less than one
103
Ignoring function, setting this bundle table entry would exceed the maximum number of entries allowed in the workstation
110
Ignoring function, the specified colour model is not available on the workstation
113
Ignoring function, the colour index value is less than zero
124
Ignoring function, the specified reflectance model value is not available on the workstation
136
Ignoring function, one of the components of the colour specification is out of range
138
Ignoring function, one or more of the fields in the specified data record is inconsistent with the specified type
139
Ignoring function, the specified reflectance property type is not available on the specified workstation

SEE ALSO

set reflectance index, set individual asf, set reflectance model, set reflectance properties, inquire reflectance representation, inquire reflectance facilities, inquire predefined reflectance representation, inquire workstation state table length plus


Previous Next Up Title Contents Index Functions Index Top Library