|
glVertex
5.5.2
|
Qt OpenGL widget class /w event handling. More...
#include <glvertex_qt_glwidgetui.h>

Public Member Functions | |
| void | setFPS (double rate) |
| set frame rate | |
| void | setTimeLapse (double speedup) |
| set time lapse speedup | |
| void | background (double red, double green, double blue, double alpha=1) |
| set background color | |
| void | toggle_background () |
| toggle background color | |
| void | animation (bool on) |
| enable animation | |
| void | toggle_animation () |
| toggle animation | |
| void | ztest (bool on) |
| enable z-buffer test | |
| void | toggle_ztest () |
| toggle z-buffer test | |
| void | culling (bool on) |
| enable back-face culling | |
| void | toggle_culling () |
| toggle back-face culling | |
| void | blending (bool on) |
| enable alpha blending | |
| void | toggle_blending () |
| toggle alpha blending | |
| void | atest (bool on) |
| enable alpha testing | |
| void | toggle_atest () |
| toggle alpha testing | |
| void | wireframe (bool on) |
| enable wireframe mode | |
| void | toggle_wireframe () |
| toggle wireframe mode | |
| void | override (bool on) |
| enable override | |
| void | fullscreen (bool on) |
| enable fullscreen mode | |
| void | toggle_fullscreen () |
| toggle fullscreen mode | |
| void | restart () |
| restart time | |
Protected Member Functions | |
| virtual void | updateOpenGL (double dt) |
| implement this method to update state after rendering | |
| bool | isSpinning () |
| check for manipulator spin | |
| void | stopSpin () |
| stop manipulator spin | |
| virtual void | mouseMoved (double dx, double dy) |
| reimplement to be called in case of a mouse move | |
| virtual void | mouseClick (double x, double y) |
| reimplement to be called in case of a mouse click | |
| virtual void | doubleClick (double x, double y) |
| reimplement to be called in case of a double click | |
| virtual void | interaction () |
| reimplement to be called in case of a user interaction | |
| virtual void | initializeOpenGL ()=0 |
| implement this method to initialize OpenGL state | |
| virtual void | renderOpenGL (double dt)=0 |
| implement this method to render a frame | |
| virtual void | prepareOpenGL (double dt) |
| implement this method to prepare state before rendering | |
| virtual void | finishOpenGL (double t) |
| implement this method to finish OpenGL state | |
Qt OpenGL widget class /w event handling.
1.8.17