Slicer  4.11
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 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 onAddMarkupPushButtonClicked ()
 
void onAngleMeasurementModeChanged ()
 Change angle mode of current angle markup if combobox selection is made. More...
 
void onApplyCurveResamplingPushButtonClicked ()
 Resample Curve button slot. More...
 
void onCreateMarkupsAngle ()
 
void onCreateMarkupsClosedCurve ()
 
void onCreateMarkupsFiducial ()
 
void onCreateMarkupsLine ()
 
void onCreateMarkupsOpenCurve ()
 
void onCreateMarkupsPlane ()
 
void onCreateMarkupsROI ()
 
void onCurveTypeParameterChanged ()
 Change in a widget related to a surface curve type parameter. More...
 
void onDeleteAllMarkupsInListPushButtonClicked ()
 
void onDeleteMarkupPushButtonClicked (bool confirm=true)
 
void onDeselectAllMarkupsInListPushButtonClicked ()
 
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 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 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 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 onROITypeParameterChanged ()
 Change in ROI parameter widget. More...
 
void onRotationAxisChanged ()
 Update angle measurement rotation axis if the user edits the column vector. More...
 
void onSaveToDefaultDisplayPropertiesPushButtonClicked ()
 
void onSelectAllMarkupsInListPushButtonClicked ()
 
void onSelectedAllMarkupsInListToggled ()
 
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 onUnlockAllMarkupsInListPushButtonClicked ()
 
void onVisibilityAllMarkupsInListToggled ()
 
void onVisibilityOffAllMarkupsInListPushButtonClicked ()
 
void onVisibilityOnAllMarkupsInListPushButtonClicked ()
 List button slots. More...
 
void pasteSelectedFromClipboard ()
 
void populateMeasurementSettingsTable ()
 Populate measurement settings frame from the available measurements in the current markup. More...
 
void updateMeasurementsDescriptionLabel ()
 Update measurements description label. More...
 
- Public Slots inherited from qSlicerWidget
void setMRMLScene (vtkMRMLScene *scene) override
 

Public Member Functions

void enter () override
 
void exit () override
 Disconnect from scene when exiting. More...
 
vtkSlicerMarkupsLogicmarkupsLogic ()
 Get the logic in the proper class. More...
 
double nodeEditable (vtkMRMLNode *node) override
 
 qSlicerMarkupsModuleWidget (QWidget *parent=nullptr)
 
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)
 
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=nullptr)
 
 ~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 37 of file qSlicerMarkupsModuleWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 44 of file qSlicerMarkupsModuleWidget.h.

Constructor & Destructor Documentation

◆ qSlicerMarkupsModuleWidget()

qSlicerMarkupsModuleWidget::qSlicerMarkupsModuleWidget ( QWidget *  parent = nullptr)

◆ ~qSlicerMarkupsModuleWidget()

qSlicerMarkupsModuleWidget::~qSlicerMarkupsModuleWidget ( )
override

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

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

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.

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

◆ onAddMarkupPushButtonClicked

void qSlicerMarkupsModuleWidget::onAddMarkupPushButtonClicked ( )
slot

◆ onAngleMeasurementModeChanged

void qSlicerMarkupsModuleWidget::onAngleMeasurementModeChanged ( )
slot

Change angle mode of current angle markup if combobox selection is made.

◆ onApplyCurveResamplingPushButtonClicked

void qSlicerMarkupsModuleWidget::onApplyCurveResamplingPushButtonClicked ( )
slot

Resample Curve button slot.

◆ onCreateMarkupsAngle

void qSlicerMarkupsModuleWidget::onCreateMarkupsAngle ( )
slot

◆ onCreateMarkupsClosedCurve

void qSlicerMarkupsModuleWidget::onCreateMarkupsClosedCurve ( )
slot

◆ onCreateMarkupsFiducial

void qSlicerMarkupsModuleWidget::onCreateMarkupsFiducial ( )
slot

◆ onCreateMarkupsLine

void qSlicerMarkupsModuleWidget::onCreateMarkupsLine ( )
slot

◆ onCreateMarkupsOpenCurve

void qSlicerMarkupsModuleWidget::onCreateMarkupsOpenCurve ( )
slot

◆ onCreateMarkupsPlane

void qSlicerMarkupsModuleWidget::onCreateMarkupsPlane ( )
slot

◆ onCreateMarkupsROI

void qSlicerMarkupsModuleWidget::onCreateMarkupsROI ( )
slot

◆ onCurveTypeParameterChanged

void qSlicerMarkupsModuleWidget::onCurveTypeParameterChanged ( )
slot

Change in a widget related to a surface curve type parameter.

◆ onDeleteAllMarkupsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onDeleteAllMarkupsInListPushButtonClicked ( )
slot

◆ onDeleteMarkupPushButtonClicked

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

◆ onDeselectAllMarkupsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onDeselectAllMarkupsInListPushButtonClicked ( )
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

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

◆ 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

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

◆ onROITypeParameterChanged

void qSlicerMarkupsModuleWidget::onROITypeParameterChanged ( )
slot

Change in ROI parameter widget.

◆ onRotationAxisChanged

void qSlicerMarkupsModuleWidget::onRotationAxisChanged ( )
slot

Update angle measurement rotation axis if the user edits the column vector.

◆ onSaveToDefaultDisplayPropertiesPushButtonClicked

void qSlicerMarkupsModuleWidget::onSaveToDefaultDisplayPropertiesPushButtonClicked ( )
slot

◆ onSelectAllMarkupsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onSelectAllMarkupsInListPushButtonClicked ( )
slot

◆ onSelectedAllMarkupsInListToggled

void qSlicerMarkupsModuleWidget::onSelectedAllMarkupsInListToggled ( )
slot

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

◆ onUnlockAllMarkupsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onUnlockAllMarkupsInListPushButtonClicked ( )
slot

◆ onVisibilityAllMarkupsInListToggled

void qSlicerMarkupsModuleWidget::onVisibilityAllMarkupsInListToggled ( )
slot

◆ onVisibilityOffAllMarkupsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onVisibilityOffAllMarkupsInListPushButtonClicked ( )
slot

◆ onVisibilityOnAllMarkupsInListPushButtonClicked

void qSlicerMarkupsModuleWidget::onVisibilityOnAllMarkupsInListPushButtonClicked ( )
slot

List button slots.

◆ pasteSelectedFromClipboard

void qSlicerMarkupsModuleWidget::pasteSelectedFromClipboard ( )
slot

◆ populateMeasurementSettingsTable

void qSlicerMarkupsModuleWidget::populateMeasurementSettingsTable ( )
slot

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

◆ 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

◆ 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 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 254 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 261 of file qSlicerMarkupsModuleWidget.h.


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