MESAWORKSTATION(1)

NAME
MesaWorkstation - A simple workstation abstraction widget for Mesa/X

DESCRIPTION

Resources
The following X resources are available in addition to the MesaDrawingArea resources:

  ___________________________________________________________________________
  |                    |                    |         |                      |
  | Name               | Class              | Type    | OpenGL attribute     |
  |____________________|____________________|_________|______________________|
  |                    |                    |         |                      |
  |                    |                    |         |                      |
  |____________________|____________________|_________|______________________|

Actions

Translations

Utility functions
The following utility functions are available The following code snippet selects perspective projection for the workstation ws:

        GLwBeginProjection (ws);
          glFrustum (-1.0, 1.0, -1.0, 1.0, 1.0, 10.0);
        GLwEndProjection ();
During redisplay, this will be executed as a display list with the matrix mode set to GL_PROJECTION and an identity matrix on top of the projection matrix stack. The following code snippet selects a view from the z-axis for the workstation ws:

        GLwBeginView (ws);
          gluLookAt (0.0, 0.0, 3.0,
                     0.0, 0.0, 0.0,
                     0.0, 1.0, 0.0);
        GLwEndView ();
During redisplay, this will be executed as a display list with the matrix mode set to GL_MODELVIEW and an identity matrix on top of the model view matrix stack. posts object to w. force a redraw of all objects posted to w.

SEE ALSO
the GLwDrawingArea manpage, the MesaDrawingArea manpage

AUTHOR
Thorsten.Ohl @ Physik.TH-Darmstadt.de

DATE
$Id: MesaWorkstation.pod,v 1.6 1995/05/19 20:31:00 ohl Exp $