Slicer
5.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Libs/MRML/Widgets/qMRMLScalarInvariantComboBox.h>
Properties | |
int | scalarInvariant |
Public Slots | |
void | setDisplayPropertiesNode (vtkMRMLDiffusionTensorDisplayPropertiesNode *node) |
void | setDisplayPropertiesNode (vtkMRMLNode *node) |
Utility function to be connected with generic signals. More... | |
void | setScalarInvariant (int value) |
Signals | |
void | scalarInvariantChanged (int scalarInvariant) |
Public Member Functions | |
vtkMRMLDiffusionTensorDisplayPropertiesNode * | displayPropertiesNode () const |
Return the optionally set display properties node set. More... | |
qMRMLScalarInvariantComboBox (QWidget *parent=nullptr) | |
int | scalarInvariant () const |
Returns the currently selected scalar invariant. More... | |
~qMRMLScalarInvariantComboBox () override | |
Protected Slots | |
void | onCurrentScalarInvariantChanged (int index) |
void | updateWidgetFromMRML () |
Protected Attributes | |
QScopedPointer< qMRMLScalarInvariantComboBoxPrivate > | d_ptr |
Combobox to select a function to compute a scalar from a diffusion tensor. If an optional display properties node is provided, its ColorGlyphBy property is automatically synchronized with the combobox entree.
Definition at line 40 of file qMRMLScalarInvariantComboBox.h.
|
readwrite |
Definition at line 44 of file qMRMLScalarInvariantComboBox.h.
qMRMLScalarInvariantComboBox::qMRMLScalarInvariantComboBox | ( | QWidget * | parent = nullptr | ) |
|
override |
vtkMRMLDiffusionTensorDisplayPropertiesNode* qMRMLScalarInvariantComboBox::displayPropertiesNode | ( | ) | const |
Return the optionally set display properties node set.
|
protectedslot |
int qMRMLScalarInvariantComboBox::scalarInvariant | ( | ) | const |
Returns the currently selected scalar invariant.
|
signal |
Fired anytime the scalar invariant is changed (by the user, programmatically or via the node)
|
slot |
Set the volume node properties to synchronize the combobox with. It listens to the ColorGlyphBy property (not ScalarInvariant). If the property is externally modified, the combobox is updated with the new value, on the other hand, if the user graphically select a new menu entry, the node will be updated with the user choice.
|
slot |
Utility function to be connected with generic signals.
|
slot |
Set the combobox entry to the new scalar invariant value. If a display properties node is set, it sets to the value to the node.
|
protectedslot |
|
protected |
Definition at line 81 of file qMRMLScalarInvariantComboBox.h.