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

INQUIRE LIST OF VIEW INDICES (PHOP,WSOP,*,*)

Purpose

Use Inquire List of View Indices to inquire the list of defined view indexes existing on the workstation.

The graPHIGS API returns the view indexes in a list, which is ordered by view transformation input priority, starting with the highest priority view.

If the information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameters. If the information is unavailable, then the values returned in the output parameters are unpredictable and the graPHIGS API sets the error indicator to one of the following errors:

3
Function Requires State (PHOP,WSOP,*,*)
54
Specified Workstation Is Not Open
57
Specified Workstation Is Of Category MI

Language Bindings

C

pinq_list_view_inds (ws_id, num_elems_appl_list, start_ind, err_ind, view_inds, num_elems_impl_list)

Input Parameters

Pint ws_id
Workstation identifier.

Pint num_elems_appl_list
Number of elements in the application list (>=0).

Pint start_ind
Starting index (>=0).

Output Parameters

Pint *err_ind
Error indicator.

Pint_list *view_inds
List of defined view indexes.

Pint *num_elems_impl_list
Number of elements in the implementation list.

FORTRAN

PQEVWI (wkid, n, errind, nvwix, viewi)

Input Parameters

integer wkid
Workstation identifier.

integer n
List element requested (>=0).

Output Parameters

integer errind
Error indicator.

integer nvwix
Number of view bundle table entries.

integer viewi
nth element in the list of defined view indexes.

Errors

None

Related Subroutines

  • Set View Representation


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