|
void | setContext (QOpenGLContext *context) |
| A member function to set the OpenGL context. More...
|
|
QOpenGLContext * | context () const |
| A member function to get the OpenGL context. More...
|
|
virtual void | initialize ()=0 |
| A virtual member function that initializes the scene (has to be overwritten). More...
|
|
virtual void | compileShader ()=0 |
| A virtual member function that compiles a shader(has to be overwritten). More...
|
|
virtual void | update (float t)=0 |
| A virtual member function that updates the scene (has to be overwritten). More...
|
|
virtual void | render ()=0 |
| A virtual member function that renders the scene(has to be overwritten). More...
|
|
virtual void | resize (int width, int height)=0 |
| A virtual member function that resizes the scene(has to be overwritten). More...
|
|
virtual bool | loadModelFromPath (const std::string absoluteFilePath)=0 |
| A virtual member function that loads a model from a given path(has to be overwritten). More...
|
|
virtual void | rotateAzimuth (float t)=0 |
|
virtual void | rotatePolar (float t)=0 |
|
virtual void | setAmbientFactor (float ambientFactor)=0 |
| Set the ambient factor for lighting. More...
|
|
virtual void | setDiffuseFactor (float diffuseFactor)=0 |
| Set the diffuse factor for lighting. More...
|
|
virtual void | setSpecularFactor (float specularFactor)=0 |
| Set the specular factor for lighting. More...
|
|
virtual void | setNearPlane (float nearPlane)=0 |
| Set the near plane of the camera. More...
|
|
virtual void | setFarPlane (float farPlane)=0 |
| Set the far plane of the camera. More...
|
|
virtual void | setAmbientOcclusion (bool value)=0 |
| Toggle ambient occlusion on/off. More...
|
|
virtual void | setShadowEnabled (bool value)=0 |
|
virtual void | setContourEnabled (bool value)=0 |
|
virtual void | setContourConstant (bool value)=0 |
|
virtual void | setDepthFactor (float depthFactor)=0 |
|
virtual void | setContourWidth (float width)=0 |
|
virtual void | setAmbientIntensity (float value)=0 |
|
virtual void | switchAmbientOcclusionQuality (int quality)=0 |
|