manpagez: man pages & more
info mathgl
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5. Widget classes

There are set of “window” classes for making a window with MathGL graphics: mglGraphFLTK, mglGraphQT, mglGraphGLUT. All these classes allow user to show, rotate, export, and change view of the plot using keyboard. Most of them (except mglGraphGLUT) also have toolbar and menu for simplifying plot manipulation. Usually these classes (except mglGraphGLUT) are derived from mglGraphZB class and have a “connected” class for widget in corresponding window library. All window classes have the same set of functions (see section mglGraphAB class). Below the full list of classes with short comments.

Class: mglGraphFLTK

Class mglGraphFLTK adds the possibility to create plotting window with the help of FLTK library. It allows one to show, rotate, export, and change view of the plot by keyboard, menu and toolbar. “Corresponding” widget class is Fl_MathGL. Class is defined in #include <mgl/mgl_fltk.h>.

Class: Fl_MathGL

Class is FLTK widget for displaying the MathGL output. Class is defined in #include <mgl/mgl_fltk.h>.

fltk

Example of FLTK window with MathGL plot.

Class: mglGraphQT

Class mglGraphQT adds the possibility to create plotting window with the help of QT library. It allows one to show, rotate, export, and change view of the plot by keyboard, menu and toolbar. “Corresponding” widget class is QMathGL. Class is defined in #include <mgl/mgl_qt.h>.

Class: QMathGL

Class is Qt widget for dysplaying the MathGL output. Class is defined in #include <mgl/mgl_qt.h>.

qt

Example of Qt window with MathGL plot.

Class: mglGraphGLUT

Class mglGraphGLUT adds the possibility to create plotting window with the help of GLUT library. It allows one to show, rotate, export, and change view of the plot only by keyboard. Class is defined in #include <mgl/mgl_glut.h>.

glut

Example of GLUT window with MathGL plot.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]
© manpagez.com 2000-2017
Individual documents may contain additional copyright information.