Previous Next Up Title Contents Index Functions Index Top Library

ADD NAMES TO SET

PADS


CALL SEQUENCE

CALL PADS (N, NAMSET)

INPUT PARAMETERS

INTEGER N
Number of names to be added to the name set.
INTEGER NAMSET(N)
Table containing the names to be added to the set.

PHIGS STATE

(PHOP, *, STOP, *).

EFFECT

An ADD NAMES TO SET element is inserted in the open structure after element pointer or replaces the element indicated by element pointer, depending on edit mode. Element pointer then points to the ADD NAMES TO SET element. The values specified by the function parameter are associated with the element.

When the ADD NAMES TO SET element is interpreted, the names set specified in NAMSET is added to the current name set entry in the PHIGS traversal state list.

The primitives which follow in the structure network will have the current name set as an attribute.

The names set changes only affect the current structure and its sub-structures.

The current name set in the PHIGS traversal state list is compared to the eligibility filters for:

- visibility

- picking

- highlighting.

EXTENSION TO THE PHIGS STANDARD

If GPHIGS is in NRS mode, the effect of this function is different from the effect described in the standard.

In NRS mode, (see OPEN PIPE), the element is not stored in a structure. It is sent to the workstation on which the pipe is opened.

ERRORS

5
Ignoring function, function requires state (PHOP,*, STOP,*)

SEE ALSO

remove name from set, set highlighting filter, set invisibility filter, set pick filter, open structure, open pipe (ext), inquire current element content, inquire current element type and size


Previous Next Up Title Contents Index Functions Index Top Library