Rendering view of flow data. More...
#include <renderingview.h>
Public Slots | |
void | updateDerivedChannels () |
Recalculates derived channels (currently only vector length) from data set. | |
void | updateColorCoding () |
Causes color coding image plane to be redrawn. | |
void | updateArrowPlot () |
Causes arrow plot image plane to be redrawn. | |
void | updateStreamlines () |
Causes streamlines image plane to be redrawn. | |
Public Member Functions | |
RenderingView (Ui::MainWindow *ui, QWidget *parent=0) | |
Default constructor. | |
~RenderingView () | |
Default destructor. | |
void | paintEvent (QPaintEvent *e) |
Invoked when the widget should redraw itself. Redraws the widget using paint(). | |
QSize | minimumSizeHint () const |
QSize | sizeHint () const |
void | setDataset (FlowData *dataset) |
Changes the data set that is to be displayed. | |
QRgb | normValueToRGB (float normValue) |
Maps a normalized value to an ARGB color. The gradient used depends on the value of the gradient combo box. |
Rendering view of flow data.
Definition at line 18 of file renderingview.h.
RenderingView::RenderingView | ( | Ui::MainWindow * | ui, |
QWidget * | parent = 0 |
||
) |
Default constructor.
ui | the main window, containing pointers to UI objects |
parent | parent widget |
Definition at line 11 of file renderingview.cpp.
RenderingView::~RenderingView | ( | ) |
Default destructor.
Definition at line 25 of file renderingview.cpp.
QSize RenderingView::minimumSizeHint | ( | ) | const |
Definition at line 78 of file renderingview.cpp.
QRgb RenderingView::normValueToRGB | ( | float | normValue ) |
Maps a normalized value to an ARGB color. The gradient used depends on the value of the gradient combo box.
normValue | the value to map |
Definition at line 88 of file renderingview.cpp.
void RenderingView::paintEvent | ( | QPaintEvent * | e ) |
Invoked when the widget should redraw itself. Redraws the widget using paint().
e | the event causing the widget to redraw itself |
Definition at line 111 of file renderingview.cpp.
void RenderingView::setDataset | ( | FlowData * | dataset ) |
Changes the data set that is to be displayed.
dataset | the data set to display |
Definition at line 30 of file renderingview.cpp.
QSize RenderingView::sizeHint | ( | ) | const |
Definition at line 83 of file renderingview.cpp.
void RenderingView::updateArrowPlot | ( | ) | [slot] |
Causes arrow plot image plane to be redrawn.
Definition at line 64 of file renderingview.cpp.
void RenderingView::updateColorCoding | ( | ) | [slot] |
Causes color coding image plane to be redrawn.
Definition at line 58 of file renderingview.cpp.
void RenderingView::updateDerivedChannels | ( | ) | [slot] |
Recalculates derived channels (currently only vector length) from data set.
Definition at line 41 of file renderingview.cpp.
void RenderingView::updateStreamlines | ( | ) | [slot] |
Causes streamlines image plane to be redrawn.
Definition at line 70 of file renderingview.cpp.