pinq_list_view_inds(3g) — Subroutines
Name
pinq_list_view_inds − Returns the number and list of defined view indexes.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
void pinq_list_view_inds (
Pint wsid, /∗ (I) Workstation identifier ∗/
Pint num_elem, /∗ (I) Number of elements in the application
list ∗/
Pint start, /∗ (I) Starting position within the Digital
PHIGS list of view indexes ∗/
Pint ∗error_ind, /∗ (O) Error indicator ∗/
Pint_list ∗view_inds, /∗ (O) List of defined view indexes ∗/
Pint ∗act_num /∗ (O) Total number of defined view indexes
in Digital PHIGS ∗/
)
Data Structures
typedef struct {
Pint num_ints; /∗ number of Pints in the list ∗/
Pint ∗ints; /∗ list of integers ∗/
} Pint_list;
Description
pinq_list_view_inds queries the workstation state list and returns the list of defined view indexes. The function returns view indexes in a list ordered by view transformation input priority, starting with the highest view priority.
The application must provide the space used by the list. The application passes the address of the list, an array of integers, in the ints field of the view_inds argument, and passes the size in the num_elem argument. Digital PHIGS returns the number of elements written to the list in the num_ints field of the view_inds argument.
See Also
pinq_pred_view_rep
pinq_view_facs
pe_inq_ext_view_rep3
pset_view_rep3