void pset_invis_filter(
Pint ws_id /* workstation identifier */ const Pfilter *filter /* invisibility filter */
)
typedef struct {
Pint_list incl_set; /* inclusion set */
Pint_list excl_set; /* exclusion set */
} Pfilter;
typedef struct {
Pint num_ints; /* number of Pints in list */
Pint *ints; /* list of integers */
}Pint_list;
The invisibility filter entry in the ws_id workstation state list is set to the values defined by filter.
During traversal, the invisibility filter is compared with the current name set entry arguments of the PHIGS traversal state list in order to determine the visibility of the primitives which follow.
Primitives invisibility conditions:
(Invisibility filter inclusion set) intersect (current name set) is not an empty set
and
(Invisibility filter exclusion set) intersect (current name set) is an empty set.
add name to set, remove name from set, inquire invisibility filter