Previous Next Up Title Contents Index Functions Index Top Library

EXECUTE STRUCTURE

PEXST


CALL SEQUENCE

CALL PEXST (STRID)

INPUT PARAMETERS

INTEGER STRID
Structure identifier called by the current open structure.

PHIGS STATE

(PHOP, *, STOP, *).

EFFECT

An EXECUTE STRUCTURE 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 EXECUTE STRUCTURE element. The value specified by STRID is associated with the element.

Execution of the EXECUTE STRUCTURE element during a traversal has the following effect:

1) Suspending execution of the current structure.

2) Saving the current values of the primitive attributes, view index local and global transformations, names sets, modelling clipping and clipping indicator limits.

3) Executing a traversal of the structure defined by STRID ; this can itself call another structure.

4) Restoring saved states.

5) Continuing current structure execution.

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. If the structure exists it is traversed immediately. This allows application to work in combined mode: NON RETAINED STRUCTURES call STANDARD STRUCTURES.

ERRORS

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

SEE ALSO

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