Previous Next Up Title Contents Index Functions Index Top Library

SET BACK DATA MAPPING METHOD

PSBDMM


CALL SEQUENCE

CALL PSBDMM(DMM,LDR,DATREC)

INPUT PARAMETERS

INTEGER DMM
Data mapping method
INTEGER LDR
Length of data record array
CHARACTER*80 DATREC(LDR)
Data record

PHIGS STATE

(PHOP,*,STOP,*)

EFFECT

A SET BACK DATA MAPPING METHOD element is inserted in the open structure after element pointer or replaces the element indicated by element pointer, depending on edit mode. Element pointer then points to the SET BACK DATA MAPPING METHOD element. The value specified by the parameter is associated with the element.

When an element of this type is interpreted, the current back data mapping method entry in the traversal state list is set to the values associated with the element. These values are used when displaying back-facing portions of subsequent area defining output primitives when the current back data mapping method ASF in the traversal state list is INDIVIDUAL.

The data mapping methods are as follows:

PCDM Colour

PSUDM Single Uniform

PSNUDM Single non-uniform

PBUDM Bi uniform

PBNUDM Bi non-uniform

When an element of this type is interpreted, if the specified data mapping method is not available on a workstation, data mapping method PCDM is used. If the specified data mapping method or data record is inconsistent with any of the data lists associated with a primitive, data mapping method PCDM is used for that primitive.

See SET DATA MAPPING METHOD for a description of the data mapping data record.

EXTENSION TO THE PHIGS STANDARD

If GPHIGS is in NRS mode, the effect of this function is different from the effect described in the standard.

In NRS mode, (see OPEN PIPE), the element is not stored in a structure. It is sent to the workstation on which the pipe is opened.

ERRORS

5
Ignoring function, function requires state (PHOP,*, STOP,*)
138
Ignoring function, one or more of the fields in the specified data record is inconsistent with the specified type

SEE ALSO

fill area set 3 with data, set of fill area sets 3 with data, triangle set 3 with data, triangle strip 3 with data, quadrilateral mesh 3 with data, non-uniform b-spline surface 3 with data, set data mapping method, open structure, open pipe (ext), inquire current element content, inquire current element type and size


Previous Next Up Title Contents Index Functions Index Top Library