| GPTEX3 (point1, point2, index) |
Purpose
Use GPTEX3 to insert a Test Extent 3 structure element into the open structure following the element pointer or to replace the element pointed at by the element pointer with a Test Extent 3 structure element depending on the current edit mode.
This structure element modifies the cull flag and prune flag within the current condition flags. These flags are used when processing subsequent conditional execute structure and conditional return elements.
During structure traversal, this element sets the prune flag (31st bit) and cull flag (30th bit) of the current condition flags in the graPHIGS traversal state list as follows:
The condition flag is a 32-bit bit string. Each bit is defined as follows:
0 15 16 29 30 31
--------------------------------------------------------------------------
| | | cull | prune |
| reserved for application | reserved | flag | flag |
--------------------------------------------------------------------------
High bit Low bit
If the workstation does not support the specified cull size
index or the specified index is outside the allowable range,
then the cull size index defaults to a value of 1.
GPTEX3 is identified as GSE 1006.
Note:
Not all GSEs are supported on all workstations. Use the Inquire List of Generalized Structure Elements (GPQGSE) inquiry subroutine to determine the GSEs supported by an open workstation. See also the workstation descriptors in The graPHIGS Programming Interface: Technical Reference
Parameters
Error Codes
Related Subroutines
RCP code
201331718 (X'0C001406')