SET BACK INTERIOR STYLE INDEX(3P+) — Kubota Pacfic Computer Inc. (29 February 1991)
NAME
SET BACK INTERIOR STYLE INDEX − create a structure element to set the back interior style index
SYNOPSIS
C Syntax
void
pset_back_int_style_ind ( index )
Pintindex;back interior style index
Required PHIGS Operating States
(PHOP, ∗, STOP, ∗)
DESCRIPTION
Purpose
SET BACK INTERIOR STYLE INDEX creates a structure element to set the back interior style index.
When the current back interior style index Aspect Source Flag (ASF) is set to INDIVIDUAL, the current value of this attribute defines the back interior style index to be applied to the following output primitives:
• FILL AREA
• FILL AREA 3
• FILL AREA SET
• FILL AREA SET 3
• FILL AREA SET 3 WITH DATA
• GENERALIZED DRAWING PRIMITIVE (Fill Area Primitives)
• GENERALIZED DRAWING PRIMITIVE 3 (Fill Area Primitives)
• NON-UNIFORM B-SPLINE SURFACE
• SET OF FILL AREA SET 3 WITH DATA
• QUADRILATERAL MESH 3 WITH DATA
• TRIANGLE STRIP 3 WITH DATA
C Input Parameters
indexThe back interior style index.
Execution
Depending on the edit mode, a SET BACK INTERIOR STYLE INDEX element with the value interior style index is inserted into the open structure after the element pointer or replaces the element pointed at by the element pointer. The element pointer is then updated to point to this SET BACK INTERIOR STYLE INDEX element.
During traversal, the back interior style index is used only for area-defining facets that are back facing. For interior styles Hollow, Solid, and Empty, the back interior style index value is not used. For interior style Pattern, this value is greater than zero and is a pointer into the pattern table of the workstation. For interior style Hatch, this value determines which of a number of hatch styles is used. Hatch styles greater than zero are reserved for registration. Hatch styles less than one are workstation-dependent.
At traversal time, if the entry associated with the specified interior style index is not defined, then interior style index one is substituted.
Back face attributes (such as back area properties, back interior colour, back reflectance characteristics, back interior shading method, back interior style, and back interior style index) are used only when the face distinguishing mode has the value Yes and are applied only to the back facing portion of area defining primitives. See SET FACE DISTINGUISHING MODE (3P+) for details on front and back face determination.
When the current back interior style index ASF is set to INDIVIDUAL, area-defining output primitives, which follow in the structure network and are subject to back face attributes, are filled using the current back interior style index.
When the current back interior style index ASF is set to BUNDLED, the back interior style index is taken from the workstation extended representation indicated by the current interior index. In this case, the back interior style index set with SET BACK INTERIOR STYLE INDEX has no effect.
ERRORS
005Ignoring function, function requires state (PHOP, ∗, STOP, ∗)
SEE ALSO
SET FACE DISTINGUISHING MODE (3P+)
SET BACK INTERIOR STYLE (3P+)
SET INDIVIDUAL ASF (3P)
SET INTERIOR REPRESENTATION PLUS (3P+)
SET INTERIOR STYLE INDEX (3P)
September 02, 1992