Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ psiasf(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PSIASF(3g)  —  Subroutines

Name

PSIASF − Sets ASFs for primitive attributes. 

Operating States: PHOP, ∗, STOP, ∗
PHIGS standard function
Creates a structure element

Syntax

PSIASF (ATTRID, ASFVAL)

Argument       Data Type      Access     Description
---------------------------------------------------------------------------
ATTRID         Integer        Read       Attribute identifier
ASFVAL         Integer        Read       Aspect source flag value
---------------------------------------------------------------------------

Constants

Defined Argument     Constant      Description
---------------------------------------------------------------------------
ATTRID               PLN           Polyline type.
                     PLWSC         Polyline width scale factor.
                     PPLCI         Polyline color index.
                     PMK           Polymarker type.
                     PMKSC         Polymarker width scale factor.
                     PPMCI         Polymarker color index.
                     PTXFN         Text font.
                     PTXPR         Text precision.
                     PCHXP         Character expansion factor.
                     PCHSP         Character spacing.
                     PTXCI         Text color index.
                     PIS           Interior style.
                     PISI          Interior style index.
                     PICI          Interior color index.
                     PEDFG         Edge flag.
                     PEDT          Edge type.
                     PEWSC         Edge width scale factor.
                     PEDCI         Edge color index.
                     PPLCOL        Polyline color.
                     PPMCOL        Polymarker color.
                     PTXCOL        Text color.
                     PINCOL        Interior color.
                     PEDCOL        Edge color.
                     PPSHMD        Polyline shading method.
                     PISHMD        Interior shading method.
                     PDMPMD        Data mapping method.
                     PREFPR        Reflectance properties.
                     PREFM         Interior lighting method.
                     PBINSY        Back interior style.
                     PBINSI        Back interior style index.
                     PBICOL        Back interior color.
                     PBISHM        Back interior shading method.
                     PBDMPM        Back data mapping method.
                     PBREFP        Back reflectance properties.
                     PBREFM        Back reflectance method.
                     PCAPCR        Curve approximation criteria.
                     PSAPCR        Surface approximation criteria.
                     PPASUC        Parametric surface criteria.
ASFVAL               PBUNDL        Aspect bundled.
                     PINDIV        Aspect individual.  This is the
                                   default value.
---------------------------------------------------------------------------

Description

PSIASF sets ASFs for primitive attributes.  If the ASF is INDIVIDUAL, Digital PHIGS uses the value of the corresponding, individually specified attribute of the primitive on the workstation.  If the ASF is BUNDLED, Digital PHIGS uses the value of the corresponding component of the workstation-dependent bundle, pointed to by the bundle index. 

Depending on the current edit mode, this function either inserts the new structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer. The pointer then points to the new set individual ASF element. 

During structure traversal, Digital PHIGS sets the ASF of the specified attribute identifier in the PHIGS traversal state list to the specified attribute source value. 

If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element. 

See Also

PSCR
PSDCI
PSDCR
PSEDI
PSEDR
PSEDP
DSHI
DSHR
PSII
PSIR
PSIP
PSPLI
PSPLR
PSPLP
PSPMI
PSPMR
PSPMP
PSTXI
PSTXR
PSTXRP

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