#include <GLView.h>
Inherited by GL2DView, and GL3DView.
Public Member Functions | |
GLView () | |
void | setData (QGLWidget *parent, VolumeDesc *volumeDesc, TransferFunctionDesc *transferFunctionDesc, StateDesc *stateDesc) |
virtual void | initializeGL ()=0 |
virtual void | uninitializeGL ()=0 |
virtual void | paintGL ()=0 |
virtual void | resizeGL (int width, int height)=0 |
virtual void | mousePressEvent (QMouseEvent *event)=0 |
virtual void | mouseMoveEvent (QMouseEvent *event)=0 |
virtual void | wheelEvent (QWheelEvent *event)=0 |
Protected Attributes | |
QGLWidget * | parent |
VolumeDesc * | volumeDesc |
TransferFunctionDesc * | transferFunctionDesc |
StateDesc * | stateDesc |
Definition at line 45 of file GLView.h.
GLView::GLView | ( | ) |
Definition at line 79 of file GLView.cpp.
virtual void GLView::initializeGL | ( | ) | [pure virtual] |
Implemented in GL2DView, and GL3DView.
Referenced by GLWidget::initializeGL(), and GLWidget::switchView().
virtual void GLView::mouseMoveEvent | ( | QMouseEvent * | event | ) | [pure virtual] |
virtual void GLView::mousePressEvent | ( | QMouseEvent * | event | ) | [pure virtual] |
virtual void GLView::paintGL | ( | ) | [pure virtual] |
virtual void GLView::resizeGL | ( | int | width, | |
int | height | |||
) | [pure virtual] |
Implemented in GL2DView, and GL3DView.
Referenced by GLWidget::resizeGL(), and GLWidget::switchView().
void GLView::setData | ( | QGLWidget * | parent, | |
VolumeDesc * | volumeDesc, | |||
TransferFunctionDesc * | transferFunctionDesc, | |||
StateDesc * | stateDesc | |||
) |
virtual void GLView::uninitializeGL | ( | ) | [pure virtual] |
Implemented in GL2DView, and GL3DView.
Referenced by GLWidget::switchView(), and GLWidget::~GLWidget().
virtual void GLView::wheelEvent | ( | QWheelEvent * | event | ) | [pure virtual] |
QGLWidget* GLView::parent [protected] |
Definition at line 61 of file GLView.h.
Referenced by GL2DView::mouseEvent(), GL3DView::mouseMoveEvent(), GL2DView::mouseMoveEvent(), and GL3DView::wheelEvent().
StateDesc* GLView::stateDesc [protected] |
Definition at line 64 of file GLView.h.
Referenced by GL3DView::drawVolume(), and GL3DView::paintGL().
TransferFunctionDesc* GLView::transferFunctionDesc [protected] |
Definition at line 63 of file GLView.h.
Referenced by GL3DView::loadTransferFunction(), and GL3DView::paintGL().
VolumeDesc* GLView::volumeDesc [protected] |
Definition at line 62 of file GLView.h.
Referenced by GL3DView::drawVolume(), GL2DView::initializeGL(), GL3DView::paintGL(), GL2DView::paintGL(), and GL3DView::setColorVertex().