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

GPQXER - Inquire Extended Edge Representation

GPQXER (wsid, index, type, number, ids, errind, data)

Note:

This subroutine is a Workstation State List (WSL) inquiry. For an overview, see "WSL Inquiries"

Purpose

Use GPQXER to inquire the current value of one or more fields in the specified edge bundle table entry of the specified workstation's edge bundle table.

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

wsid -- specified by user, fullword integer

Workstation identifier.

index -- specified by user, fullword integer

Edge bundle table index (>=1)

type -- specified by user, fullword integer

Type of returned value ( 1=SET )

number -- specified by user, fullword integer

Number of group identifiers requested (>=1)

ids -- specified by user, array of fullword integers

A list of group identifiers requested.

errind -- returned by the graPHIGS API, fullword integer

Error indicator. If the error indicator is zero, the request has been completed. Otherwise, one of the following errors exists:
25
SPECIFIED WORKSTATION DOES NOT EXIST
35
WORKSTATION HAS ONLY INPUT CAPABILITIES
43
BUNDLE INDEX EXCEEDS WORKSTATION TABLE CAPACITY
60
BUNDLE INDEX VALUE < ONE
272
GROUP IDENTIFIER IS INVALID
273
NUMBER OF GROUP IDENTIFIERS < ONE
534
TYPE VALUE IS INVALID

data -- returned by the graPHIGS API, variable data

Data array containing the values in the requested groups.

The value that may be set for each field is expressed in the data format listed below:

Group Identifier 1 - Edge flag

A fullword integer ( 1=OFF, 2=ON, 3=GEOMETRY_ONLY )

Group Identifier 2 - Line type table index

A fullword integer (>=1) Specifies an index into the workstation's edge line type table. The table size and specified entries supported are workstation dependent. The default edge line type table for supported entries is defined with the following line types: (1=SOLID_LINE, 2=DASHED, 3=DOTTED, 4=DASH_DOT, 5=LONG_DASH, 6=DOUBLE_DOT, 7=DASH_DOUBLE_DOT, 8-n=SOLID_LINE )

Group Identifier 3 - Edge linewidth scale factor

A short floating-point number.

Group Identifier 4 - Edge color

Four fullwords of data with either of the following two formats:
 
 
       <----- width ------>  
      
      ---------------------- <--- top line
      |                    |
      |                    |
      |- - - - - - - - - - | <--- cap line
      |                    |   ^  
      |                    |   | height
      |                    |   |
      |                    |   |  
      |                    |   v         
      | - - - - - - - - - -| <--- base line
      |                    |
      |                    |
      ---------------------- <--- bottom line

Error Codes

None

Related Subroutines

GPXER
Set Extended Edge Representation

RCP code

201339154 ( X'0C003112')


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