#include <RenderingSurface.h>
Public Slots | |
| void | processTimer () |
| this slot allowes to update the Renderer and Animation by calling it in a tight loop or by a timer | |
| void | screenShot () |
| this slot allowes to trigger a screenShot | |
Signals | |
| void | initGLFinished () |
| this signal is emitted when the initialization of OpenGL has finished. | |
Public Member Functions | |
| RenderingSurface (const QGLFormat &format, QWidget *parent=0, const QGLWidget *shareWidget=0, Qt::WindowFlags f=0) | |
| virtual | ~RenderingSurface () |
Private Member Functions | |
| void | initializeGL () |
| is called automatically for initializing OpenGL | |
| void | resizeGL (int w, int h) |
| is called automatically when the OpenGL is resized | |
| void | paintGL () |
| is called automatically when OpenGL wants to be painted | |
Private Attributes | |
| QTimer * | animationTimer |
| the rendering-loop timer: calls the slot processTimer | |
| RenderingSurface::RenderingSurface | ( | const QGLFormat & | format, | |
| QWidget * | parent = 0, |
|||
| const QGLWidget * | shareWidget = 0, |
|||
| Qt::WindowFlags | f = 0 | |||
| ) |
| RenderingSurface::~RenderingSurface | ( | ) | [virtual] |
| void RenderingSurface::initGLFinished | ( | ) | [signal] |
this signal is emitted when the initialization of OpenGL has finished.
| void RenderingSurface::processTimer | ( | ) | [slot] |
this slot allowes to update the Renderer and Animation by calling it in a tight loop or by a timer
| void RenderingSurface::screenShot | ( | ) | [slot] |
this slot allowes to trigger a screenShot
| void RenderingSurface::initializeGL | ( | ) | [private] |
is called automatically for initializing OpenGL
| void RenderingSurface::resizeGL | ( | int | w, | |
| int | h | |||
| ) | [private] |
is called automatically when the OpenGL is resized
| void RenderingSurface::paintGL | ( | ) | [private] |
is called automatically when OpenGL wants to be painted
QTimer* RenderingSurface::animationTimer [private] |
the rendering-loop timer: calls the slot processTimer
1.5.5