MyGLWidget Class Reference
#include <MyGLWidget.h>
List of all members.
Detailed Description
Widget for drawing OpenGL-related stuff
Member Enumeration Documentation
Constructor & Destructor Documentation
MyGLWidget::MyGLWidget |
( |
QWidget * |
parent = 0 |
) |
|
MyGLWidget::~MyGLWidget |
( |
|
) |
|
Member Function Documentation
void MyGLWidget::initializeGL |
( |
|
) |
[protected] |
QSize MyGLWidget::minimumSizeHint |
( |
|
) |
const |
Returns a hint for the minimum size of the widget
- Returns:
- hint for the minimum size of the widget
void MyGLWidget::mouseMoveEvent |
( |
QMouseEvent * |
event |
) |
[protected] |
Is called when the mouse is moved on the widget
- Parameters:
-
void MyGLWidget::mousePressEvent |
( |
QMouseEvent * |
event |
) |
[protected] |
Is called when a mouse click is on the widget
- Parameters:
-
| event | the mouse click event |
void MyGLWidget::mouseReleaseEvent |
( |
QMouseEvent * |
event |
) |
[protected] |
Is called when the mouse button is released on the widget
- Parameters:
-
void MyGLWidget::paintGL |
( |
|
) |
[protected] |
void MyGLWidget::renderBalloonTree |
( |
|
) |
[protected] |
void MyGLWidget::renderRadialTree |
( |
|
) |
[protected] |
void MyGLWidget::renderRootedTree |
( |
|
) |
[protected] |
void MyGLWidget::resizeGL |
( |
int |
width, |
|
|
int |
height | |
|
) |
| | [protected] |
Is called when the size of the widget changes
- Parameters:
-
| width | the new width |
| height | the new height |
void MyGLWidget::setBundlingStrength |
( |
int |
value |
) |
[slot] |
Sets the bundling strength
- Parameters:
-
| value | the bundling strength |
void MyGLWidget::setCircleVisability |
( |
int |
state |
) |
[slot] |
Sets a boolean value indicating whether the hierarchy circles are rendered or not
- Parameters:
-
| state | boolean value indicating whether the hierarchy circles are rendered or not |
void MyGLWidget::setDataSet |
( |
DataSet * |
_dataSet |
) |
|
Sets the pointer to the dataset object
- Parameters:
-
| _dataSet | pointer to the dataset object |
void MyGLWidget::setLcaRemoval |
( |
int |
state |
) |
[slot] |
Sets a boolean value indicating whether the LCA is removed or not
- Parameters:
-
| state | boolean value indicating whether the LCA is removed or not |
void MyGLWidget::setLineVisability |
( |
int |
state |
) |
[slot] |
Sets a boolean value indicating whether the hierarchy lines are rendered or not
- Parameters:
-
| state | boolean value indicating whether the hierarchy lines are rendered or not |
void MyGLWidget::setNodeVisability |
( |
int |
state |
) |
[slot] |
Sets a boolean value indicating whether the nodes are rendered or not
- Parameters:
-
| state | boolean value indicating whether the nodes are rendered or not |
void MyGLWidget::setRelationVisability |
( |
int |
state |
) |
[slot] |
Sets a boolean value indicating whether the relations (B-Splines) are rendered or not
- Parameters:
-
| state | boolean value indicating whether the relations (B-Splines) are rendered or not |
void MyGLWidget::setTreeStyleBalloon |
( |
|
) |
[slot] |
Sets the tree style to be balloon
void MyGLWidget::setTreeStyleRadial |
( |
|
) |
[slot] |
Sets the tree style to be radial
void MyGLWidget::setTreeStyleRooted |
( |
|
) |
[slot] |
Sets the tree style to be rooted
QSize MyGLWidget::sizeHint |
( |
|
) |
const |
Returns a hint for the size of the widget
- Returns:
- hint for the size of the widget
void MyGLWidget::useTransparency |
( |
int |
state |
) |
[slot] |
Sets a boolean value indicating whether transparency is used or not
- Parameters:
-
| state | boolean value indicating whether transparency is used or not |
void MyGLWidget::wheelEvent |
( |
QWheelEvent * |
event |
) |
[protected] |
Is called when the mouse wheel is moved while the curser is on the widget
- Parameters:
-
| event | the mouse wheel event |
Member Data Documentation
Pointer to the camera object
The diameter of the nodes in the trees
Enumeration value that indicates the tree style that is rendered
The documentation for this class was generated from the following files:
- Hierarchical_Edge_Bundles/Hierarchical_Edge_Bundles/header/MyGLWidget.h
- Hierarchical_Edge_Bundles/Hierarchical_Edge_Bundles/src/MyGLWidget.cpp