GLWidget.h File Reference

Declares the GLWidget class which serves as a parent class to all OpenGL widgets. More...

#include <QGLWidget>
#include "general.h"

Include dependency graph for GLWidget.h:

This graph shows which files directly or indirectly include this file:


Classes

class  GLWidget
 GLWidget serves as a further abstraction of OpenGL from QGLWidget. More...

Defines

#define GL_BEGIN_TEXT()
#define GL_END_TEXT()
#define ZOOM_MIN   (50)
#define ZOOM_MAX   (300)
#define ZOOM_WHEEL_FACTOR   (13)

Detailed Description

Declares the GLWidget class which serves as a parent class to all OpenGL widgets.


Define Documentation

 
#define GL_BEGIN_TEXT (  ) 

Value:

{       glMatrixMode(GL_PROJECTION); glPushMatrix();glLoadIdentity(); \
                                                        glMatrixMode(GL_MODELVIEW); glPushMatrix(); glLoadIdentity(); \
                                                        glDisable(GL_DEPTH_TEST); glDisable(GL_TEXTURE_2D); }

 
#define GL_END_TEXT (  ) 

Value:

{       glEnable(GL_DEPTH_TEST); glPopMatrix(); glMatrixMode(GL_PROJECTION); \
                                                glPopMatrix(); glMatrixMode(GL_MODELVIEW); }

#define ZOOM_MAX   (300)

#define ZOOM_MIN   (50)

#define ZOOM_WHEEL_FACTOR   (13)