| GPQRVR (wsid, view, number, ids, errind, data) |
Note:
This subroutine is a Workstation State List (WSL) inquiry. For an overview, see "WSL Inquiries"
Purpose
Use GPQRVR to inquire one or more fields from the specified requested view table entry.
If the inquired information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameters. The output parameter must be large enough to store all requested data.
If the inquired information is unavailable, then the error indicator (errind) contains an error number indicating the reason, and the values returned in the output parameters are unpredictable.
Parameters
----------------------
WORDS 1 |number of items in | Fullword integer
| the returned path |
|--------------------|
2 | structure id 1 | Fullword integer
|--------------------|
3 | element number 1 | Fullword integer
|--------------------|
4 | structure id 2 | Fullword integer
|--------------------|
5 | element number 2 | Fullword integer
|--------------------|
| |
Z Z
|--------------------|
| structure id m | Fullword integer
|--------------------|
| element number m | Fullword integer
----------------------
----------------------
WORDS 1 |number of items in | Fullword integer
| the returned path |
|--------------------|
2 | structure id 1 | Fullword integer
|--------------------|
3 | element number 1 | Fullword integer
|--------------------|
4 | structure id 2 | Fullword integer
|--------------------|
5 | element number 2 | Fullword integer
|--------------------|
| |
Z Z
|--------------------|
| structure id m | Fullword integer
|--------------------|
| element number m | Fullword integer
----------------------
-----------------------
| Umin | short floating-point number
|---------------------|
| Umax | short floating-point number
|---------------------|
| Vmin | short floating-point number
|---------------------|
| Vmax | short floating-point number
|---------------------|
| near plane distance | short floating-point number
|---------------------|
| far plane distance | short floating-point number
|---------------------|
| U projection- | short floating-point number
| reference point |
|---------------------|
| V projection- | short floating-point number
| reference point |
|---------------------|
| N projection- | short floating-point number
| reference point |
|---------------------|
| view plane distance | short floating-point number
|---------------------|
| projection type | fullword integer
-----------------------
|m11 m12 m14|
|m21 m22 m24|--->(m11,m12,m14,m21.....m44)
|m41 m42 m44|
The output 3[default]3 matrix is extracted by the graPHIGS API from the
4[default]4 matrix of the three-dimensional form:
|m11 m12 m13 m14|
|m21 m22 m23 m24|--->(m11,m12,m13,m14,m21,m22.....m44)
|m31 m32 m33 m34|
|m41 m42 m43 m44|
|m11 m12 m13 m14|
|m21 m22 m23 m24|--->(m11,m12,m13,m14,m21,m22.....m44)
|m31 m32 m33 m34|
|m41 m42 m43 m44|
|m11 m12 m14|
|m21 m22 m24|--->(m11,m12,m14,m21.....m44)
|m41 m42 m44|
|m11 m12 m13 m14|
|m21 m22 m23 m24|--->(m11,m12,m13,m14,m21,m22.....m44)
|m31 m32 m33 m34|
|m41 m42 m43 m44|
Error Codes
None
Related Subroutines
RCP code
201336847 ( X'0C00280F')