| GPQCVR (wsid, view, number, ids, errind, data) |
Note:
This subroutine is a Workstation State List (WSL) inquiry. For an overview, see "WSL Inquiries"
Purpose
Use GPQCVR to inquire one or more fields from the specified current view table entry.
Each field in the view table entry is identified by a group identifier.
If the inquired information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameter in the requested order. 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
indexed format direct format
------------- -------------
0 | 1| fullword integer 0 | 2| fullword integer
|-----------| |-----------|
4 |color index| fullword integer 4 |component 1| short floating-point number
|-----------| |-----------|
8 | ignored| fullword integer 8 |component 2| short floating-point number
|-----------| |-----------|
12 | ignored| fullword integer 12 |component 3| short floating-point number
------------- -------------
indexed format direct format
------------- -------------
0 | 1| fullword integer 0 | 2| fullword integer
|-----------| |-----------|
4 |color index| fullword integer 4 |component 1| short floating-point number
|-----------| |-----------|
8 | ignored| fullword integer 8 |component 2| short floating-point number
|-----------| |-----------|
12 | ignored| fullword integer 12 |component 3| short floating-point number
------------- -------------
-----------------------
| 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 3x3 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
201336846 (X'0C00280E')