#include <Modules/Loadable/Markups/Widgets/qSlicerMarkupsPlaceWidget.h>
|
QScopedPointer< qSlicerMarkupsPlaceWidgetPrivate > | d_ptr |
|
QScopedPointer< qSlicerWidgetPrivate > | d_ptr |
|
QScopedPointer< qSlicerObjectPrivate > | d_ptr |
|
Definition at line 39 of file qSlicerMarkupsPlaceWidget.h.
◆ Superclass
◆ PlaceMultipleMarkupsType
Enumerator |
---|
ShowPlaceMultipleMarkupsOption | |
HidePlaceMultipleMarkupsOption | |
ForcePlaceSingleMarkup | |
ForcePlaceMultipleMarkups | |
Definition at line 59 of file qSlicerMarkupsPlaceWidget.h.
◆ buttonsVisible
bool qSlicerMarkupsPlaceWidget::buttonsVisible |
|
readwrite |
◆ currentNodeActive
bool qSlicerMarkupsPlaceWidget::currentNodeActive |
|
readwrite |
◆ defaultNodeColor
QColor qSlicerMarkupsPlaceWidget::defaultNodeColor |
|
readwrite |
◆ deleteAllMarkupsOptionVisible
bool qSlicerMarkupsPlaceWidget::deleteAllMarkupsOptionVisible |
|
readwrite |
◆ nodeColor
QColor qSlicerMarkupsPlaceWidget::nodeColor |
|
readwrite |
◆ placeModeEnabled
bool qSlicerMarkupsPlaceWidget::placeModeEnabled |
|
readwrite |
◆ placeModePersistency
bool qSlicerMarkupsPlaceWidget::placeModePersistency |
|
readwrite |
◆ placeMultipleMarkups
◆ qSlicerMarkupsPlaceWidget()
qSlicerMarkupsPlaceWidget::qSlicerMarkupsPlaceWidget |
( |
QWidget * |
parent = 0 | ) |
|
◆ ~qSlicerMarkupsPlaceWidget()
virtual qSlicerMarkupsPlaceWidget::~qSlicerMarkupsPlaceWidget |
( |
| ) |
|
|
virtual |
◆ activeMarkupsFiducialPlaceModeChanged
void qSlicerMarkupsPlaceWidget::activeMarkupsFiducialPlaceModeChanged |
( |
bool |
enabled | ) |
|
|
signal |
This signal is emitted when place mode for the active markup is changed to enabled or disabled. The argument enabled is true if the currently selected markups node is active and in place mode. The argument enabled is false if the currently selected markups node is not active or not in place mode.
◆ buttonsVisible()
bool qSlicerMarkupsPlaceWidget::buttonsVisible |
( |
| ) |
const |
Returns true if all buttons are visible.
◆ currentMarkupsFiducialNode()
◆ currentNode()
Q_INVOKABLE vtkMRMLNode* qSlicerMarkupsPlaceWidget::currentNode |
( |
| ) |
const |
Get the currently selected markups node.
◆ currentNodeActive()
bool qSlicerMarkupsPlaceWidget::currentNodeActive |
( |
| ) |
const |
Returns true if the current markups node is the active markups node in the scene.
◆ defaultNodeColor()
QColor qSlicerMarkupsPlaceWidget::defaultNodeColor |
( |
| ) |
const |
Get the default node color that is shown when no node is selected.
◆ deleteAllMarkups
void qSlicerMarkupsPlaceWidget::deleteAllMarkups |
( |
| ) |
|
|
slot |
Delete all markup fiducials from the current markups node.
◆ deleteAllMarkupsOptionVisible()
bool qSlicerMarkupsPlaceWidget::deleteAllMarkupsOptionVisible |
( |
| ) |
const |
Returns true if the Delete all option on the Delete button is visible.
◆ deleteButton()
Q_INVOKABLE QToolButton* qSlicerMarkupsPlaceWidget::deleteButton |
( |
| ) |
const |
◆ deleteLastMarkup
void qSlicerMarkupsPlaceWidget::deleteLastMarkup |
( |
| ) |
|
|
slot |
Delete a markup fiducial from the list.
◆ interactionNode()
◆ nodeColor()
QColor qSlicerMarkupsPlaceWidget::nodeColor |
( |
| ) |
const |
Get the selected color of the currently selected markups node.
◆ onColorButtonChanged
void qSlicerMarkupsPlaceWidget::onColorButtonChanged |
( |
QColor |
| ) |
|
|
protectedslot |
Update the currently selected markups node to have its selected color changed.
◆ onLockedButtonClicked
void qSlicerMarkupsPlaceWidget::onLockedButtonClicked |
( |
| ) |
|
|
protectedslot |
Toggle whether the current markups node is locked.
◆ onPlacePersistent
void qSlicerMarkupsPlaceWidget::onPlacePersistent |
( |
bool |
enable | ) |
|
|
protectedslot |
◆ onVisibilityButtonClicked
void qSlicerMarkupsPlaceWidget::onVisibilityButtonClicked |
( |
| ) |
|
|
protectedslot |
Toggle the visibility of the markups in the viewers.
◆ placeButton()
Q_INVOKABLE QToolButton* qSlicerMarkupsPlaceWidget::placeButton |
( |
| ) |
const |
◆ placeModeEnabled()
bool qSlicerMarkupsPlaceWidget::placeModeEnabled |
( |
| ) |
const |
Returns true if place mode enabled and current node is active.
◆ placeModePersistency()
bool qSlicerMarkupsPlaceWidget::placeModePersistency |
( |
| ) |
const |
Returns true if placement mode is persistent, regardless if place mode is enabled or not.
◆ placeMultipleMarkups()
Returns markup placement multiplicity option.
◆ setButtonsVisible
void qSlicerMarkupsPlaceWidget::setButtonsVisible |
( |
bool |
visible | ) |
|
|
slot |
Show/hide all buttons. Useful for showing/hiding all buttons except specific ones.
◆ setCurrentNode
void qSlicerMarkupsPlaceWidget::setCurrentNode |
( |
vtkMRMLNode * |
currentNode | ) |
|
|
slot |
Set the currently selected markups node.
◆ setCurrentNodeActive
void qSlicerMarkupsPlaceWidget::setCurrentNodeActive |
( |
bool |
active | ) |
|
|
slot |
Set the currently selected markups node to be the active markups node in the Slicer scene. Does not change place mode.
◆ setDefaultNodeColor
void qSlicerMarkupsPlaceWidget::setDefaultNodeColor |
( |
QColor |
color | ) |
|
|
slot |
◆ setDeleteAllMarkupsOptionVisible
void qSlicerMarkupsPlaceWidget::setDeleteAllMarkupsOptionVisible |
( |
bool |
visible | ) |
|
|
slot |
Set visibility of Delete all markups option.
◆ setInteractionNode
◆ setMRMLScene
void qSlicerMarkupsPlaceWidget::setMRMLScene |
( |
vtkMRMLScene * |
scene | ) |
|
|
slot |
◆ setNodeColor
void qSlicerMarkupsPlaceWidget::setNodeColor |
( |
QColor |
color | ) |
|
|
slot |
◆ setPlaceModeEnabled
void qSlicerMarkupsPlaceWidget::setPlaceModeEnabled |
( |
bool |
enable | ) |
|
|
slot |
Enable/disable place mode. If place mode is enabled then current markups node is set active, too.
◆ setPlaceModePersistency
void qSlicerMarkupsPlaceWidget::setPlaceModePersistency |
( |
bool |
| ) |
|
|
slot |
Set place mode to persistent (remains active until deactivated). Does not enable or disable placement mode.
◆ setPlaceMultipleMarkups
Configures multiplicity of markups placement.
◆ setup()
virtual void qSlicerMarkupsPlaceWidget::setup |
( |
| ) |
|
|
protectedvirtual |
◆ updateWidget
void qSlicerMarkupsPlaceWidget::updateWidget |
( |
| ) |
|
|
protectedslot |
Update the GUI to reflect the currently selected markups node.
◆ d_ptr
QScopedPointer<qSlicerMarkupsPlaceWidgetPrivate> qSlicerMarkupsPlaceWidget::d_ptr |
|
protected |
The documentation for this class was generated from the following file: