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

NAME

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

SYNOPSIS

C Syntax

void
pset_back_int_style_ind ( index )
Pint
index;
back interior style index

FORTRAN Syntax

SUBROUTINE psbisi ( ISTYLE )
INTEGER
ISTYLE
back interior style index

Required PHIGS Operating States

(PHOP, * ,STOP, * )

DESCRIPTION

Purpose

SET BACK INTERIOR STYLE INDEX creates a structure element to set the back interior style index.
When the current back interior style index Aspect Source Flag (ASF) is set to INDIVIDUAL, the current value of this attribute defines the back interior style index 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

index
The back interior style index.

FORTRAN Input Parameter

ISTYLE The back interior style index.

Execution

Depending on the edit mode, a SET BACK INTERIOR STYLE INDEX element with the value interior style index 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 INDEX element.
During traversal, the back interior style index is only used for area defining facets that are back facing. For interior styles Hollow and Solid, the back interior style index value is not used. For interior style Pattern ,this value is greater than zero and is a pointer into the
pattern table of the workstation. For interior style Hatch, this value determines which of a number of hatch styles is used. Hatch styles greater than zero are reserved for registration. Hatch styles less than one are workstation-dependent.
At traversal time, if the entry associated with the specified interior style index is not defined, then interior style index one is substituted.
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 index 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 index.
When the current back interior style index ASF is set to BUNDLED, the back interior style index is taken from the workstation extended representation indicated by the current interior index. In this case, the back interior style index set with SET BACK INTERIOR STYLE INDEX has no effect.

ERRORS

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

SEE ALSO

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