Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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

NAME

SET BACK INTERIOR STYLE − create a structure element to set the back interior style

SYNOPSIS

C Syntax

void
pset_back_int_style ( style )
Pint_stylestyle;back interior style

Required PHIGS Operating States

(PHOP, ∗, STOP, ∗)

DESCRIPTION

Purpose

SET BACK INTERIOR STYLE creates a structure element to set the back interior style. SET BACK INTERIOR STYLE determines in what style the interior of the back facing area defining primitives should be filled: Hollow, Solid, Pattern, Hatch, Empty, or General. 

When the current back interior style Aspect Source Flag (ASF) is set to INDIVIDUAL, the current value of this attribute defines the back interior style 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

styleA pointer to a Pint_style data structure.  A Pint_style structure is defined in phigs.h as:

typedef enum {
PSTYLE_HOLLOW,Hollow
PSTYLE_SOLID,Solid
PSTYLE_PAT,Patterned
PSTYLE_HATCH,Hatched
PSTYLE_EMPTY,Empty
} Pint_style;

Execution

Depending on the edit mode, a SET BACK INTERIOR STYLE element with the value interior style is inserted into the open structure after the element pointer, or it replaces the element pointed at by the element pointer. The element pointer is then updated to point to this SET BACK INTERIOR STYLE element. 

The back interior style is used to determine in what style the interior of the back facing area-defining primitives should be filled:

Hollow

No filling, but draw the boundary using the colour, or colours, resulting from the rendering pipeline. The linetype and linewidth of this bounding polyline are implementation-dependent. PEX-SI presently uses a solid line of default width.  Clipping of fill areas yields visible edges at clip boundaries. 

Solid

Fill the interior using the colour, or colours, resulting from the rendering pipeline. 

Pattern

Fill the interior using the colours resulting from the rendering pipeline.  The current BACK INTERIOR STYLE INDEX will be used to select a pattern from the pattern table. In this context, the BACK INTERIOR STYLE INDEX is sometimes referred to as the back pattern index and must have a value greater than zero. 

Hatch

Fill the interior using the colours resulting from the rendering pipeline.  The current BACK INTERIOR STYLE INDEX will be used to select a hatch style from the hatch table. In this context, the BACK INTERIOR STYLE INDEX is sometimes referred to as the back hatch index. 

Empty

No filling is performed. Area defining primitives drawn using this value will be visible only if the EDGE FLAG is set to ON. 

If the requested interior style is not available on a workstation, Hollow will be used on that workstation. 

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 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. 

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

ERRORS

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

SEE ALSO

SET FACE DISTINGUISHING MODE (3P+)
SET BACK INTERIOR STYLE INDEX (3P+)
SET INDIVIDUAL ASF (3P)
SET INTERIOR REPRESENTATION PLUS (3P+)
SET INTERIOR STYLE (3P)

September 02, 1992

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