VisualizeVideo
 All Classes Functions Pages
Public Member Functions | Protected Member Functions | List of all members
GLWidget Class Reference

Qt OpenGL Widget to show OpenGL output within Qt window. More...

#include <GLWidget.h>

Inheritance diagram for GLWidget:

Public Member Functions

 GLWidget (QWidget *parent=0)
 initialize GLWidget
 
QSize minimumSizeHint () const
 
QSize sizeHint () const
 
void setVolume (bool performBackgroundDetect, int fps, int startFrame, int maxFrames)
 set and load video volume from webcam
 
void setVolume (QString filename, bool mode, int fps, int startFrame, int maxFrames)
 set and load video volume from file
 
void setAlpha (bool state)
 enable or disable alpha channel handling
 
void setHue (bool state)
 enable or disable hue selection handling
 
void setHueValue (float val)
 set hue for hue selection handling
 
void setInvert (bool state)
 enable or disable inverting of alpha channel
 
void setOpacityValue (float val)
 set opacity value
 

Protected Member Functions

void initializeGL ()
 
void paintGL ()
 
void resizeGL (int width, int height)
 
void mousePressEvent (QMouseEvent *event)
 
void mouseMoveEvent (QMouseEvent *event)
 
void keyPressEvent (QKeyEvent *event)
 

Detailed Description

Qt OpenGL Widget to show OpenGL output within Qt window.

Qt OpenGL Widget handles initialization of OpenGL and administration of Camera (e.g. handling of mouse and key events for camera transformation) and SceneMangager (e.g. loading of video volume)


The documentation for this class was generated from the following files: