#include <GL2DView.h>
Inherits GLView.
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 |
Definition at line 6 of file GL2DView.h.
GL2DView::GL2DView | ( | ) |
GL2DView::~GL2DView | ( | ) |
Definition at line 13 of file GL2DView.cpp.
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] |
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] |
void GL2DView::uninitializeGL | ( | ) | [virtual] |
void GL2DView::wheelEvent | ( | QWheelEvent * | event | ) | [virtual] |
QPoint GL2DView::lastPos [private] |
Definition at line 25 of file GL2DView.h.
GLfloat GL2DView::xCoord [private] |
GLfloat GL2DView::yCoord [private] |
GLfloat GL2DView::zCoord [private] |