Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ psir(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PSIR(3g)  —  Subroutines

Name

PSIR − Defines the attributes of an interior representation. 

Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function

Syntax

PSIR (WKID, II, INTS, STYLI, COLI)

Argument       Data Type      Access     Description
---------------------------------------------------------------------------
WKID           Integer        Read       Workstation identifier
II             Integer        Read       Interior index
INTS           Integer        Read       Interior style
STYLI          Integer        Read       Style index
COLI           Integer        Read       Color index
---------------------------------------------------------------------------

Constants

Defined Argument      Constant      Description
---------------------------------------------------------------------------
INTS                  PHOLLO        Hollow interior.  This is the default
                                    value.
                      PSOLID        Solid interior.
                      PPATTR        Patterned interior.
                      PHATCH        Hatched interior.
                      PISEMP        Empty interior.
---------------------------------------------------------------------------

Description

PSIR associates an interior index with the interior style, interior style index, and interior color index values in the interior bundle table on the workstation specified by the workstation identifier.  This function allows you to create or redefine an entry for the workstation interior bundle table.  To determine the predefined bundle table entries, which are provided for all workstations of type OUTPUT and OUTIN, and which are derived from the workstation description table, run the program phigs_predef. 

The function associates the specified interior index value with the specified values of interior style, interior color index, and interior style index, as described in the following table, to form a table entry:

Argument           Description
-----------------------------------------------------------------------
Interior style     Specifies the value of the fill area or fill area
                   set interior style.  The value can be HOLLOW,
                   SOLID, PATTERN, HATCH, or EMPTY. Digital PHIGS uses
                   the HOLLOW style if the requested style is not
                   available on the workstation during structure
                   traversal.
Interior style     Used for PATTERN and HATCH interior styles only.
index              When the interior style is PATTERN, the argument
                   value is greater than 0 and provides an index into
                   the workstation pattern table.  When the interior
                   style is HATCH, this argument selects the hatch
                   style.  Hatch styles greater than 0 are reserved
                   for future standardization.  Hatch style values
                   that are less than 1 are workstation-dependent.
                   Digital PHIGS uses the index value 1 if the requested
                   style is not available on the workstation during
                   structure traversal.
Interior color     Specifies the index to the workstation color table.
index              Digital PHIGS uses the index value 1 if the requested
                   interior color index is not available on the
                   workstation during structure traversal.
-----------------------------------------------------------------------

During structure traversal, the following results occur:

•When Digital PHIGS displays fill areas or fill area sets, the current interior index entry in the PHIGS traversal state list references an entry in the interior bundle table. 

•If Digital PHIGS cannot find the current interior index value in the interior bundle table, it uses the interior index value of 1. 

•Digital PHIGS binds aspects to the primitives, as directed by the values of the corresponding ASFs (BUNDLED or INDIVIDUAL). 

See Also

PFA
PFA3
PFAS
PFAS3
PFASD
PFAS3D
DFASW
DFASW3
PQIR
PBSS3
PQM3D
PSIASF
PSICI
PSII
PSIP
PSIS
PSISI
PSFAS3
PTST3D

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