GL2DView Class Reference

#include <GL2DView.h>

Inherits GLView.

Collaboration diagram for GL2DView:
[legend]

List of all members.

Public Member Functions

 GL2DView ()
 ~GL2DView ()
void initializeGL ()
void uninitializeGL ()
void paintGL ()
void resizeGL (int width, int height)
void mousePressEvent (QMouseEvent *event)
void mouseMoveEvent (QMouseEvent *event)
void wheelEvent (QWheelEvent *event)

Protected Member Functions

void mouseEvent (QMouseEvent *event)

Private Attributes

GLfloat xCoord
GLfloat yCoord
GLfloat zCoord
QPoint lastPos


Detailed Description

Definition at line 6 of file GL2DView.h.


Constructor & Destructor Documentation

GL2DView::GL2DView (  ) 

Definition at line 6 of file GL2DView.cpp.

References xCoord, yCoord, and zCoord.

GL2DView::~GL2DView (  ) 

Definition at line 13 of file GL2DView.cpp.


Member Function Documentation

void GL2DView::initializeGL (  )  [virtual]

Implements GLView.

Definition at line 17 of file GL2DView.cpp.

References GLView::volumeDesc, and VolumeDesc::volumeTexture.

void GL2DView::mouseEvent ( QMouseEvent *  event  )  [protected]

Definition at line 184 of file GL2DView.cpp.

References GLView::parent, xCoord, yCoord, and zCoord.

Referenced by mouseMoveEvent(), and mousePressEvent().

void GL2DView::mouseMoveEvent ( QMouseEvent *  event  )  [virtual]

Implements GLView.

Definition at line 176 of file GL2DView.cpp.

References mouseEvent(), and GLView::parent.

void GL2DView::mousePressEvent ( QMouseEvent *  event  )  [virtual]

Implements GLView.

Definition at line 171 of file GL2DView.cpp.

References mouseEvent().

void GL2DView::paintGL (  )  [virtual]

Implements GLView.

Definition at line 59 of file GL2DView.cpp.

References GLView::volumeDesc, VolumeDesc::volumeTexture, xCoord, yCoord, and zCoord.

void GL2DView::resizeGL ( int  width,
int  height 
) [virtual]

Implements GLView.

Definition at line 146 of file GL2DView.cpp.

void GL2DView::uninitializeGL (  )  [virtual]

Implements GLView.

Definition at line 40 of file GL2DView.cpp.

void GL2DView::wheelEvent ( QWheelEvent *  event  )  [virtual]

Implements GLView.

Definition at line 205 of file GL2DView.cpp.


Member Data Documentation

QPoint GL2DView::lastPos [private]

Definition at line 25 of file GL2DView.h.

GLfloat GL2DView::xCoord [private]

Definition at line 24 of file GL2DView.h.

Referenced by GL2DView(), mouseEvent(), and paintGL().

GLfloat GL2DView::yCoord [private]

Definition at line 24 of file GL2DView.h.

Referenced by GL2DView(), mouseEvent(), and paintGL().

GLfloat GL2DView::zCoord [private]

Definition at line 24 of file GL2DView.h.

Referenced by GL2DView(), mouseEvent(), and paintGL().


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

Generated on Wed Dec 10 13:50:14 2008 for Tido Visualization by  doxygen 1.5.7.1