|
ProjectedTextures
Prototype software for spacial augmented reality applications.
|
#include <RenderBase.h>
Public Slots | |
| void | setRenderingEnabled (bool enable) |
Public Member Functions | |
| RenderBase (ShaderManager *shaderManager, QList< Geometry * > *geometries, QWidget *parent=0) | |
| virtual | ~RenderBase (void) |
Protected Member Functions | |
| void | initRenderList () |
| void | destroyRenderList () |
| virtual void | initializeGL () |
| virtual void | paintGL () |
| virtual void | resizeGL () |
Protected Attributes | |
| bool | renderingEnabled |
| QList< RenderObject > | renderList |
| QList< Geometry * > * | geometries |
| ShaderManager * | shaderManager |
the common denominator of the render windows. loads the virtual objects to the graphics card and gets them ready for rendering
| RenderBase::RenderBase | ( | ShaderManager * | shaderManager, |
| QList< Geometry * > * | geometries, | ||
| QWidget * | parent = 0 |
||
| ) |
| shaderManager | is set as a share widget; so all render windows can share the shader programs compiled and uploaded by the shader manager. |
| geometries | the geometrie that should be prepared for rendering |
|
virtual |
|
protected |
clears the renderList and thourougly deletes the contents
|
inlineprotectedvirtual |
Reimplemented in ProjectorWidget, and CamViewWidget.
|
protected |
create VAOs etc. and fill the renderList
|
inlineprotectedvirtual |
Reimplemented in ProjectorWidget, and CamViewWidget.
|
inlineprotectedvirtual |
|
inlineslot |
|
protected |
contains all geometries
|
protected |
used by subclasses to enable/disable the rendering of virtual objects
|
protected |
contains all the render-ready objects
|
protected |
the one and only shader manager
1.8.4