SET INTERIOR INDEX(3P) — Kubota Pacfic Computer Inc. (29 February 1991)
NAME
SET INTERIOR INDEX − create a structure element containing an interior representation index attribute
SYNOPSIS
C Syntax
void
pset_int_ind ( index )
Pintindex;interior index
Required PHIGS Operating States
(PHOP, ∗, STOP, ∗)
DESCRIPTION
Purpose
SET INTERIOR INDEX creates a structure element containing an interior index number, which selects an entry from the workstation’s interior bundle table. This attribute applies to the output primitives
• FILL AREA
• FILL AREA 3
• FILL AREA SET
• FILL AREA SET 3
• NON-UNIFORM B-SPLINE SURFACE
• FILL AREA 3 WITH DATA
• FILL AREA SET 3 WITH DATA
• QUADRILATERAL MESH 3 WITH DATA
• TRIANGLE STRIP 3 WITH DATA
C Input Parameter
indexAn interior index for an interior representation on the workstation.
Execution
If the current edit mode is INSERT, a SET INTERIOR INDEX element is inserted into the currently open structure after the element pointed to by the current element pointer. If the edit mode is REPLACE, the new SET INTERIOR INDEX element replaces the element pointed to by the element pointer. In either case, the element pointer is updated to point to the new element.
When the SET INTERIOR INDEX element is traversed, the current interior index value is set to the interior index, which specifies an entry from the workstation’s interior bundle table. The default interior index is 1, and if the interior index specified is not available on the workstation, 1 will be used.
An interior representation contains values for the following attributes:
• interior style
• interior style index
• interior colour index
Area-defining output primitives which follow in the structure network will use the values from the specified representation for those interior attributes whose Aspect Source Flag (ASF) is set to BUNDLED. When the ASFs are INDIVIDUAL , the attributes come from the appropriate SET attribute elements.
Interior representations are defined with SET INTERIOR REPRESENTATION.
ERRORS
005Ignoring function, function requires state (PHOP, ∗, STOP, ∗)
100Ignoring function, the bundle index value is less than one
SEE ALSO
SET INDIVIDUAL ASF (3P)
SET INTERIOR REPRESENTATION (3P)
SET INTERIOR REPRESENTATION PLUS (3P+)
September 02, 1992