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

#include <Modules/Loadable/Markups/qSlicerMarkupsModuleWidget.h>

Inheritance diagram for qSlicerMarkupsModuleWidget:
Inheritance graph
[legend]
Collaboration diagram for qSlicerMarkupsModuleWidget:
Collaboration graph
[legend]

Public Types

typedef qSlicerAbstractModuleWidget Superclass
 
- Public Types inherited from qSlicerAbstractModuleRepresentation
typedef qSlicerObject Superclass
 

Public Slots

void addSelectedCoordinatesToMenu (QMenu *menu)
 Add the coordinates of the currently selected markups as strings to the given menu, then add a separator. More...
 
void checkForAnnotationFiducialConversion ()
 
void convertAnnotationFiducialsToMarkups ()
 
void copySelectedToClipboard ()
 
void cutSelectedToClipboard ()
 
QStringList getOtherMarkupNames (vtkMRMLNode *thisMarkup)
 
void onActiveMarkupMRMLNodeAdded (vtkMRMLNode *markupsNode)
 
void onActiveMarkupMRMLNodeChanged (vtkMRMLNode *markupsNode)
 Update the selection node from the combo box. More...
 
void onActiveMarkupsNodeDisplayModifiedEvent ()
 Update the display properties widgets when the display node is modified. More...
 
void onActiveMarkupsNodeLabelFormatModifiedEvent ()
 Update the format text entry from the node. More...
 
void onActiveMarkupsNodeLockModifiedEvent ()
 Enable/disable editing the table if the markups node is un/locked. More...
 
void onActiveMarkupsNodeMarkupAddedEvent (vtkObject *caller, vtkObject *callData)
 Update the table with the new markup if the node is active. More...
 
void onActiveMarkupsNodeMarkupRemovedEvent ()
 Update the table for the removed markup if the node is active. More...
 
void onActiveMarkupsNodeNthMarkupModifiedEvent (vtkObject *caller, vtkObject *callData)
 Update a table row from a modified markup. More...
 
void onActiveMarkupsNodePointModifiedEvent (vtkObject *caller, vtkObject *callData)
 
void onActiveMarkupsNodeTransformModifiedEvent ()
 Update the transform related elements of the gui when the transform node is modified. More...
 
void onActiveMarkupTableCellChanged (int row, int column)
 Update the mrml node from the table. More...
 
void onActiveMarkupTableCellClicked (QTableWidgetItem *item)
 React to clicks in the table. More...
 
void onActiveMarkupTableCurrentCellChanged (int currentRow, int currentColumn, int previousRow, int previousColumn)
 React to arrows setting the current cell. More...
 
void onAddMarkupPushButtonClicked ()
 
void onDeleteAllMarkupsInListPushButtonClicked ()
 
void onDeleteMarkupPushButtonClicked (bool confirm=true)
 
void onDeselectAllMarkupsInListPushButtonClicked ()
 
void onGlyphScaleSliderWidgetChanged (double value)
 
void onGlyphTypeComboBoxChanged (QString value)
 
void onHideCoordinateColumnsToggled (bool checked)
 update visibility of the coordinate columns in the table More...
 
void onJumpSlicesActionTriggered ()
 Jump slices action slot. More...
 
void onListLockedUnlockedPushButtonClicked ()
 Toggle the markups node locked flag. More...
 
void onListVisibileInvisiblePushButtonClicked ()
 Toggle the markups node visibility flag. More...
 
void onLockAllMarkupsInListPushButtonClicked ()
 
void onLockAllMarkupsInListToggled ()
 
void onMarkupScaleSliderWidgetValueChanged (double value)
 
void onMoveMarkupDownPushButtonClicked ()
 
void onMoveMarkupUpPushButtonClicked ()
 
void onMRMLSceneEndBatchProcessEvent ()
 
void onMRMLSceneEndCloseEvent ()
 Clear out the gui when the scene is closed. More...
 
void onMRMLSceneEndImportEvent ()
 Update the table after a scene is imported. More...
 
void onMRMLSceneEndRestoreEvent ()
 Update the table after a scene view is restored. More...
 
void onNameFormatLineEditTextEdited (const QString text)
 Update the markup label from the line edit entry. More...
 
void onNewMarkupWithCurrentDisplayPropertiesTriggered ()
 
void onNodeAddedEvent (vtkObject *scene, vtkObject *node)
 
void onNodeRemovedEvent (vtkObject *scene, vtkObject *node)
 
void onOpacitySliderWidgetChanged (double value)
 
void onPKeyActivated ()
 Respond to the p key being pressed. More...
 
void onRefocusCamerasActionTriggered ()
 Refocus cameras action slot. More...
 
void onRenameAllWithCurrentNameFormatPushButtonClicked ()
 
void onResetNameFormatToDefaultPushButtonClicked ()
 Reset the name format string and use list name to default. More...
 
void onResetToDefaultDisplayPropertiesPushButtonClicked ()
 Display property button slots. More...
 
void onRightClickActiveMarkupTableWidget (QPoint pos)
 Provide a right click menu in the table. More...
 
void onSaveToDefaultDisplayPropertiesPushButtonClicked ()
 
void onSelectAllMarkupsInListPushButtonClicked ()
 
void onSelectedAllMarkupsInListToggled ()
 
void onSelectedColorPickerButtonChanged (QColor qcolor)
 Display property slots. More...
 
void onSelectionNodeActivePlaceNodeIDChanged ()
 Update the combo box from the selection node. More...
 
void onSliceIntersectionsVisibilityToggled (bool checked)
 
void onTextScaleSliderWidgetChanged (double value)
 
void onTransformedCoordinatesToggled (bool checked)
 update the coordinates shown in the table to be either the transformed coordiantes (checked) or the untransformed coordiantes (unchecked) More...
 
void onUnlockAllMarkupsInListPushButtonClicked ()
 
void onUnselectedColorPickerButtonChanged (QColor qcolor)
 
void onVisibilityAllMarkupsInListToggled ()
 
void onVisibilityOffAllMarkupsInListPushButtonClicked ()
 
void onVisibilityOnAllMarkupsInListPushButtonClicked ()
 List button slots. More...
 
void pasteSelectedFromClipboard ()
 
void updateListVisibileInvisiblePushButton (int visibleFlag)
 Update the icon and tool tip on the list visibility button. More...
 
- Public Slots inherited from qSlicerWidget
virtual void setMRMLScene (vtkMRMLScene *scene)
 

Public Member Functions

void clearGUI ()
 Reset the GUI elements: clear out the table. More...
 
virtual void enter ()
 
virtual void exit ()
 Disconnect from scene when exiting. More...
 
void installShortcuts ()
 Manage short cuts that allow key bindings for certain functions. More...
 
vtkSlicerMarkupsLogicmarkupsLogic ()
 Get the logic in the proper class. More...
 
virtual double nodeEditable (vtkMRMLNode *node)
 
void observeMarkupsNode (vtkMRMLNode *markupsNode)
 
 qSlicerMarkupsModuleWidget (QWidget *parent=0)
 
void removeShortcuts ()
 
virtual bool setEditedNode (vtkMRMLNode *node, QString role=QString(), QString context=QString())
 Node editing. More...
 
bool sliceIntersectionsVisible ()
 
void updateLogicFromSettings ()
 Set up the logic default display settings from the application settings. More...
 
void updateMaximumScaleFromVolumes ()
 
void updateRow (int m)
 
void updateWidgetFromDisplayNode ()
 
void updateWidgetFromMRML ()
 
virtual ~qSlicerMarkupsModuleWidget ()
 
- Public Member Functions inherited from qSlicerAbstractModuleWidget
bool isEntered () const
 
 qSlicerAbstractModuleWidget (QWidget *parent=0)
 
virtual ~qSlicerAbstractModuleWidget ()
 
- Public Member Functions inherited from qSlicerWidget
 qSlicerWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~qSlicerWidget ()
 
- Public Member Functions inherited from qSlicerObject
vtkMRMLScenemrmlScene () const
 Return a pointer on the MRML scene. More...
 
 qSlicerObject ()
 
virtual void setMRMLScene (vtkMRMLScene *)
 Set the current MRML scene to the widget. More...
 
virtual ~qSlicerObject ()
 
- Public Member Functions inherited from qSlicerAbstractModuleRepresentation
qSlicerAbstractCoreModulemodule () const
 
QString moduleName () const
 Set/Get module name. More...
 
 qSlicerAbstractModuleRepresentation ()
 
virtual ~qSlicerAbstractModuleRepresentation ()
 

Protected Member Functions

virtual void setup ()
 
- Protected Member Functions inherited from qSlicerAbstractModuleRepresentation
vtkMRMLAbstractLogiclogic () const
 

Protected Attributes

QScopedPointer< qSlicerMarkupsModuleWidgetPrivate > d_ptr
 
double volumeSpacingScaleFactor
 
- Protected Attributes inherited from qSlicerAbstractModuleWidget
QScopedPointer< qSlicerAbstractModuleWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerWidget
QScopedPointer< qSlicerWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerObject
QScopedPointer< qSlicerObjectPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerAbstractModuleRepresentation
QScopedPointer< qSlicerAbstractModuleRepresentationPrivate > d_ptr
 

Additional Inherited Members

- Properties inherited from qSlicerAbstractModuleWidget
bool isEntered
 
- Signals inherited from qSlicerWidget
void mrmlSceneChanged (vtkMRMLScene *)
 

Detailed Description

Definition at line 36 of file qSlicerMarkupsModuleWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 43 of file qSlicerMarkupsModuleWidget.h.

Constructor & Destructor Documentation

◆ qSlicerMarkupsModuleWidget()

qSlicerMarkupsModuleWidget::qSlicerMarkupsModuleWidget ( QWidget *  parent = 0)

◆ ~qSlicerMarkupsModuleWidget()

virtual qSlicerMarkupsModuleWidget::~qSlicerMarkupsModuleWidget ( )
virtual

Member Function Documentation

◆ addSelectedCoordinatesToMenu

void qSlicerMarkupsModuleWidget::addSelectedCoordinatesToMenu ( QMenu *  menu)
slot

Add the coordinates of the currently selected markups as strings to the given menu, then add a separator.

◆ checkForAnnotationFiducialConversion

void qSlicerMarkupsModuleWidget::checkForAnnotationFiducialConversion ( )
slot

Called from enter and on import/add mrml events to ask if the user wishes to convert annotation fiducial hierarchies into markups list nodes.

See also
enter(), onMRMLSceneEndImportEvent(), onMRMLSceneEndBatchProcessEvent()

◆ clearGUI()

void qSlicerMarkupsModuleWidget::clearGUI ( )

Reset the GUI elements: clear out the table.

◆ convertAnnotationFiducialsToMarkups

void qSlicerMarkupsModuleWidget::convertAnnotationFiducialsToMarkups ( )
slot

Uses the Logic to do the conversion from annotation fiducials, moving them from hierarchies to Markups list nodes

◆ copySelectedToClipboard

void qSlicerMarkupsModuleWidget::copySelectedToClipboard ( )
slot

◆ cutSelectedToClipboard

void qSlicerMarkupsModuleWidget::cutSelectedToClipboard ( )
slot

◆ enter()

virtual void qSlicerMarkupsModuleWidget::enter ( )
virtual

Set up the GUI from mrml when entering

See also
updateMaximumScaleFromVolumes()

Reimplemented from qSlicerAbstractModuleWidget.

◆ exit()

virtual void qSlicerMarkupsModuleWidget::exit ( )
virtual

Disconnect from scene when exiting.

Reimplemented from qSlicerAbstractModuleWidget.

◆ getOtherMarkupNames

QStringList qSlicerMarkupsModuleWidget::getOtherMarkupNames ( vtkMRMLNode thisMarkup)
slot

Build a string list of the names of other nodes with the same class name as thisMarkup. Return an empty string list if no other markups in the scene

◆ installShortcuts()

void qSlicerMarkupsModuleWidget::installShortcuts ( )

Manage short cuts that allow key bindings for certain functions.

◆ markupsLogic()

vtkSlicerMarkupsLogic* qSlicerMarkupsModuleWidget::markupsLogic ( )

Get the logic in the proper class.

◆ nodeEditable()

virtual double qSlicerMarkupsModuleWidget::nodeEditable ( vtkMRMLNode node)
virtual

Returns a confidence value (between 0.0 and 1.0) that defines how much this widget is suitable for editing the provided node. In general value of 0.5 should be used. If the returned value is 0 then it means the node should not be attempted to set as edited node. This node has to be overridden in child classes that want to use a non-default confidence value (for example, they look into the node contents and decide based on that if the node belongs to this module).

Reimplemented from qSlicerAbstractModuleWidget.

◆ observeMarkupsNode()

void qSlicerMarkupsModuleWidget::observeMarkupsNode ( vtkMRMLNode markupsNode)

Add observations to the markups node, and remove them from other markups nodes (from all nodes if markupsNode is null)

◆ onActiveMarkupMRMLNodeAdded

void qSlicerMarkupsModuleWidget::onActiveMarkupMRMLNodeAdded ( vtkMRMLNode markupsNode)
slot

When the user clicks in the comob box to create a new markups node, make sure that a display node is added

◆ onActiveMarkupMRMLNodeChanged

void qSlicerMarkupsModuleWidget::onActiveMarkupMRMLNodeChanged ( vtkMRMLNode markupsNode)
slot

Update the selection node from the combo box.

◆ onActiveMarkupsNodeDisplayModifiedEvent

void qSlicerMarkupsModuleWidget::onActiveMarkupsNodeDisplayModifiedEvent ( )
slot

Update the display properties widgets when the display node is modified.

◆ onActiveMarkupsNodeLabelFormatModifiedEvent

void qSlicerMarkupsModuleWidget::onActiveMarkupsNodeLabelFormatModifiedEvent ( )
slot

Update the format text entry from the node.

◆ onActiveMarkupsNodeLockModifiedEvent

void qSlicerMarkupsModuleWidget::onActiveMarkupsNodeLockModifiedEvent ( )
slot

Enable/disable editing the table if the markups node is un/locked.

◆ onActiveMarkupsNodeMarkupAddedEvent

void qSlicerMarkupsModuleWidget::onActiveMarkupsNodeMarkupAddedEvent ( vtkObject *  caller,
vtkObject *  callData 
)
slot

Update the table with the new markup if the node is active.

◆ onActiveMarkupsNodeMarkupRemovedEvent

void qSlicerMarkupsModuleWidget::onActiveMarkupsNodeMarkupRemovedEvent ( )
slot

Update the table for the removed markup if the node is active.

◆ onActiveMarkupsNodeNthMarkupModifiedEvent

void qSlicerMarkupsModuleWidget::onActiveMarkupsNodeNthMarkupModifiedEvent ( vtkObject *  caller,
vtkObject *  callData 
)
slot

Update a table row from a modified markup.

◆ onActiveMarkupsNodePointModifiedEvent

void qSlicerMarkupsModuleWidget::onActiveMarkupsNodePointModifiedEvent ( vtkObject *  caller,
vtkObject *  callData 
)
slot

Update the table with the modified point information if the node is active

◆ onActiveMarkupsNodeTransformModifiedEvent

void qSlicerMarkupsModuleWidget::onActiveMarkupsNodeTransformModifiedEvent ( )
slot

Update the transform related elements of the gui when the transform node is modified.

◆ onActiveMarkupTableCellChanged

void qSlicerMarkupsModuleWidget::onActiveMarkupTableCellChanged ( int  row,
int  column 
)
slot

Update the mrml node from the table.

◆ onActiveMarkupTableCellClicked

void qSlicerMarkupsModuleWidget::onActiveMarkupTableCellClicked ( QTableWidgetItem *  item)
slot

React to clicks in the table.

◆ onActiveMarkupTableCurrentCellChanged

void qSlicerMarkupsModuleWidget::onActiveMarkupTableCurrentCellChanged ( int  currentRow,
int  currentColumn,
int  previousRow,
int  previousColumn 
)
slot

React to arrows setting the current cell.

◆ onAddMarkupPushButtonClicked

void qSlicerMarkupsModuleWidget::onAddMarkupPushButtonClicked ( )
slot

◆ onDeleteAllMarkupsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onDeleteAllMarkupsInListPushButtonClicked ( )
slot

◆ onDeleteMarkupPushButtonClicked

void qSlicerMarkupsModuleWidget::onDeleteMarkupPushButtonClicked ( bool  confirm = true)
slot

◆ onDeselectAllMarkupsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onDeselectAllMarkupsInListPushButtonClicked ( )
slot

◆ onGlyphScaleSliderWidgetChanged

void qSlicerMarkupsModuleWidget::onGlyphScaleSliderWidgetChanged ( double  value)
slot

◆ onGlyphTypeComboBoxChanged

void qSlicerMarkupsModuleWidget::onGlyphTypeComboBoxChanged ( QString  value)
slot

◆ onHideCoordinateColumnsToggled

void qSlicerMarkupsModuleWidget::onHideCoordinateColumnsToggled ( bool  checked)
slot

update visibility of the coordinate columns in the table

◆ onJumpSlicesActionTriggered

void qSlicerMarkupsModuleWidget::onJumpSlicesActionTriggered ( )
slot

Jump slices action slot.

◆ onListLockedUnlockedPushButtonClicked

void qSlicerMarkupsModuleWidget::onListLockedUnlockedPushButtonClicked ( )
slot

Toggle the markups node locked flag.

◆ onListVisibileInvisiblePushButtonClicked

void qSlicerMarkupsModuleWidget::onListVisibileInvisiblePushButtonClicked ( )
slot

Toggle the markups node visibility flag.

◆ onLockAllMarkupsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onLockAllMarkupsInListPushButtonClicked ( )
slot

◆ onLockAllMarkupsInListToggled

void qSlicerMarkupsModuleWidget::onLockAllMarkupsInListToggled ( )
slot

◆ onMarkupScaleSliderWidgetValueChanged

void qSlicerMarkupsModuleWidget::onMarkupScaleSliderWidgetValueChanged ( double  value)
slot

◆ onMoveMarkupDownPushButtonClicked

void qSlicerMarkupsModuleWidget::onMoveMarkupDownPushButtonClicked ( )
slot

◆ onMoveMarkupUpPushButtonClicked

void qSlicerMarkupsModuleWidget::onMoveMarkupUpPushButtonClicked ( )
slot

◆ onMRMLSceneEndBatchProcessEvent

void qSlicerMarkupsModuleWidget::onMRMLSceneEndBatchProcessEvent ( )
slot

Update the table after batch processing is done, needed to trigger an update after a markups file is read in

◆ onMRMLSceneEndCloseEvent

void qSlicerMarkupsModuleWidget::onMRMLSceneEndCloseEvent ( )
slot

Clear out the gui when the scene is closed.

◆ onMRMLSceneEndImportEvent

void qSlicerMarkupsModuleWidget::onMRMLSceneEndImportEvent ( )
slot

Update the table after a scene is imported.

◆ onMRMLSceneEndRestoreEvent

void qSlicerMarkupsModuleWidget::onMRMLSceneEndRestoreEvent ( )
slot

Update the table after a scene view is restored.

◆ onNameFormatLineEditTextEdited

void qSlicerMarkupsModuleWidget::onNameFormatLineEditTextEdited ( const QString  text)
slot

Update the markup label from the line edit entry.

◆ onNewMarkupWithCurrentDisplayPropertiesTriggered

void qSlicerMarkupsModuleWidget::onNewMarkupWithCurrentDisplayPropertiesTriggered ( )
slot

Create a new markups node and copy the display node settings from the current markups node if set, otherwise just uses the defaults.

◆ onNodeAddedEvent

void qSlicerMarkupsModuleWidget::onNodeAddedEvent ( vtkObject *  scene,
vtkObject *  node 
)
slot

Respond to the scene events when a markups node is added, make it the active one in the combo box

◆ onNodeRemovedEvent

void qSlicerMarkupsModuleWidget::onNodeRemovedEvent ( vtkObject *  scene,
vtkObject *  node 
)
slot

When a node is removed and it is the last one in the scene, clear out the gui - the node combo box will signal that a remaining node has been selected and the GUI will update separately in that case

◆ onOpacitySliderWidgetChanged

void qSlicerMarkupsModuleWidget::onOpacitySliderWidgetChanged ( double  value)
slot

◆ onPKeyActivated

void qSlicerMarkupsModuleWidget::onPKeyActivated ( )
slot

Respond to the p key being pressed.

◆ onRefocusCamerasActionTriggered

void qSlicerMarkupsModuleWidget::onRefocusCamerasActionTriggered ( )
slot

Refocus cameras action slot.

◆ onRenameAllWithCurrentNameFormatPushButtonClicked

void qSlicerMarkupsModuleWidget::onRenameAllWithCurrentNameFormatPushButtonClicked ( )
slot

Iterate over the markups in the currently active list and rename them using the current name format. Attempts to preserve any numbers already present.

◆ onResetNameFormatToDefaultPushButtonClicked

void qSlicerMarkupsModuleWidget::onResetNameFormatToDefaultPushButtonClicked ( )
slot

Reset the name format string and use list name to default.

◆ onResetToDefaultDisplayPropertiesPushButtonClicked

void qSlicerMarkupsModuleWidget::onResetToDefaultDisplayPropertiesPushButtonClicked ( )
slot

Display property button slots.

◆ onRightClickActiveMarkupTableWidget

void qSlicerMarkupsModuleWidget::onRightClickActiveMarkupTableWidget ( QPoint  pos)
slot

Provide a right click menu in the table.

◆ onSaveToDefaultDisplayPropertiesPushButtonClicked

void qSlicerMarkupsModuleWidget::onSaveToDefaultDisplayPropertiesPushButtonClicked ( )
slot

◆ onSelectAllMarkupsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onSelectAllMarkupsInListPushButtonClicked ( )
slot

◆ onSelectedAllMarkupsInListToggled

void qSlicerMarkupsModuleWidget::onSelectedAllMarkupsInListToggled ( )
slot

◆ onSelectedColorPickerButtonChanged

void qSlicerMarkupsModuleWidget::onSelectedColorPickerButtonChanged ( QColor  qcolor)
slot

Display property slots.

◆ onSelectionNodeActivePlaceNodeIDChanged

void qSlicerMarkupsModuleWidget::onSelectionNodeActivePlaceNodeIDChanged ( )
slot

Update the combo box from the selection node.

◆ onSliceIntersectionsVisibilityToggled

void qSlicerMarkupsModuleWidget::onSliceIntersectionsVisibilityToggled ( bool  checked)
slot

Update the slice intersection visibility on all the slice composite nodes in the scene

See also
sliceIntersectionsVisible()

◆ onTextScaleSliderWidgetChanged

void qSlicerMarkupsModuleWidget::onTextScaleSliderWidgetChanged ( double  value)
slot

◆ onTransformedCoordinatesToggled

void qSlicerMarkupsModuleWidget::onTransformedCoordinatesToggled ( bool  checked)
slot

update the coordinates shown in the table to be either the transformed coordiantes (checked) or the untransformed coordiantes (unchecked)

◆ onUnlockAllMarkupsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onUnlockAllMarkupsInListPushButtonClicked ( )
slot

◆ onUnselectedColorPickerButtonChanged

void qSlicerMarkupsModuleWidget::onUnselectedColorPickerButtonChanged ( QColor  qcolor)
slot

◆ onVisibilityAllMarkupsInListToggled

void qSlicerMarkupsModuleWidget::onVisibilityAllMarkupsInListToggled ( )
slot

◆ onVisibilityOffAllMarkupsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onVisibilityOffAllMarkupsInListPushButtonClicked ( )
slot

◆ onVisibilityOnAllMarkupsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onVisibilityOnAllMarkupsInListPushButtonClicked ( )
slot

List button slots.

◆ pasteSelectedFromClipboard

void qSlicerMarkupsModuleWidget::pasteSelectedFromClipboard ( )
slot

◆ removeShortcuts()

void qSlicerMarkupsModuleWidget::removeShortcuts ( )

◆ setEditedNode()

virtual bool qSlicerMarkupsModuleWidget::setEditedNode ( vtkMRMLNode node,
QString  role = QString(),
QString  context = QString() 
)
virtual

Node editing.

Reimplemented from qSlicerAbstractModuleWidget.

◆ setup()

virtual void qSlicerMarkupsModuleWidget::setup ( )
protectedvirtual

All initialization code (typically setupUi()) must be done in setup() The module and the logic are accessible.

Reimplemented from qSlicerAbstractModuleWidget.

◆ sliceIntersectionsVisible()

bool qSlicerMarkupsModuleWidget::sliceIntersectionsVisible ( )

Query the logic as to the state of the slice intersection visibility on the slice composite nodes

◆ updateListVisibileInvisiblePushButton

void qSlicerMarkupsModuleWidget::updateListVisibileInvisiblePushButton ( int  visibleFlag)
slot

Update the icon and tool tip on the list visibility button.

◆ updateLogicFromSettings()

void qSlicerMarkupsModuleWidget::updateLogicFromSettings ( )

Set up the logic default display settings from the application settings.

◆ updateMaximumScaleFromVolumes()

void qSlicerMarkupsModuleWidget::updateMaximumScaleFromVolumes ( )

Check Red volume slice spacing to make sure that the glyph and text scale slider maximums allow the glyphs to be scaled so that they can be shown on volumes with spacing larger than the default. Find the maximum background volume spacing and multiply it by the volume spacing scale facotr

See also
volumeSpacingScaleFactor

◆ updateRow()

void qSlicerMarkupsModuleWidget::updateRow ( int  m)

Refresh a row of the gui from the mth markup in the currently active markup node as defined by the selection node combo box

◆ updateWidgetFromDisplayNode()

void qSlicerMarkupsModuleWidget::updateWidgetFromDisplayNode ( )

Update the GUI elements related to the display properties from MRML, by getting the display node associated with the active markups node.

See also
updateWidgetFromMRML()

◆ updateWidgetFromMRML()

void qSlicerMarkupsModuleWidget::updateWidgetFromMRML ( )

Refresh the gui from the currently active markup node as determined by the selection node

See also
updateWidgetFromDisplayNode()

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerMarkupsModuleWidgetPrivate> qSlicerMarkupsModuleWidget::d_ptr
protected

Definition at line 241 of file qSlicerMarkupsModuleWidget.h.

◆ volumeSpacingScaleFactor

double qSlicerMarkupsModuleWidget::volumeSpacingScaleFactor
protected

A multiplication factor to apply to the maximum volume slice spacing when determining what the maximum value for the scale sliders should be.

See also
updateMaximumScaleFromVolumes Default: 10.0

Definition at line 248 of file qSlicerMarkupsModuleWidget.h.


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