Previous Next Up Title Contents Index Functions Index Top Library

2
PHIGURE Session


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:

topen_phigure : Open PHIGURE

tclose_phigure : 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:

topen_ws : Open workstation

tclose_ws : Close workstation

The main functions affecting the workstation are:

ppost_struct : "post" the scene or any graphic object on the workstation

pset_hlhsr_mode : set the drawing mode on the workstation (for processing hidden surfaces)

predraw_all_structs : 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

Structure of a PHIGURE session with continuous redefinition of view

Structure of a PHIGURE session with interactive redefinition of the view

Structure of a PHIGURE session with interactive redefinition of the view and interactive change of the scene


Previous Next Up Title Contents Index Functions Index Top Library