SET INTERIOR INDEX(3P) — SUNPHIGS LIBRARY
NAME
SET INTERIOR INDEX − create a structure element containing a interior representation index attribute
SYNOPSIS
C Syntax
void
psetintind ( index )
Pintindex;interior index
FORTRAN Syntax
SUBROUTINE psii ( II )
INTEGERIIinterior 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
C Input Parameter
indexAn interior index for an interior representation on the workstation.
FORTRAN Input Parameter
IIAn 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 EXTENDED INTERIOR REPRESENTATION (3P+)
Sun Release 4.0 — Last change: 1 August 1989