Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SET INTERIOR STYLE INDEX(3P)  —  Kubota Pacfic Computer Inc. (29 February 1991)

NAME

SET INTERIOR STYLE INDEX − create a structure element to set the current interior style index attribute

SYNOPSIS

C Syntax

void
pset_int_style_ind ( index )
Pintindex;interior style index

Required PHIGS Operating States

(PHOP, ∗, STOP, ∗)

DESCRIPTION

Purpose

SET INTERIOR STYLE INDEX creates a structure element containing a value for the current interior style index attribute. 

When the current interior style index ASF is set to INDIVIDUAL, the current value of this attribute applies to the following output primitives:

• FILL AREA

• FILL AREA 3

• FILL AREA SET

• FILL AREA SET 3

• FILL AREA SET 3 WITH DATA

• NON-UNIFORM B-SPLINE SURFACE

• QUADRILATERAL MESH 3 WITH DATA

• TRIANGLE STRIP 3 WITH DATA

If the current edit mode is INSERT, a SET INTERIOR STYLE 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 STYLE 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. 

C Input Parameter

indexThe interior style index, which selects from the workstation’s PATTERN or HATCH. 

Execution

When the SET INTERIOR STYLE INDEX element is traversed, the current interior style index entry in the traversal state list is set to the interior style index.  The default interior style index is 1. 

When the current interior style index ASF is set to INDIVIDUAL, filled area output primitives that follow in the structure network are filled using the interior style index specified.  If the interior style index specified is not available on the workstation, HATCH -1 (or GENERAL INTERIOR 1) is used. 

When the interior style (either individual or bundled, depending on the interior style ASF) is Hollow, Solid, or Empty, the interior style index does not apply.  When the interior style is Patterned, the interior style index determines which of the workstation’s pattern table entries is used; the interior style index may be called the pattern index in this case.  When the interior style is Hatched, the interior style index determines which of the workstation’s predefined hatches is used; the interior style index may be called the hatch index in this case. 

When the current interior style index ASF is set to BUNDLED, the interior style index is taken from the workstation representation indicated by the current interior index.  In this case, the interior style index set with SET INTERIOR STYLE INDEX has no effect. 

ERRORS

005Ignoring function, function requires state (PHOP, ∗, STOP, ∗)

SEE ALSO

SET INTERIOR STYLE (3P)
SET PATTERN REPRESENTATION (3P)
INQUIRE INTERIOR FACILITIES (3P)
SET INDIVIDUAL ASF (3P)
SET INTERIOR REPRESENTATION (3P)

September 02, 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026