#include <glview.h>
Collaboration diagram for GLView:
Public Slots | |
void | setXRotation (int degrees) |
void | setYRotation (int degrees) |
void | setZRotation (int degrees) |
void | setXTranslation (int xTrans) |
void | setYTranslation (int yTrans) |
void | setZTranslation (int zTrans) |
void | setScaling (int scaling) |
void | setOxId (int iOxId) |
void | setOyId (int iOyId) |
void | setColorId (int iColorId) |
void | init (QString &sFilename) |
void | enableBrushing (bool bEnableBrushing) |
void | clearBrush () |
void | setBrushWidth (int iBrushWidth) |
void | setBrushHardness (int iBrushHardness) |
Public Member Functions | |
GLView (QWidget *parent, const char *name) | |
~GLView () | |
DataFile & | GetDataFile () |
Protected Member Functions | |
void | paintGL () |
void | resizeGL (int w, int h) |
void | mouseMoveEvent (QMouseEvent *e) |
void | mousePressEvent (QMouseEvent *e) |
void | mouseReleaseEvent (QMouseEvent *e) |
void | TrackData () |
void | Brush () |
Private Attributes | |
GLfloat | xRot |
GLfloat | yRot |
GLfloat | zRot |
GLfloat | scale |
GLfloat | xTrans |
GLfloat | yTrans |
int | m_iOldMouseX |
int | m_iOldMouseY |
int | m_iWidth |
int | m_iHeight |
DataFile | m_DataFile |
int | m_iNumTimeSteps |
int | m_iNumData |
int | m_iCurrentTimeStep |
int | m_iCurrentData |
int | m_iBarIncrement |
int | m_iPBCBorder |
int | m_iBarWidth |
int | m_iBarHeight |
DataChannel * | m_pOxData |
DataChannel * | m_pOyData |
DataChannel * | m_pColorData |
float * | m_pBrush |
bool | m_bEnableBrushing |
int | m_iBrushWidth |
float | m_fBrushHardness |
bool | m_bDisplayData |
bool | m_bInit |
vector< Bar * > | m_vBars |
|
Constructor that creates a GLView widget |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Paint the box. The actual openGL commands for drawing the box are performed here. |
|
Set up the OpenGL view port, matrix mode, etc. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|