Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ psetbackintstyle(3P+) — PHIGS 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SET BACK INTERIOR STYLE(3P+)  —  MISC. REFERENCE MANUAL PAGES

NAME

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

SYNOPSIS

C Syntax

void
psetbackintstyle ( style )
Pinterstylestyle;back interior style

FORTRAN Syntax

SUBROUTINE psbis ( STYLE )
INTEGERSTYLEback 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 3 WITH DATA

• FILL AREA SET 3 WITH DATA

• NON-UNIFORM B-SPLINE SURFACE

• POLYHEDRON 3 WITH DATA

• QUADRILATERAL MESH 3 WITH DATA

• TRIANGLE STRIP 3 WITH DATA

This is a SunPHIGS Extension function based on PHIGS+ and is not part of the PHIGS standard. 

C Input Parameters

All of the following data types are predefined in phigs.h. 

styleA pointer to a Pinterstyle data structure.  A Pinterstyle structure is defined as:

typedef enum {
PHOLLOW,Hollow
PSOLID,Solid
PPATTERN,Patterned
PHATCH,Hatched
PEMPTY,Empty
PGENERALGeneral
} Pinterstyle;

FORTRAN Input Parameters

All of the following data types are predefined in phigs77.h. 

STYLE
The back interior style.  Predefined values are:

0PHOLLOHollow
1PSOLIDSolid
2PPATTRPatterned
3PHATCHHatched
4PISEMPEmpty
5PGENERGeneral

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 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. SunPHIGS presently uses a solid line of default width. 

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 only be visible if the EDGE FLAG is set to ON. 

General

Fill the interior of the area defining primitive using the information in the entry of the general interior table that is selected by the current value of the BACK INTERIOR STYLE INDEX.  In this context, the BACK INTERIOR STYLE INDEX is sometimes referred to as the back general interior index. 

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 interior reflectance equation, back interior shading method, back interior style, and back interior style index) are used only when the face distiguishing mode has the value Yes and are applied to only the back facing portion of area defining primitives. See SET FACE DISTIGUISHING 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 EXTENDED INTERIOR REPRESENTATION (3P+)
SET INTERIOR STYLE (3P)

Sun Release 4.0  —  Last change: 28 July 1989

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