#include <VectorVisualizationWidget.h>

The subclass is templated, allowing access to the DataType. Currently, VectorVis is the only possible DataType
Protected Attributes | |
| const DataType * | vectorData |
| int | subsampleXY |
| int | subsampleZ |
| int | shapeScale |
| bool | rgb |
| bool | shape |
Protected Attributes inherited from sofa::gui::qt::VectorVisSettings | |
| QWidget * | widget |
Public Member Functions | |
| TVectorVisSettings (QWidget *parent) | |
| ~TVectorVisSettings () override | |
| void | readFromData (const DataType &d0) |
| void | writeToData (DataType &d) |
| void | updateGUI () |
| void | shapeFromOptions (bool vis) override |
| void | rgbFromOptions (bool _rgb) override |
| void | subsampleXYFromOptions (int subsample) override |
| void | subsampleZFromOptions (int subsample) override |
| void | shapeScaleFromOptions (int scale) override |
Public Member Functions inherited from sofa::gui::qt::VectorVisSettings | |
| ~VectorVisSettings () override | |
| QWidget * | getWidget () |
Additional Inherited Members | |
Signals inherited from sofa::gui::qt::VectorVisSettings | |
| void | settingsModified () |
| void | updateRgb (bool) |
| void | updateSubsampleXY (int) |
| void | updateSubsampleZ (int) |
| void | updateShapeScale (int) |
| void | updateShape (bool) |
|
protected |
When true, a 3 channel image is displayed as an RGB image. When false, the image is displayed in greyscale, with the value being the norm of the 3 channels.
|
protected |
When true, a shape is drawn representing the data. In a 3 channel image, that shape is an arrow, and in a 6 channel image, the shape is an ellipsoid.
|
protected |
The size of the shape is multiplied by this value before it is drawn.
|
protected |
One shape is drawn every subsampleXY values in both the X plane and the Y plane. So, as subsampleXY is increased, the density of the shapes decreases.
|
protected |
One shape is drawn every subsampleZ values in Z plane. So, as subsampleZ is increased, the density of the shapes decreases.
|
protected |
|
inline |
|
inlineoverride |
|
inline |
When the Data<VectorVis> in the ImageViewer is changed, this gets called.
|
inlineoverridevirtual |
Implements sofa::gui::qt::VectorVisSettings.
|
inlineoverridevirtual |
Implements sofa::gui::qt::VectorVisSettings.
|
inlineoverridevirtual |
Implements sofa::gui::qt::VectorVisSettings.
|
inlineoverridevirtual |
Implements sofa::gui::qt::VectorVisSettings.
|
inlineoverridevirtual |
Implements sofa::gui::qt::VectorVisSettings.
|
inline |
Sends a signal and the appropriate information to the widget so that it can reflect the current settings.
|
inline |
This changes the data in Data<VectorVis> in the ImageViewer