Hierarchical Edge Bundle 1.0
Public Member Functions | Static Public Attributes | Protected Member Functions
OpenGLWidget Class Reference

#include <OpenGLWidget.h>

Collaboration diagram for OpenGLWidget:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OpenGLWidget (QWidget *parent=0)
 ~OpenGLWidget ()

Static Public Attributes

static QGLContext * context
static QGLFormat * format

Protected Member Functions

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

Detailed Description

This class renders the tree, using the Renderimplementation class.

Author:
Caroline and Michael

Constructor & Destructor Documentation

OpenGLWidget::OpenGLWidget ( QWidget *  parent = 0)

Constructor which initialize this widget

OpenGLWidget::~OpenGLWidget ( )

Standarddeconstructor


Member Function Documentation

void OpenGLWidget::initializeGL ( ) [protected]

This method initialize OpenGL

Here is the call graph for this function:

void OpenGLWidget::keyPressEvent ( QKeyEvent *  event) [protected]

This metod gets called, if a keyboard button is pressed.

Parameters:
eventMouse Event

Here is the call graph for this function:

void OpenGLWidget::keyReleaseEvent ( QKeyEvent *  event) [protected]

This metod gets called, if a keyboard button is released.

Parameters:
eventMouse Event
void OpenGLWidget::mouseMoveEvent ( QMouseEvent *  event) [protected]

This metod gets called, if the mouse is moved.

Parameters:
eventMouse Event

Here is the call graph for this function:

void OpenGLWidget::mousePressEvent ( QMouseEvent *  event) [protected]

This metod gets called, if the mouse is pressed.

Parameters:
eventMouse Event
void OpenGLWidget::mouseReleaseEvent ( QMouseEvent *  event) [protected]

This metod gets called, if the mouse is released.

Parameters:
eventMouse Event
void OpenGLWidget::paintGL ( ) [protected]

This method paints the acutual frame

Here is the call graph for this function:

void OpenGLWidget::resizeGL ( int  width,
int  height 
) [protected]

This method resize the OpengGL window

Parameters:
width[int]width of the window
height[int]height of the window

Member Data Documentation

QGLContext* OpenGLWidget::context [static]
QGLFormat* OpenGLWidget::format [static]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines