Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pqifp(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PQIFP(3g)  —  Subroutines

Name

PQIFP − Returns extended interior and hatch information. 

Operating States: PHOP, ∗, ∗, ∗
PHIGS PLUS function

Old Syntax

DQEIP (WTYPE, NIS, NHS, NRI, NSM, ERRIND, NISTYL, ISTYL, NHATCH,
HATCH, NLIGHT, LIGHT, NSHADE, SHADE, NPREDF)

 

 
Argument        Data Type      Access    Description
---------------------------------------------------------------------------
WTYPE           Integer        Read      Workstation type
NIS             Integer        Read      Interior style element requested
NHS             Integer        Read      Hatch style element requested
NRI             Integer        Read      Reflectance equation element
                                         requested
NSM             Integer        Read      Shading method element requested
ERRIND          Integer        Write     Error indicator
NISTYL          Integer        Write     Number of available interior
                                         styles
ISTYL           Integer        Write     Interior style
NHATCH          Integer        Write     Number of available hatch styles
HATCH           Integer        Write     NHSth element of hatch style list
NLIGHT          Integer        Write     Number of available reflectance
                                         equations
LIGHT           Integer        Write     Light type
NSHADE          Integer        Write     Number of available shading
                                         elements
SHADE           Integer        Write     Shading method
NPREDF          Integer        Write     Number of predefined interior
                                         indexes
---------------------------------------------------------------------------

New Syntax

PQIFP (WTYPE, NI, NH, NRSM, ERRIND, NIS, IS, NHS,
HS, NSM, SM, NPFAI)

 

 
Argument        Data Type      Access    Description
---------------------------------------------------------------------------
WTYPE           Integer        Read      Workstation type
NI              Integer        Read      Interior style element requested
NH              Integer        Read      Hatch style element requested
NRSM            Integer        Read      Shading method element requested
ERRIND          Integer        Write     Error indicator
NIS             Integer        Write     Number of available interior
                                         styles
IS              Integer        Write     Element NI of the list of
                                         interior styles
NHS             Integer        Write     Number of available hatch styles
HS              Integer        Write     Element NH of the list of hatch
                                         styles
NSM             Integer        Write     Number of available shading
                                         elements
SM              Integer        Write     Element NRSM of the list of
                                         shading methods
NPFAI           Integer        Write     Number of predefined interior
                                         indexes
---------------------------------------------------------------------------

Constants

 
Defined Argument      Constant       Description
---------------------------------------------------------------------------
IS                    PHOLLO         Hollow interior.
                      PSOLID         Solid interior.
                      PPATTR         Patterned interior.
                      PHATCH         Hatched interior.
                      PISEMP         Empty interior.
SM                    PNOIS          No interpolation, constant shading.
                      PCIS           Linear interpolation of color.
                      PDDIS          Interpolation of color based on dot
                                     products.
                      PDNIS          Interpolation of color based on
                                     normals.
---------------------------------------------------------------------------

 

Description

PQIFP returns the following values:

•Number and list of available interior styles

•Number and list of available hatch styles

•Number and list of available shading methods

•Number of predefined interior indexes

•Number and list of available lighting methods

The value of the number of available hatch styles has the following interpretations:

Value       Result
Positive    The list of available hatch styles contains all registered
            hatch styles.
Negative    Two conditions apply:
            - Digital PHIGS derives the implementation-specific hatch
              styles directly from the value and the hatch style aspect.
            - The list of available hatch styles contains the registered
              hatch styles supported, the number of which is the
              absolute value of the number of available hatch styles.

See Also

PQIF
PQIP
PQPIR
PQPIP
PSIS
PSISI

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