[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPVWI - Set View Index

GPVWI (index)

Purpose

Use GPVWI to insert a Set View Index structure element into the open structure following the element pointer or to replace the element pointed at by the element pointer with a Set View Index structure element depending on the current edit mode.

During structure traversal, this structure element specifies an entry in the workstation view table. The entry contains attribute settings for the view orientation matrix, view mapping matrix, viewport boundaries, and viewport clipping indicators. At structure traversal time, the graPHIGS API uses these attribute settings to render all subsequent output primitives.

The traversal default for the view index is entry 0 of the workstations's view table.

Parameters

index -- specified by user, fullword integer

An index which specifies an entry into the workstation's view table.

Error Codes

5
FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)
59
VIEW INDEX VALUE < ZERO

Related Subroutines

GPXVR
Set Extended View Representation

RCP code

201329154 (X'0C000A02')


[ Previous | Next | Contents | Glossary | Home | Search ]