[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE PREDEFINED VIEW REPRESENTATION
(PHOP,*,*,*)
Purpose
Use
Inquire Predefined View Representation
to inquire the predefined view attributes
corresponding to
the specified view table entry for the specified
workstation type.
The graPHIGS API returns the view orientation matrix, the view mapping
matrix, the view clipping limits,
the x to y clipping indicator, and
the back and front clipping indicators for the specified entry.
If the information is available, then the graPHIGS API sets
the error indicator to zero and returns the values in
the output parameters.
If the information is unavailable,
then the values returned in the output parameters
are unpredictable and the graPHIGS API sets the error indicator
to one of the following errors:
- 2
- Function Requires State (PHOP,*,*,*)
- 52
- Workstation Type Not Recognized By Implementation
- 51
- Information Not Available For Generic Workstation Type
- 57
- Specified Workstation Is Of Category MI
- 114
- View Index Value < ZERO
- 101
- Specified Representation Has Not Been Defined
- 62
- This Information Not Available For MO Workstation Type
Language Bindings
C
pinq_pred_view_rep
(ws_type,
index, err_ind, view) |
Pint ws_typeWorkstation type.
Pint indexPredefined view index
(>=0).
Pint *err_indError indicator.
Pview_rep3 *viewView representation.
FORTRAN
PQPVWR
(wtype, pvwi, errind,
vwormt, vwmpmt, vwcplm,
xyclpi, bclipi, fclipi) |
integer wtypeWorkstation type
integer pvwiPredefined view index
(>=0).
integer errindError indicator.
real vwormt(4,4)View orientation matrix.
real vwmpmt(4,4)View mapping matrix.
real vwcplm(6)View clipping limits in NPC
(XMIN, XMAX, YMIN, YMAX, ZMIN, ZMAX).
integer xyclpix to y clipping indicator
(0=PNCLIP, 1=PCLIP).
integer bclipiBack clipping indicator
(0=PNCLIP, 1=PCLIP).
integer fclipiFront clipping indicator
(0=PNCLIP, 1=PCLIP).
Errors
None
Related Subroutines
Inquire Workstation Connection And Type
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]