GL3DView Class Reference

#include <GL3DView.h>

Inherits GLView.

Collaboration diagram for GL3DView:
[legend]

List of all members.

Public Member Functions

 GL3DView ()
 ~GL3DView ()
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 setColorVertex (GLfloat x, GLfloat y, GLfloat z)
void drawCube ()
void loadTransferFunction ()
void drawColorCubes ()
void drawVolume (GLFramebuffer *framebuffer)

Private Attributes

bool viewChanged
GLTexture1D transferTexture
GLFramebuffer rtBoxFrontBuffer
GLFramebuffer rtBoxBackBuffer
GLFramebuffer rcSmallBuffer
GLFramebuffer rcBigBuffer
GLMultiProgramm rcProgramms [shaderCount]
GLProgramm rtProgramm
GLuint rtSize
GLuint rcBigSize
GLuint rcSmallSize
GLuint minFps
GLuint width
GLuint height
GLuint loopIterations
GLfloat aspectRatio
GLfloat xRot
GLfloat zRot
GLfloat dist
QPoint lastPos


Detailed Description

Definition at line 22 of file GL3DView.h.


Constructor & Destructor Documentation

GL3DView::GL3DView (  ) 

GL3DView::~GL3DView (  ) 

Definition at line 59 of file GL3DView.cpp.


Member Function Documentation

void GL3DView::drawColorCubes (  )  [protected]

void GL3DView::drawCube (  )  [protected]

Definition at line 326 of file GL3DView.cpp.

References setColorVertex().

Referenced by drawColorCubes().

void GL3DView::drawVolume ( GLFramebuffer framebuffer  )  [protected]

void GL3DView::initializeGL (  )  [virtual]

void GL3DView::loadTransferFunction (  )  [protected]

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

Implements GLView.

Definition at line 282 of file GL3DView.cpp.

References lastPos, GLView::parent, viewChanged, xRot, and zRot.

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

Implements GLView.

Definition at line 277 of file GL3DView.cpp.

References lastPos.

void GL3DView::paintGL (  )  [virtual]

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

Implements GLView.

Definition at line 259 of file GL3DView.cpp.

References aspectRatio, and viewChanged.

void GL3DView::setColorVertex ( GLfloat  x,
GLfloat  y,
GLfloat  z 
) [protected]

void GL3DView::uninitializeGL (  )  [virtual]

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

Implements GLView.

Definition at line 296 of file GL3DView.cpp.

References dist, GLView::parent, and viewChanged.


Member Data Documentation

GLfloat GL3DView::aspectRatio [private]

Definition at line 53 of file GL3DView.h.

Referenced by drawColorCubes(), GL3DView(), and resizeGL().

GLfloat GL3DView::dist [private]

Definition at line 54 of file GL3DView.h.

Referenced by drawColorCubes(), GL3DView(), and wheelEvent().

GLuint GL3DView::height [private]

Definition at line 51 of file GL3DView.h.

Referenced by drawColorCubes(), and drawVolume().

QPoint GL3DView::lastPos [private]

Definition at line 55 of file GL3DView.h.

Referenced by mouseMoveEvent(), and mousePressEvent().

GLuint GL3DView::loopIterations [private]

Definition at line 52 of file GL3DView.h.

Referenced by drawVolume(), and paintGL().

GLuint GL3DView::minFps [private]

Definition at line 50 of file GL3DView.h.

Referenced by GL3DView(), and paintGL().

Definition at line 46 of file GL3DView.h.

Referenced by GL3DView(), initializeGL(), and uninitializeGL().

GLuint GL3DView::rcBigSize [private]

Definition at line 49 of file GL3DView.h.

Referenced by GL3DView(), initializeGL(), and paintGL().

GLMultiProgramm GL3DView::rcProgramms[shaderCount] [private]

Definition at line 47 of file GL3DView.h.

Referenced by drawVolume(), GL3DView(), initializeGL(), paintGL(), and uninitializeGL().

Definition at line 46 of file GL3DView.h.

Referenced by drawVolume(), GL3DView(), initializeGL(), paintGL(), and uninitializeGL().

GLuint GL3DView::rcSmallSize [private]

Definition at line 49 of file GL3DView.h.

Referenced by GL3DView(), initializeGL(), and paintGL().

Definition at line 46 of file GL3DView.h.

Referenced by drawColorCubes(), drawVolume(), GL3DView(), initializeGL(), and uninitializeGL().

Definition at line 46 of file GL3DView.h.

Referenced by drawColorCubes(), drawVolume(), GL3DView(), initializeGL(), and uninitializeGL().

Definition at line 48 of file GL3DView.h.

Referenced by GL3DView(), initializeGL(), paintGL(), and uninitializeGL().

GLuint GL3DView::rtSize [private]

Definition at line 49 of file GL3DView.h.

Referenced by drawColorCubes(), GL3DView(), and initializeGL().

Definition at line 45 of file GL3DView.h.

Referenced by drawVolume(), GL3DView(), initializeGL(), loadTransferFunction(), and uninitializeGL().

bool GL3DView::viewChanged [private]

Definition at line 44 of file GL3DView.h.

Referenced by GL3DView(), mouseMoveEvent(), paintGL(), resizeGL(), and wheelEvent().

GLuint GL3DView::width [private]

Definition at line 51 of file GL3DView.h.

Referenced by drawColorCubes(), drawVolume(), and loadTransferFunction().

GLfloat GL3DView::xRot [private]

Definition at line 54 of file GL3DView.h.

Referenced by drawColorCubes(), GL3DView(), and mouseMoveEvent().

GLfloat GL3DView::zRot [private]

Definition at line 54 of file GL3DView.h.

Referenced by drawColorCubes(), GL3DView(), and mouseMoveEvent().


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