Public Slots | Public Member Functions

RenderingView Class Reference

Rendering view of flow data. More...

#include <renderingview.h>

List of all members.

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.

Detailed Description

Rendering view of flow data.

Definition at line 18 of file renderingview.h.


Constructor & Destructor Documentation

RenderingView::RenderingView ( Ui::MainWindow ui,
QWidget *  parent = 0 
)

Default constructor.

Parameters:
uithe main window, containing pointers to UI objects
parentparent widget

Definition at line 11 of file renderingview.cpp.

RenderingView::~RenderingView (  )

Default destructor.

Definition at line 25 of file renderingview.cpp.


Member Function Documentation

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.

Parameters:
normValuethe 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().

Parameters:
ethe 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.

Parameters:
datasetthe 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.


The documentation for this class was generated from the following files: