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

SET WORKSTATION VIEWPORT 3 (PHOP,WSOP,*,*)

Purpose

Use Set Workstation Viewport 3 to set the requested three-dimensional workstation viewport for the specified workstation.

The graPHIGS API sets the current workstation viewport to the requested values when you update the workstation.

Language Bindings

C

pset_ws_vp3 (ws_id, ws_vp_limits)

Input Parameters

Pint ws_id
Workstation identifier.

const Plimit3 *ws_vp_limits
Workstation viewport limits in DC.

FORTRAN

PSWKV3 (wkid, wkvp)

Input Parameters

integer wkid
Workstation identifier.

real wkvp(6)
Workstation viewport limits in DC (XMIN, XMAX, YMIN, YMAX, ZMIN, ZMAX).

Errors

3
Function Requires State (PHOP,WSOP,*,*)
54
Specified Workstation Is Not Open
57
Specified Workstation Is Of Category MI
152
Invalid Viewport: XMIN >= XMAX, YMIN >= YMAX OR ZMIN > ZMAX
157
Workstation Viewport Is Not Within Display Space

Related Subroutines

  • Inquire Workstation Transformation

  • Inquire Workstation Transformation 3

  • Set Workstation Viewport

  • Set Workstation Window

  • Set Workstation Window 3


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