SunPHIGS 3.0 Extensions Reference Manual
  Suchtext Nur in diesem Buch
Dieses Buch im PDF-Format herunterladen

NAME

SET BACK INTERIOR STYLE - create structure element to set back interior style

SYNOPSIS

C Syntax

void
pset_back_int_style ( style )
Pint_style
style;
back interior style

FORTRAN Syntax

SUBROUTINE psbis ( STYLE )
INTEGER
STYLE
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
NON-UNIFORM B-SPLINE SURFACE
SET OF FILL AREA SET 3 WITH DATA
QUADRILATERAL MESH 3 WITH DATA
TRIANGLE STRIP 3 WITH DATA
This is a SunPHIGS Extension function based on PHIGS PLUS and is not part of the PHIGS standard.

C Input Parameter

style
A pointer to a Pint_style data structure. A Pint_style structure is defined in phigs.h as:
typedef enum {
PHOLLOW,
Hollow
PSOLID,
Solid
PPATTERN,
Patterned
PHATCH,
Hatched
PEMPTY,
Empty
} Pint_style;

FORTRAN Input Parameter

The following data types are predefined in phigs77.h.
STYLE
The back interior style. Predefined values are:
0   PHOLLO     Hollow
1   PSOLID     Solid
2   PPATTR     Patterned
3   PHATCH     Hatched
4   PISEMP     Empty

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 is 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 is 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 are visible only if the EDGE FLAG is set to ON.
If the requested interior style is not available on a workstation, then Hollow is 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 distinguishing mode has the value Yes and are applied only to the back facing portion of area defining primitives. See SET FACE DISTINGUISHING MODE (3PP) 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

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

SEE ALSO

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