GLWidget Class Reference
#include <GLWidget.h>
List of all members.
|
Public Member Functions |
| | GLWidget (QWidget *parent=0, int width=0, int height=0, bool use2dTexturing=false) |
| | ~GLWidget () |
| QSize | minimumSizeHint () const |
| QSize | sizeHint () const |
| void | toggleTexMode (bool use2dTexturing) |
| void | setVolume (Volume *vol) |
| void | setMirrorX (bool isChecked) |
| void | setMirrorY (bool isChecked) |
| void | updateTransferFunc (float data[], int size) |
| void | updateSlice (int sliceX, int sliceY, int sliceZ, bool modeChanged) |
Protected Member Functions |
| void | initializeGL () |
| void | paintGL () |
| void | resizeGL (int width, int height) |
Private Member Functions |
| void | makeMeCurrent () |
| void | update1dTexture (float data[], int size) |
| void | update2dTexture () |
| void | update3dTexture () |
| const int | GetNextPowerOfTwo (const int iNumber) |
| void | deleteTextures (bool del1d, bool del2d, bool del3d) |
Private Attributes |
| int | widgetWidth |
| int | widgetHeight |
| bool | doMirrorX |
| bool | doMirrorY |
| Volume * | volume |
| ShaderWrap * | shaders |
| int | currentSliceX |
| int | currentSliceY |
| int | currentSliceZ |
| bool | use2dTex |
| GLuint | texture1d |
| GLuint | texture2d |
| GLuint | texture3d |
Constructor & Destructor Documentation
| GLWidget::GLWidget |
( |
QWidget * |
parent = 0, |
|
|
int |
width = 0, |
|
|
int |
height = 0, |
|
|
bool |
use2dTexturing = false | |
|
) |
| | |
Member Function Documentation
| void GLWidget::deleteTextures |
( |
bool |
del1d, |
|
|
bool |
del2d, |
|
|
bool |
del3d | |
|
) |
| | [private] |
| const int GLWidget::GetNextPowerOfTwo |
( |
const int |
iNumber |
) |
[private] |
| void GLWidget::initializeGL |
( |
|
) |
[protected] |
| void GLWidget::makeMeCurrent |
( |
|
) |
[private] |
| QSize GLWidget::minimumSizeHint |
( |
|
) |
const |
| void GLWidget::paintGL |
( |
|
) |
[protected] |
| void GLWidget::resizeGL |
( |
int |
width, |
|
|
int |
height | |
|
) |
| | [protected] |
| void GLWidget::setMirrorX |
( |
bool |
isChecked |
) |
|
| void GLWidget::setMirrorY |
( |
bool |
isChecked |
) |
|
| void GLWidget::setVolume |
( |
Volume * |
vol |
) |
|
| QSize GLWidget::sizeHint |
( |
|
) |
const |
| void GLWidget::toggleTexMode |
( |
bool |
use2dTexturing |
) |
|
| void GLWidget::update1dTexture |
( |
float |
data[], |
|
|
int |
size | |
|
) |
| | [private] |
| void GLWidget::update2dTexture |
( |
|
) |
[private] |
| void GLWidget::update3dTexture |
( |
|
) |
[private] |
| void GLWidget::updateSlice |
( |
int |
sliceX, |
|
|
int |
sliceY, |
|
|
int |
sliceZ, |
|
|
bool |
modeChanged | |
|
) |
| | |
| void GLWidget::updateTransferFunc |
( |
float |
data[], |
|
|
int |
size | |
|
) |
| | |
Member Data Documentation
The documentation for this class was generated from the following files: