#include <FlowScene.h>
Public Member Functions | |
FlowScene (QWidget *parent) | |
virtual | ~FlowScene (void) |
void | setFlowDataRef (FlowData *flowData) |
Public Attributes | |
ArrowPlot | arrowPlot |
ColorCoding | colorCoding |
Streamlines | streamlines |
Protected Member Functions | |
void | drawForeground (QPainter *painter, const QRectF &rect) |
bool | drawArrowPlot () |
void | setupGLScene (const QRectF &rect) |
void | mousePressEvent (QGraphicsSceneMouseEvent *e) |
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *e) |
void | mouseMoveEvent (QGraphicsSceneMouseEvent *e) |
void | wheelEvent (QGraphicsSceneWheelEvent *e) |
Private Attributes | |
int | m_sceneWidth |
int | m_sceneHeight |
FlowData * | m_flowData |
bool | m_buttonDown |
float | m_zDistance |
QPointF | m_pos |
FlowScene::FlowScene | ( | QWidget * | parent | ) |
FlowScene::~FlowScene | ( | void | ) | [virtual] |
bool FlowScene::drawArrowPlot | ( | ) | [protected] |
void FlowScene::drawForeground | ( | QPainter * | painter, | |
const QRectF & | rect | |||
) | [protected] |
void FlowScene::mouseMoveEvent | ( | QGraphicsSceneMouseEvent * | e | ) | [protected] |
Method called when mouse is moved, allows to move in the scene
e | QGraphicsSceneMouseEvent |
void FlowScene::mousePressEvent | ( | QGraphicsSceneMouseEvent * | e | ) | [protected] |
Called when mousebutton is pressed
e | QGraphicsSceneMouseEvent |
void FlowScene::mouseReleaseEvent | ( | QGraphicsSceneMouseEvent * | e | ) | [protected] |
Called when mousebutton is released
e | QGraphicsSceneMouseEvent |
void FlowScene::setFlowDataRef | ( | FlowData * | flowData | ) |
void FlowScene::setupGLScene | ( | const QRectF & | rect | ) | [protected] |
void FlowScene::wheelEvent | ( | QGraphicsSceneWheelEvent * | e | ) | [protected] |
Method called when mousewheel is moved, is used to zoom into the scene
e | QGraphicsSceneMouseEvent |
bool FlowScene::m_buttonDown [private] |
FlowData* FlowScene::m_flowData [private] |
QPointF FlowScene::m_pos [private] |
int FlowScene::m_sceneHeight [private] |
int FlowScene::m_sceneWidth [private] |
float FlowScene::m_zDistance [private] |