The Canvas class - represents the main class of our application, since the whole logic and the calls for all necessary passes are comprised here.
More...
#include <Canvas.h>
Inherits QOpenGLWidget, and QOpenGLFunctions.
|
| Canvas (QWidget *parent=0) |
|
| ~Canvas () |
|
virtual void | initializeGL () |
| initializeGL - takes care of the initialization of al important OpenGL aspects More...
|
|
virtual void | resizeGL (int width, int height) |
| resizeGL - callback method, which handels situations where the width or heigt of the window changes More...
|
|
virtual void | paintGL () |
| paintGL - takes care of everything that will be drawn on the canvas. Calls methods which regulate diverse aspects of the (partial) differed rendering. More...
|
|
void | loadModel () |
| loadModel - Load model from currently specified file path More...
|
|
void | drawScene () |
| drawScene - Draws the sccene onto the bound framebuffer More...
|
|
void | drawEdges () |
| drawEdges - Draws the edge effect More...
|
|
void | drawHalos () |
| drawHalos - Draws the previously rendered scene from the framebuffer onto the screen with postprocess effects More...
|
|
void | calculateAmbientOcclusionMap () |
| calculateAmbientOcclusion - calculates the ambient occlusion effect for the current scene More...
|
|
void | drawPostProcess () |
| drawPostProcess - calculates the post process edge cueing effects, contours and halos More...
|
|
virtual void | mouseMoveEvent (QMouseEvent *event) |
| mouseMoveEvent - Callback Function for when the Mouse is being moved More...
|
|
virtual void | mousePressEvent (QMouseEvent *event) |
| mousePressEvent - Callback Function for when a Mouse button is pressed More...
|
|
virtual void | mouseReleaseEvent (QMouseEvent *event) |
| mouseReleaseEvent - Callback Function for when a Mouse button is released More...
|
|
virtual void | wheelEvent (QWheelEvent *event) |
| wheelEvent - Callback Function for when the Mouse scroll wheel is being activated More...
|
|
The Canvas class - represents the main class of our application, since the whole logic and the calls for all necessary passes are comprised here.
Canvas::Canvas |
( |
QWidget * |
parent = 0 | ) |
|
void Canvas::calculateAmbientOcclusionMap |
( |
| ) |
|
calculateAmbientOcclusion - calculates the ambient occlusion effect for the current scene
void Canvas::drawEdges |
( |
| ) |
|
drawEdges - Draws the edge effect
void Canvas::drawHalos |
( |
| ) |
|
drawHalos - Draws the previously rendered scene from the framebuffer onto the screen with postprocess effects
void Canvas::drawPostProcess |
( |
| ) |
|
drawPostProcess - calculates the post process edge cueing effects, contours and halos
void Canvas::drawScene |
( |
| ) |
|
drawScene - Draws the sccene onto the bound framebuffer
void Canvas::initializeGL |
( |
| ) |
|
|
virtual |
initializeGL - takes care of the initialization of al important OpenGL aspects
void Canvas::loadModel |
( |
| ) |
|
loadModel - Load model from currently specified file path
void Canvas::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
virtual |
mouseMoveEvent - Callback Function for when the Mouse is being moved
- Parameters
-
void Canvas::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
virtual |
mousePressEvent - Callback Function for when a Mouse button is pressed
- Parameters
-
void Canvas::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
virtual |
mouseReleaseEvent - Callback Function for when a Mouse button is released
- Parameters
-
paintGL - takes care of everything that will be drawn on the canvas. Calls methods which regulate diverse aspects of the (partial) differed rendering.
void Canvas::resizeGL |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
virtual |
resizeGL - callback method, which handels situations where the width or heigt of the window changes
- Parameters
-
void Canvas::wheelEvent |
( |
QWheelEvent * |
event | ) |
|
|
virtual |
wheelEvent - Callback Function for when the Mouse scroll wheel is being activated
- Parameters
-
The documentation for this class was generated from the following files: