[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6. External Modules

An external module is a program that interacts with Geomview. A module communicates with Geomview through gcl and can control any apsect of Geomview that you can control through Geomview's user interface.

In many cases an external module is a specialized program that implements some mathematical algorithm that creates a geometric object that changes shape as the algorithm progresses. The module informs Geomview of the new object shape at each step, so the object appears to evolve with time in the Geomview window. In this way Geomview serves as a display engine for the module.

An external module may be interactive. It can respond to mouse and keyboard events that take place in a Geomview window, thus extending the capability of Geomview itself.

6.1 How External Modules Interface with Geomview  
6.2 Example 1: Simple External Module  Simple External Module.
6.3 Example 2: Simple External Module with FORMS Control Panel  Simple External Module with FORMS Control Panel.
6.4 The FORMS Library  
6.5 Example 3: External Module with Bi-Directional Communication  External Module with Bi-Directional Communication.
6.6 Example 4: Simple Tcl/Tk Module Demonstrating Picking  Simple Tcl/Tk Module Demonstrating Picking.
6.7 Module Installation  



This document was generated by Steve M. Robbins on September, 12 2004 using texi2html