Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ psvwi(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PSVWI(3g)  —  Subroutines

Name

PSVWI − Specifies the view index value. 

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

Syntax

PSVWI (VIEWI)

Argument       Data Type      Access    Description
---------------------------------------------------------------------------
VIEWI          Integer        Read      View index
---------------------------------------------------------------------------

Description

PSVWI specifies the view index value, which points to a view table entry on a workstation.  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 view index element. 

The PSVWI function associates the view representation of the specified view bundle table entry with primitive structure elements.  The entry contains the following:

•View orientation matrix

•View mapping matrix

•View clipping limits

•xy-clipping indicator

•Back-clipping indicator (for three-dimensional views)

•Front-clipping indicator (for three-dimensional views)

The view index is an output primitive attribute. Each primitive has a view index attribute bound to it during structure traversal. 

During structure traversal, the set view index element sets the current view index entry in the PHIGS traversal state list to the specified index value.  Digital PHIGS uses this value when creating subsequent output primitives. 

You can create and change view table indexes and associated table entries with the PSVWR and PSVWR3 functions. 

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

See Also

PEVMM
PEVOM
PQVWR
DSXVWR
DSXVR3
PSVWR

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