Slicer  5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Properties | Public Slots | Signals | Public Member Functions | Protected Slots | Protected Attributes
qMRMLScalarInvariantComboBox Class Reference

#include <Libs/MRML/Widgets/qMRMLScalarInvariantComboBox.h>

Inheritance diagram for qMRMLScalarInvariantComboBox:
Inheritance graph
Collaboration diagram for qMRMLScalarInvariantComboBox:
Collaboration graph


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)


void scalarInvariantChanged (int scalarInvariant)

Public Member Functions

vtkMRMLDiffusionTensorDisplayPropertiesNodedisplayPropertiesNode () 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

Detailed Description

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.

Property Documentation

◆ scalarInvariant

int qMRMLScalarInvariantComboBox::scalarInvariant

Definition at line 44 of file qMRMLScalarInvariantComboBox.h.

Constructor & Destructor Documentation

◆ qMRMLScalarInvariantComboBox()

qMRMLScalarInvariantComboBox::qMRMLScalarInvariantComboBox ( QWidget *  parent = nullptr)

◆ ~qMRMLScalarInvariantComboBox()

qMRMLScalarInvariantComboBox::~qMRMLScalarInvariantComboBox ( )

Member Function Documentation

◆ displayPropertiesNode()

vtkMRMLDiffusionTensorDisplayPropertiesNode* qMRMLScalarInvariantComboBox::displayPropertiesNode ( ) const

Return the optionally set display properties node set.

◆ onCurrentScalarInvariantChanged

void qMRMLScalarInvariantComboBox::onCurrentScalarInvariantChanged ( int  index)

◆ scalarInvariant()

int qMRMLScalarInvariantComboBox::scalarInvariant ( ) const

Returns the currently selected scalar invariant.

◆ scalarInvariantChanged

void qMRMLScalarInvariantComboBox::scalarInvariantChanged ( int  scalarInvariant)

Fired anytime the scalar invariant is changed (by the user, programmatically or via the node)

◆ setDisplayPropertiesNode [1/2]

void qMRMLScalarInvariantComboBox::setDisplayPropertiesNode ( vtkMRMLDiffusionTensorDisplayPropertiesNode node)

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.

◆ setDisplayPropertiesNode [2/2]

void qMRMLScalarInvariantComboBox::setDisplayPropertiesNode ( vtkMRMLNode node)

Utility function to be connected with generic signals.

◆ setScalarInvariant

void qMRMLScalarInvariantComboBox::setScalarInvariant ( int  value)

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.

◆ updateWidgetFromMRML

void qMRMLScalarInvariantComboBox::updateWidgetFromMRML ( )

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLScalarInvariantComboBoxPrivate> qMRMLScalarInvariantComboBox::d_ptr

Definition at line 81 of file qMRMLScalarInvariantComboBox.h.

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