List of all members.
Constructor & Destructor Documentation
| OpenGLWidget::OpenGLWidget |
( |
QWidget * |
parent = 0 | ) |
|
The constructor for the OpenGlWidget.
| OpenGLWidget::~OpenGLWidget |
( |
| ) |
|
The destructor for the OpenGlWidget.
Member Function Documentation
| void OpenGLWidget::changeIsoSurface |
( |
float |
val | ) |
|
|
slot |
Changed the Isovalue to the given parameter.
| void OpenGLWidget::generateTransferTexture |
( |
float * |
rgbaValues, |
|
|
int |
textureSize, |
|
|
int |
type |
|
) |
| |
|
slot |
Generates a 1D texture for the gives RGBA values.
- Parameters:
-
| rgbaValues | The RGBA values for the texture. |
| textureSize | The size of the texture. |
| void OpenGLWidget::initializeGL |
( |
| ) |
|
|
protected |
Initialize GLEW and sets up an OpenGL 3.2 context.
| void OpenGLWidget::initSliceTexture |
( |
| ) |
|
|
slot |
Generates a texture from the current volume.
| void OpenGLWidget::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
Handles the mouseMoveEvent.
| void OpenGLWidget::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
Handles the mousePressEvents.
| void OpenGLWidget::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
Handles the mouseReleaseEvent.
| void OpenGLWidget::paintGL |
( |
| ) |
|
|
protected |
| void OpenGLWidget::resetTransferTexture |
( |
| ) |
|
|
slot |
Deletes the current transfer texture.
| void OpenGLWidget::resizeGL |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
protected |
Sets the new viewport an updates the projection matrix.
- Parameters:
-
| width | The new width of the window, measured in pixel. |
| height | The new height of the window, measured in pixel. |
| void OpenGLWidget::setAdaptive |
( |
bool |
active | ) |
|
|
slot |
Activates or deactivates adaptive - Stepsize according to the given parameter.
- Parameters:
-
| active | True to activate adaptive Stepsize otherwise false. |
| void OpenGLWidget::setAverage |
( |
bool |
active | ) |
|
|
slot |
Activates or deactivates X-Ray (averaging) according to the given parameter.
- Parameters:
-
| active | True to activates X-Ray (averaging) otherwise false. |
| void OpenGLWidget::setCompositing |
( |
bool |
active | ) |
|
|
slot |
Activates or deactivates compositing according to the given parameter.
- Parameters:
-
| active | True to activates compositing otherwise false. |
| void OpenGLWidget::setLight |
( |
bool |
active | ) |
|
|
slot |
Activates or deactivates the light according to the given parameter.
- Parameters:
-
| active | True to activates the light otherwise false. |
| void OpenGLWidget::setMip |
( |
bool |
active | ) |
|
|
slot |
Activates or deactivates the maximum intensity projection according to the given parameter.
- Parameters:
-
| active | True to activates the maximum intensity projection otherwise false. |
| void OpenGLWidget::setPerspective |
( |
int |
tabIndex | ) |
|
|
slot |
Sets the perspective according to the given Parameter.
- Parameters:
-
| tabIndex | The index of the current tab. |
| void OpenGLWidget::setPhong |
( |
bool |
active | ) |
|
|
slot |
Activates or deactivates the specular light according to the given parameter.
- Parameters:
-
| active | True to activates the specular light otherwise false. |
| void OpenGLWidget::setStepSize |
( |
double |
step | ) |
|
|
slot |
Changed the Stepsize to the given parameter.
| void OpenGLWidget::setXClipping |
( |
int |
x | ) |
|
|
slot |
Sets the x-coordinate for clipping.
- Parameters:
-
| void OpenGLWidget::setXSlicing |
( |
int |
x | ) |
|
|
slot |
Sets the x-coordinate for the slice.
- Parameters:
-
| x | The x-coordinate of the slice. |
| void OpenGLWidget::setYClipping |
( |
int |
y | ) |
|
|
slot |
Sets the y-coordinate for clipping.
- Parameters:
-
| void OpenGLWidget::setYSlicing |
( |
int |
y | ) |
|
|
slot |
Sets the y-coordinate for the slice.
- Parameters:
-
| y | The y-coordinate of the slice. |
| void OpenGLWidget::setZClipping |
( |
int |
z | ) |
|
|
slot |
Sets the z coordinate for clipping.
- Parameters:
-
| void OpenGLWidget::setZSlicing |
( |
int |
z | ) |
|
|
slot |
Sets the z coordinate for the slice.
- Parameters:
-
| z | The z-coordinate of the slice. |
| void OpenGLWidget::valuesUpdated |
( |
glm::vec2 * |
t, |
|
|
int |
s |
|
) |
| |
|
signal |
TF changed
- Parameters:
-
| t | .. t value |
| s | ... scalar value |
| void OpenGLWidget::wheelEvent |
( |
QWheelEvent * |
event | ) |
|
|
protected |
The documentation for this class was generated from the following files: