class MyGLWidget: public QGLWidget
Implements an OpenGL widget for Qt.
Inherits from QGLWidget.
| MyGLWidget | Implements an OpenGL widget for Qt. |
| Functions | |
| MyGLWidget | Initializes the object and creates the hardcoded data sets. |
| ~MyGLWidget | Releases all allocated resources. |
| Initialize | Initializes the OpenGL context. |
| minimumSizeHint | Unused function. |
| sizeHint | Unused function. |
| resizeGL | Unused function. |
| paintEvent | Paints the widget. |
| mousePressEvent | Unused function. |
| mouseMoveEvent | Unused function. |
| mouseReleaseEvent | Unused function. |
| wheelEvent | Unused function. |
Implements an OpenGL widget for Qt.
class MyGLWidget: public QGLWidget
Initializes the object and creates the hardcoded data sets.
MyGLWidget( QWidget * pParent = NULL )
Releases all allocated resources.
~MyGLWidget()
Initializes the OpenGL context.
void Initialize()
Unused function.
QSize minimumSizeHint() const
Unused function.
QSize sizeHint() const
Unused function.
void resizeGL( int iWidth, int iHeight )
Paints the widget.
void paintEvent( QPaintEvent * pEvent )
Unused function.
void mousePressEvent( QMouseEvent * pEvent )
Unused function.
void mouseMoveEvent( QMouseEvent * pEvent )
Unused function.
void mouseReleaseEvent( QMouseEvent * pEvent )
Unused function.
void wheelEvent( QWheelEvent * pEvent )