Both parts, scene creation and scene visualization, make up the PHIGURE session. The session must be opened before any PHIGURE functions can be called, and closed when no more functions are to be called. The two functions which open and close the PHIGURE session are:
TOPPH Open PHIGURE
TCLPH Close PHIGURE
The PHIGURE session also includes the workstation session. The workstation must of course be "opened" before the scene can be visualized. As we have seen, PHIGURE enables the use of several workstations simultaneously. The two functions which open and close the workstation are:
TOPWK Open workstation
TCLWK Close workstation
The main functions affecting the workstation are:
PPOST "post" the scene or of any graphic object on the workstation
PSHRM set the drawing mode on the workstation (for processing hidden surfaces)
PRST draw objects that are "posted" on the workstation
The following diagrams give some examples of PHIGURE sessions.
Structure of a basic, non-interactive PHIGURE session



