pset_view_ind(3g) — Subroutines
Name
pset_view_ind − Specifies the view index value.
Operating States: PHOP, ∗, STOP, ∗
PHIGS standard function
Creates a structure element
Syntax
void pset_view_ind (
Pint index /∗ (I) View index ∗/
)
Description
pset_view_ind specifies the view index value, which points to a view table entry on a workstation. Depending on the current edit mode, this function either inserts the new structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer. The pointer then points to the new set view index element.
The pset_view_ind function associates the view representation of the specified view bundle table entry with primitive structure elements. The entry contains the following:
•View orientation matrix
•View mapping matrix
•View clipping limits
•xy-clipping indicator
•Back-clipping indicator (for three-dimensional views)
•Front-clipping indicator (for three-dimensional views)
The view index is an output primitive attribute. Each primitive has a view index attribute bound to it during structure traversal.
During structure traversal, the set view index element sets the current view index entry in the PHIGS traversal state list to the specified index value. Digital PHIGS uses this value when creating subsequent output primitives.
You can create and change view table indexes and associated table entries with the pset_view_rep and pset_view_rep3 functions.
If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element.
See Also
peval_view_map_matrix
peval_view_ori_matrix
pe_inq_ext_view_rep3
pe_set_ext_view_rep
pe_set_ext_view_rep3
pset_view_rep