Slicer  5.2
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 ()
 
void enableMarkupTableButtons (bool enable)
 
QStringList getOtherMarkupNames (vtkMRMLNode *thisMarkup)
 
void observeMeasurementsInCurrentMarkupsNode ()
 Make sure all measurements in the current markups node are observed. More...
 
void onActiveMarkupItemChanged (vtkIdType)
 Update the selection node from the tree view. More...
 
void onActiveMarkupMRMLNodeAdded (vtkMRMLNode *markupsNode)
 
void onActiveMarkupMRMLNodeChanged (vtkMRMLNode *markupsNode)
 
void onActiveMarkupsNodeDisplayModifiedEvent ()
 Update the display properties widgets when the display node is modified. More...
 
void onActiveMarkupsNodeModifiedEvent ()
 Update table when markups node is modified. More...
 
void onActiveMarkupsNodePointAddedEvent ()
 Update the table with the new point information if the node is active. More...
 
void onActiveMarkupsNodePointModifiedEvent (vtkObject *caller, void *callData)
 Update the table with the modified point information if the node is active. More...
 
void onActiveMarkupsNodePointRemovedEvent (vtkObject *caller, void *callData)
 Update the table for the removed point if the node is active. More...
 
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 onAddControlPointPushButtonClicked ()
 
void onColorLegendCollapsibleGroupBoxToggled (bool)
 Create or get first color legend if group box is expanded. More...
 
void onCreateMarkupByClass (const QString &className)
 Create markups node by class. More...
 
void onCreateMarkupsPushButtons ()
 Update set of create markups push buttons. More...
 
void onDeleteAllControlPointsInListPushButtonClicked ()
 
void onDeleteControlPointPushButtonClicked (bool confirm=true)
 
void onDeselectAllControlPointsInListPushButtonClicked ()
 
void onFixedNumberOfControlPointsPushButtonClicked ()
 Toggle the markups node control point number locked flag. More...
 
void onHideCoordinateColumnsToggled (int index)
 update visibility of the coordinate columns in the table More...
 
void onImportExportApply ()
 
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 onLockAllControlPointsInListPushButtonClicked ()
 
void onLockAllControlPointsInListToggled ()
 
void onMeasurementEnabledCheckboxToggled (bool on)
 Enable/disable measurement when an enable checkbox has been toggled. More...
 
void onMeasurementModified (vtkObject *caller)
 Update measurement information on GUI when a measurement is modified. More...
 
void onMeasurementsCollectionModified ()
 Update observations on measurements when their container is modified (i.e. measurement added or removed) More...
 
void onMissingControlPointPushButtonClicked ()
 
void onMoveControlPointDownPushButtonClicked ()
 
void onMoveControlPointUpPushButtonClicked ()
 
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 onPKeyActivated ()
 Respond to the p key being pressed. More...
 
void onRefocusCamerasActionTriggered ()
 Refocus cameras action slot. More...
 
void onRenameAllWithCurrentNameFormatPushButtonClicked ()
 
void onResetControlPointPushButtonClicked ()
 
void onResetNameFormatToDefaultPushButtonClicked ()
 Reset the name format string and use list name to default. More...
 
void onResetToDefaultDisplayPropertiesPushButtonClicked ()
 Display property button slots. More...
 
void onRestoreControlPointPushButtonClicked ()
 
void onRightClickActiveMarkupTableWidget (QPoint pos)
 Provide a right click menu in the table. More...
 
void onSaveToDefaultDisplayPropertiesPushButtonClicked ()
 
void onSelectAllControlPointsInListPushButtonClicked ()
 
void onSelectedAllControlPointsInListToggled ()
 
void onSelectionNodeActivePlaceNodeIDChanged ()
 Update the combo box from the selection node. More...
 
void onSliceIntersectionsVisibilityToggled (bool checked)
 
void onTransformedCoordinatesToggled (bool checked)
 update the coordinates shown in the table to be either the transformed coordinates (checked) or the untransformed coordinates (unchecked) More...
 
void onUnlockAllControlPointsInListPushButtonClicked ()
 
void onUnsetControlPointPushButtonClicked ()
 
void onUpdateMarkupsOptionsWidgets ()
 Update internal list of markups options widgets from qMRMLMarkupsOptionsWidgetsFactory. More...
 
void onVisibilityAllControlPointsInListToggled ()
 
void onVisibilityOffAllControlPointsInListPushButtonClicked ()
 
void onVisibilityOnAllControlPointsInListPushButtonClicked ()
 List button slots. More...
 
void onVisibilityOnAllMarkupsInListPushButtonClicked ()
 
void pasteSelectedFromClipboard ()
 
void populateMeasurementSettingsTable ()
 Populate measurement settings frame from the available measurements in the current markup. More...
 
void updateImportExportWidgets ()
 
void updateMeasurementsDescriptionLabel ()
 Update measurements description label. More...
 
- Public Slots inherited from qSlicerWidget
void setMRMLScene (vtkMRMLScene *scene) override
 

Public Member Functions

QList< qMRMLMarkupsOptionsWidget * > & additionalWidgets ()
 
QStringList & associatedMarkups ()
 
void enter () override
 
void exit () override
 Disconnect from scene when exiting. More...
 
vtkSlicerMarkupsLogicmarkupsLogic ()
 Get the logic in the proper class. More...
 
vtkMRMLMarkupsNodemrmlMarkupsNode ()
 Get currently selected markups node. More...
 
double nodeEditable (vtkMRMLNode *node) override
 
void onAddMarkupPushButtonClicked ()
 
void onDeleteAllMarkupsInListPushButtonClicked ()
 
void onDeleteMarkupPushButtonClicked (bool confirm=true)
 
void onDeselectAllMarkupsInListPushButtonClicked ()
 
void onLockAllMarkupsInListPushButtonClicked ()
 
void onLockAllMarkupsInListToggled ()
 
void onMissingMarkupPushButtonClicked ()
 
void onMoveMarkupDownPushButtonClicked ()
 
void onMoveMarkupUpPushButtonClicked ()
 
void onResetMarkupPushButtonClicked ()
 
void onRestoreMarkupPushButtonClicked ()
 
void onSelectAllMarkupsInListPushButtonClicked ()
 
void onSelectedAllMarkupsInListToggled ()
 
void onUnlockAllMarkupsInListPushButtonClicked ()
 
void onUnsetMarkupPushButtonClicked ()
 
void onVisibilityAllMarkupsInListToggled ()
 
void onVisibilityOffAllMarkupsInListPushButtonClicked ()
 
 qSlicerMarkupsModuleWidget (QWidget *parent=nullptr)
 
void setCreateMarkupsButtonsColumns (unsigned int columns)
 
bool setEditedNode (vtkMRMLNode *node, QString role=QString(), QString context=QString()) override
 Node editing. More...
 
void setMRMLMarkupsNode (vtkMRMLMarkupsNode *markupsNode)
 
bool sliceIntersectionsVisible ()
 
void updateLogicFromSettings ()
 Set up the logic default display settings from the application settings. More...
 
void updateMaximumScaleFromVolumes ()
 
void updateRow (int m)
 Refresh a row of the control points table from the m-th markup. More...
 
void updateRows ()
 Refresh all the rows of the control points table from the markup node. More...
 
Q_INVOKABLE void updateToolBar (vtkMRMLMarkupsNode *node)
 
void updateWidgetFromDisplayNode ()
 
void updateWidgetFromMRML ()
 
 ~qSlicerMarkupsModuleWidget () override
 
- Public Member Functions inherited from qSlicerAbstractModuleWidget
bool isEntered () const
 
 qSlicerAbstractModuleWidget (QWidget *parent=nullptr)
 
 ~qSlicerAbstractModuleWidget () override
 
- Public Member Functions inherited from qSlicerWidget
vtkSlicerApplicationLogicappLogic () const
 
vtkMRMLAbstractLogicmoduleLogic (const QString &moduleName) const
 
 qSlicerWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 
 ~qSlicerWidget () override
 
- 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 ()
 
 ~qSlicerAbstractModuleRepresentation () override
 

Protected Member Functions

void setup () override
 
- 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 40 of file qSlicerMarkupsModuleWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 47 of file qSlicerMarkupsModuleWidget.h.

Constructor & Destructor Documentation

◆ qSlicerMarkupsModuleWidget()

qSlicerMarkupsModuleWidget::qSlicerMarkupsModuleWidget ( QWidget *  parent = nullptr)

◆ ~qSlicerMarkupsModuleWidget()

qSlicerMarkupsModuleWidget::~qSlicerMarkupsModuleWidget ( )
override

Member Function Documentation

◆ additionalWidgets()

QList<qMRMLMarkupsOptionsWidget*>& qSlicerMarkupsModuleWidget::additionalWidgets ( )

◆ 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.

◆ associatedMarkups()

QStringList& qSlicerMarkupsModuleWidget::associatedMarkups ( )

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

◆ 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

◆ enableMarkupTableButtons

void qSlicerMarkupsModuleWidget::enableMarkupTableButtons ( bool  enable)
slot

◆ enter()

void qSlicerMarkupsModuleWidget::enter ( )
overridevirtual

Set up the GUI from mrml when entering

See also
updateMaximumScaleFromVolumes()

Reimplemented from qSlicerAbstractModuleWidget.

◆ exit()

void qSlicerMarkupsModuleWidget::exit ( )
overridevirtual

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

◆ markupsLogic()

vtkSlicerMarkupsLogic* qSlicerMarkupsModuleWidget::markupsLogic ( )

Get the logic in the proper class.

◆ mrmlMarkupsNode()

vtkMRMLMarkupsNode* qSlicerMarkupsModuleWidget::mrmlMarkupsNode ( )

Get currently selected markups node.

◆ nodeEditable()

double qSlicerMarkupsModuleWidget::nodeEditable ( vtkMRMLNode node)
overridevirtual

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.

◆ observeMeasurementsInCurrentMarkupsNode

void qSlicerMarkupsModuleWidget::observeMeasurementsInCurrentMarkupsNode ( )
slot

Make sure all measurements in the current markups node are observed.

◆ onActiveMarkupItemChanged

void qSlicerMarkupsModuleWidget::onActiveMarkupItemChanged ( vtkIdType  )
slot

Update the selection node from the tree view.

◆ onActiveMarkupMRMLNodeAdded

void qSlicerMarkupsModuleWidget::onActiveMarkupMRMLNodeAdded ( vtkMRMLNode markupsNode)
slot

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

◆ onActiveMarkupMRMLNodeChanged

void qSlicerMarkupsModuleWidget::onActiveMarkupMRMLNodeChanged ( vtkMRMLNode markupsNode)
slot

◆ onActiveMarkupsNodeDisplayModifiedEvent

void qSlicerMarkupsModuleWidget::onActiveMarkupsNodeDisplayModifiedEvent ( )
slot

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

◆ onActiveMarkupsNodeModifiedEvent

void qSlicerMarkupsModuleWidget::onActiveMarkupsNodeModifiedEvent ( )
slot

Update table when markups node is modified.

◆ onActiveMarkupsNodePointAddedEvent

void qSlicerMarkupsModuleWidget::onActiveMarkupsNodePointAddedEvent ( )
slot

Update the table with the new point information if the node is active.

◆ onActiveMarkupsNodePointModifiedEvent

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

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

◆ onActiveMarkupsNodePointRemovedEvent

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

Update the table for the removed point 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.

◆ onAddControlPointPushButtonClicked

void qSlicerMarkupsModuleWidget::onAddControlPointPushButtonClicked ( )
slot

◆ onAddMarkupPushButtonClicked()

void qSlicerMarkupsModuleWidget::onAddMarkupPushButtonClicked ( )
inline
Deprecated:
Use onAddControlPointPushButtonClicked instead.

Definition at line 334 of file qSlicerMarkupsModuleWidget.h.

◆ onColorLegendCollapsibleGroupBoxToggled

void qSlicerMarkupsModuleWidget::onColorLegendCollapsibleGroupBoxToggled ( bool  )
slot

Create or get first color legend if group box is expanded.

◆ onCreateMarkupByClass

void qSlicerMarkupsModuleWidget::onCreateMarkupByClass ( const QString &  className)
slot

Create markups node by class.

◆ onCreateMarkupsPushButtons

void qSlicerMarkupsModuleWidget::onCreateMarkupsPushButtons ( )
slot

Update set of create markups push buttons.

◆ onDeleteAllControlPointsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onDeleteAllControlPointsInListPushButtonClicked ( )
slot

◆ onDeleteAllMarkupsInListPushButtonClicked()

void qSlicerMarkupsModuleWidget::onDeleteAllMarkupsInListPushButtonClicked ( )
inline
Deprecated:
Use onDeleteAllControlPointsInListPushButtonClicked instead.

Definition at line 382 of file qSlicerMarkupsModuleWidget.h.

◆ onDeleteControlPointPushButtonClicked

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

◆ onDeleteMarkupPushButtonClicked()

void qSlicerMarkupsModuleWidget::onDeleteMarkupPushButtonClicked ( bool  confirm = true)
inline
Deprecated:
Use onDeleteControlPointPushButtonClicked instead.

Definition at line 376 of file qSlicerMarkupsModuleWidget.h.

◆ onDeselectAllControlPointsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onDeselectAllControlPointsInListPushButtonClicked ( )
slot

◆ onDeselectAllMarkupsInListPushButtonClicked()

void qSlicerMarkupsModuleWidget::onDeselectAllMarkupsInListPushButtonClicked ( )
inline
Deprecated:
Use onDeselectAllControlPointsInListPushButtonClicked instead.

Definition at line 322 of file qSlicerMarkupsModuleWidget.h.

◆ onFixedNumberOfControlPointsPushButtonClicked

void qSlicerMarkupsModuleWidget::onFixedNumberOfControlPointsPushButtonClicked ( )
slot

Toggle the markups node control point number locked flag.

◆ onHideCoordinateColumnsToggled

void qSlicerMarkupsModuleWidget::onHideCoordinateColumnsToggled ( int  index)
slot

update visibility of the coordinate columns in the table

◆ onImportExportApply

void qSlicerMarkupsModuleWidget::onImportExportApply ( )
slot

◆ 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.

◆ onLockAllControlPointsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onLockAllControlPointsInListPushButtonClicked ( )
slot

◆ onLockAllControlPointsInListToggled

void qSlicerMarkupsModuleWidget::onLockAllControlPointsInListToggled ( )
slot

◆ onLockAllMarkupsInListPushButtonClicked()

void qSlicerMarkupsModuleWidget::onLockAllMarkupsInListPushButtonClicked ( )
inline
Deprecated:
Use onLockAllControlPointsInListPushButtonClicked instead.

Definition at line 298 of file qSlicerMarkupsModuleWidget.h.

◆ onLockAllMarkupsInListToggled()

void qSlicerMarkupsModuleWidget::onLockAllMarkupsInListToggled ( )
inline
Deprecated:
Use onLockAllControlPointsInListToggled instead.

Definition at line 310 of file qSlicerMarkupsModuleWidget.h.

◆ onMeasurementEnabledCheckboxToggled

void qSlicerMarkupsModuleWidget::onMeasurementEnabledCheckboxToggled ( bool  on)
slot

Enable/disable measurement when an enable checkbox has been toggled.

◆ onMeasurementModified

void qSlicerMarkupsModuleWidget::onMeasurementModified ( vtkObject *  caller)
slot

Update measurement information on GUI when a measurement is modified.

◆ onMeasurementsCollectionModified

void qSlicerMarkupsModuleWidget::onMeasurementsCollectionModified ( )
slot

Update observations on measurements when their container is modified (i.e. measurement added or removed)

◆ onMissingControlPointPushButtonClicked

void qSlicerMarkupsModuleWidget::onMissingControlPointPushButtonClicked ( )
slot

◆ onMissingMarkupPushButtonClicked()

void qSlicerMarkupsModuleWidget::onMissingMarkupPushButtonClicked ( )
inline
Deprecated:
Use onMissingControlPointPushButtonClicked instead.

Definition at line 370 of file qSlicerMarkupsModuleWidget.h.

◆ onMoveControlPointDownPushButtonClicked

void qSlicerMarkupsModuleWidget::onMoveControlPointDownPushButtonClicked ( )
slot

◆ onMoveControlPointUpPushButtonClicked

void qSlicerMarkupsModuleWidget::onMoveControlPointUpPushButtonClicked ( )
slot

◆ onMoveMarkupDownPushButtonClicked()

void qSlicerMarkupsModuleWidget::onMoveMarkupDownPushButtonClicked ( )
inline
Deprecated:
Use onMoveControlPointDownPushButtonClicked instead.

Definition at line 346 of file qSlicerMarkupsModuleWidget.h.

◆ onMoveMarkupUpPushButtonClicked()

void qSlicerMarkupsModuleWidget::onMoveMarkupUpPushButtonClicked ( )
inline
Deprecated:
Use onMoveControlPointUpPushButtonClicked instead.

Definition at line 340 of file qSlicerMarkupsModuleWidget.h.

◆ 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

◆ 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.

◆ onResetControlPointPushButtonClicked

void qSlicerMarkupsModuleWidget::onResetControlPointPushButtonClicked ( )
slot

◆ onResetMarkupPushButtonClicked()

void qSlicerMarkupsModuleWidget::onResetMarkupPushButtonClicked ( )
inline
Deprecated:
Use onResetControlPointPushButtonClicked instead.

Definition at line 358 of file qSlicerMarkupsModuleWidget.h.

◆ 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.

◆ onRestoreControlPointPushButtonClicked

void qSlicerMarkupsModuleWidget::onRestoreControlPointPushButtonClicked ( )
slot

◆ onRestoreMarkupPushButtonClicked()

void qSlicerMarkupsModuleWidget::onRestoreMarkupPushButtonClicked ( )
inline
Deprecated:
Use onRestoreControlPointPushButtonClicked instead.

Definition at line 352 of file qSlicerMarkupsModuleWidget.h.

◆ onRightClickActiveMarkupTableWidget

void qSlicerMarkupsModuleWidget::onRightClickActiveMarkupTableWidget ( QPoint  pos)
slot

Provide a right click menu in the table.

◆ onSaveToDefaultDisplayPropertiesPushButtonClicked

void qSlicerMarkupsModuleWidget::onSaveToDefaultDisplayPropertiesPushButtonClicked ( )
slot

◆ onSelectAllControlPointsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onSelectAllControlPointsInListPushButtonClicked ( )
slot

◆ onSelectAllMarkupsInListPushButtonClicked()

void qSlicerMarkupsModuleWidget::onSelectAllMarkupsInListPushButtonClicked ( )
inline
Deprecated:
Use onSelectAllControlPointsInListPushButtonClicked instead.

Definition at line 316 of file qSlicerMarkupsModuleWidget.h.

◆ onSelectedAllControlPointsInListToggled

void qSlicerMarkupsModuleWidget::onSelectedAllControlPointsInListToggled ( )
slot

◆ onSelectedAllMarkupsInListToggled()

void qSlicerMarkupsModuleWidget::onSelectedAllMarkupsInListToggled ( )
inline
Deprecated:
Use onSelectedAllControlPointsInListToggled instead.

Definition at line 328 of file qSlicerMarkupsModuleWidget.h.

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

◆ onTransformedCoordinatesToggled

void qSlicerMarkupsModuleWidget::onTransformedCoordinatesToggled ( bool  checked)
slot

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

◆ onUnlockAllControlPointsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onUnlockAllControlPointsInListPushButtonClicked ( )
slot

◆ onUnlockAllMarkupsInListPushButtonClicked()

void qSlicerMarkupsModuleWidget::onUnlockAllMarkupsInListPushButtonClicked ( )
inline
Deprecated:
Use onUnlockAllControlPointsInListPushButtonClicked instead.

Definition at line 304 of file qSlicerMarkupsModuleWidget.h.

◆ onUnsetControlPointPushButtonClicked

void qSlicerMarkupsModuleWidget::onUnsetControlPointPushButtonClicked ( )
slot

◆ onUnsetMarkupPushButtonClicked()

void qSlicerMarkupsModuleWidget::onUnsetMarkupPushButtonClicked ( )
inline
Deprecated:
Use onUnsetControlPointPushButtonClicked instead.

Definition at line 364 of file qSlicerMarkupsModuleWidget.h.

◆ onUpdateMarkupsOptionsWidgets

void qSlicerMarkupsModuleWidget::onUpdateMarkupsOptionsWidgets ( )
slot

Update internal list of markups options widgets from qMRMLMarkupsOptionsWidgetsFactory.

◆ onVisibilityAllControlPointsInListToggled

void qSlicerMarkupsModuleWidget::onVisibilityAllControlPointsInListToggled ( )
slot

◆ onVisibilityAllMarkupsInListToggled()

void qSlicerMarkupsModuleWidget::onVisibilityAllMarkupsInListToggled ( )
inline
Deprecated:
Use onVisibilityAllControlPointsInListToggled instead.

Definition at line 292 of file qSlicerMarkupsModuleWidget.h.

◆ onVisibilityOffAllControlPointsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onVisibilityOffAllControlPointsInListPushButtonClicked ( )
slot

◆ onVisibilityOffAllMarkupsInListPushButtonClicked()

void qSlicerMarkupsModuleWidget::onVisibilityOffAllMarkupsInListPushButtonClicked ( )
inline
Deprecated:
Use onVisibilityOffAllControlPointsInListPushButtonClicked instead.

Definition at line 286 of file qSlicerMarkupsModuleWidget.h.

◆ onVisibilityOnAllControlPointsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onVisibilityOnAllControlPointsInListPushButtonClicked ( )
slot

List button slots.

◆ onVisibilityOnAllMarkupsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onVisibilityOnAllMarkupsInListPushButtonClicked ( )
inlineslot
Deprecated:
Use onVisibilityOnAllControlPointsInListPushButtonClicked instead.

Definition at line 280 of file qSlicerMarkupsModuleWidget.h.

◆ pasteSelectedFromClipboard

void qSlicerMarkupsModuleWidget::pasteSelectedFromClipboard ( )
slot

◆ populateMeasurementSettingsTable

void qSlicerMarkupsModuleWidget::populateMeasurementSettingsTable ( )
slot

Populate measurement settings frame from the available measurements in the current markup.

◆ setCreateMarkupsButtonsColumns()

void qSlicerMarkupsModuleWidget::setCreateMarkupsButtonsColumns ( unsigned int  columns)

◆ setEditedNode()

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

Node editing.

Reimplemented from qSlicerAbstractModuleWidget.

◆ setMRMLMarkupsNode()

void qSlicerMarkupsModuleWidget::setMRMLMarkupsNode ( vtkMRMLMarkupsNode markupsNode)

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

◆ setup()

void qSlicerMarkupsModuleWidget::setup ( )
overrideprotectedvirtual

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

◆ updateImportExportWidgets

void qSlicerMarkupsModuleWidget::updateImportExportWidgets ( )
slot

◆ 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 factor

See also
volumeSpacingScaleFactor

◆ updateMeasurementsDescriptionLabel

void qSlicerMarkupsModuleWidget::updateMeasurementsDescriptionLabel ( )
slot

Update measurements description label.

◆ updateRow()

void qSlicerMarkupsModuleWidget::updateRow ( int  m)

Refresh a row of the control points table from the m-th markup.

◆ updateRows()

void qSlicerMarkupsModuleWidget::updateRows ( )

Refresh all the rows of the control points table from the markup node.

◆ updateToolBar()

Q_INVOKABLE void qSlicerMarkupsModuleWidget::updateToolBar ( vtkMRMLMarkupsNode node)

◆ 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 386 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 396 of file qSlicerMarkupsModuleWidget.h.


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