#include <Modules/Loadable/Markups/Widgets/qSlicerSimpleMarkupsWidget.h>
|
QScopedPointer< qSlicerSimpleMarkupsWidgetPrivate > | d_ptr |
|
QScopedPointer< qSlicerWidgetPrivate > | d_ptr |
|
QScopedPointer< qSlicerObjectPrivate > | d_ptr |
|
◆ Superclass
◆ defaultNodeColor
QColor qSlicerSimpleMarkupsWidget::defaultNodeColor |
|
readwrite |
◆ enterPlaceModeOnNodeChange
bool qSlicerSimpleMarkupsWidget::enterPlaceModeOnNodeChange |
|
readwrite |
◆ jumpToSliceEnabled
bool qSlicerSimpleMarkupsWidget::jumpToSliceEnabled |
|
readwrite |
◆ nodeColor
QColor qSlicerSimpleMarkupsWidget::nodeColor |
|
readwrite |
◆ nodeSelectorVisible
bool qSlicerSimpleMarkupsWidget::nodeSelectorVisible |
|
readwrite |
◆ optionsVisible
bool qSlicerSimpleMarkupsWidget::optionsVisible |
|
readwrite |
◆ viewGroup
int qSlicerSimpleMarkupsWidget::viewGroup |
|
readwrite |
◆ qSlicerSimpleMarkupsWidget()
qSlicerSimpleMarkupsWidget::qSlicerSimpleMarkupsWidget |
( |
QWidget * |
parent = 0 | ) |
|
◆ ~qSlicerSimpleMarkupsWidget()
virtual qSlicerSimpleMarkupsWidget::~qSlicerSimpleMarkupsWidget |
( |
| ) |
|
|
virtual |
◆ activate
void qSlicerSimpleMarkupsWidget::activate |
( |
| ) |
|
|
slot |
Set the currently selected markups node to be the active markups node in the Slicer scene.
◆ activeMarkupsFiducialPlaceModeChanged
void qSlicerSimpleMarkupsWidget::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.
◆ currentMarkupsFiducialSelectionChanged
void qSlicerSimpleMarkupsWidget::currentMarkupsFiducialSelectionChanged |
( |
int |
markupIndex | ) |
|
|
signal |
This signal is emitted when a different markup point is selected in the table. The argument markupIndex is the index of the selected markup.
◆ currentNode()
Q_INVOKABLE vtkMRMLNode* qSlicerSimpleMarkupsWidget::currentNode |
( |
| ) |
const |
Get the currently selected markups node.
◆ defaultNodeColor()
QColor qSlicerSimpleMarkupsWidget::defaultNodeColor |
( |
| ) |
const |
Get the default node color that is applied to newly created nodes.
◆ enterPlaceModeOnNodeChange()
bool qSlicerSimpleMarkupsWidget::enterPlaceModeOnNodeChange |
( |
| ) |
const |
Accessors to control place mode behavior.
◆ getCurrentNode()
Q_INVOKABLE vtkMRMLNode* qSlicerSimpleMarkupsWidget::getCurrentNode |
( |
| ) |
|
◆ highlightNthFiducial
void qSlicerSimpleMarkupsWidget::highlightNthFiducial |
( |
int |
n | ) |
|
|
slot |
Scrolls to and selects the Nth fiducial in the table of fiducials.
◆ jumpToSliceEnabled()
bool qSlicerSimpleMarkupsWidget::jumpToSliceEnabled |
( |
| ) |
const |
If enabled then the fiducial will be shown in all slice views when a fiducial is selected /sa setViewGroup
◆ markupsFiducialNodeChanged
void qSlicerSimpleMarkupsWidget::markupsFiducialNodeChanged |
( |
| ) |
|
|
signal |
The signal is emitted when a different markup node is selected.
◆ markupsPlaceWidget()
Get the markups placement widget (containing place and delete button)
◆ markupsSelectorComboBox()
Q_INVOKABLE qMRMLNodeComboBox* qSlicerSimpleMarkupsWidget::markupsSelectorComboBox |
( |
| ) |
const |
Get the markup node selector combo box.
◆ nodeColor()
QColor qSlicerSimpleMarkupsWidget::nodeColor |
( |
| ) |
const |
Get the selected color of the currently selected markups node.
◆ nodeSelectorVisible()
bool qSlicerSimpleMarkupsWidget::nodeSelectorVisible |
( |
| ) |
const |
Show/hide the markup node selector widget.
◆ onMarkupsFiducialEdited
void qSlicerSimpleMarkupsWidget::onMarkupsFiducialEdited |
( |
int |
row, |
|
|
int |
column |
|
) |
| |
|
protectedslot |
Edit the name or position of the currently selected markups node.
◆ onMarkupsFiducialNodeAdded
void qSlicerSimpleMarkupsWidget::onMarkupsFiducialNodeAdded |
( |
vtkMRMLNode * |
| ) |
|
|
protectedslot |
Setup a newly created markups node - add display node, set color.
◆ onMarkupsFiducialNodeChanged
void qSlicerSimpleMarkupsWidget::onMarkupsFiducialNodeChanged |
( |
| ) |
|
|
protectedslot |
Update the widget when a different markups node is selected by the combo box.
◆ onMarkupsFiducialSelected
void qSlicerSimpleMarkupsWidget::onMarkupsFiducialSelected |
( |
int |
row, |
|
|
int |
column |
|
) |
| |
|
protectedslot |
Clicked on a fiducial or used keyboard to move between fiducials in the table.
◆ onMarkupsFiducialTableContextMenu
void qSlicerSimpleMarkupsWidget::onMarkupsFiducialTableContextMenu |
( |
const QPoint & |
position | ) |
|
|
protectedslot |
Create context menu for the table displaying the currently selected markups node.
◆ optionsVisible()
bool qSlicerSimpleMarkupsWidget::optionsVisible |
( |
| ) |
const |
Show/hide options (place, activate, color, etc buttons).
◆ placeActive
void qSlicerSimpleMarkupsWidget::placeActive |
( |
bool |
place | ) |
|
|
slot |
Set the currently selected markups node to be the active markups node in the Slicer scene. The argument place is true then also interaction mode is set to place mode.
◆ setCurrentNode
void qSlicerSimpleMarkupsWidget::setCurrentNode |
( |
vtkMRMLNode * |
currentNode | ) |
|
|
slot |
Set the currently selected markups node.
◆ setDefaultNodeColor
void qSlicerSimpleMarkupsWidget::setDefaultNodeColor |
( |
QColor |
color | ) |
|
|
slot |
Set the default color that is assigned to newly created markups nodes in the combo box.
◆ setEnterPlaceModeOnNodeChange
void qSlicerSimpleMarkupsWidget::setEnterPlaceModeOnNodeChange |
( |
bool |
| ) |
|
|
slot |
Accessors to control place mode behavior.
◆ setJumpToSliceEnabled
void qSlicerSimpleMarkupsWidget::setJumpToSliceEnabled |
( |
bool |
| ) |
|
|
slot |
If enabled then the fiducial will be shown in all slice views when a fiducial is selected.
◆ setMRMLScene
void qSlicerSimpleMarkupsWidget::setMRMLScene |
( |
vtkMRMLScene * |
scene | ) |
|
|
slot |
◆ setNodeBaseName
void qSlicerSimpleMarkupsWidget::setNodeBaseName |
( |
QString |
newNodeBaseName | ) |
|
|
slot |
Set the default name of the markups node created in the combo box.
◆ setNodeColor
void qSlicerSimpleMarkupsWidget::setNodeColor |
( |
QColor |
color | ) |
|
|
slot |
Set the selected color of the currently selected markups node.
◆ setNodeSelectorVisible
void qSlicerSimpleMarkupsWidget::setNodeSelectorVisible |
( |
bool |
| ) |
|
|
slot |
Show/hide the markup node selector widget.
◆ setOptionsVisible
void qSlicerSimpleMarkupsWidget::setOptionsVisible |
( |
bool |
| ) |
|
|
slot |
Show/hide options (place, activate, color, etc buttons).
◆ setup()
virtual void qSlicerSimpleMarkupsWidget::setup |
( |
| ) |
|
|
protectedvirtual |
◆ setViewGroup()
void qSlicerSimpleMarkupsWidget::setViewGroup |
( |
int |
newViewGroup | ) |
|
Set views where slice positions will be updated on jump to slice. If it is set to -1 (by default it is) then all slices will be jumped.
◆ tableWidget()
Q_INVOKABLE QTableWidget* qSlicerSimpleMarkupsWidget::tableWidget |
( |
| ) |
const |
Get the markups table widget.
◆ updateFinished
void qSlicerSimpleMarkupsWidget::updateFinished |
( |
| ) |
|
|
signal |
This signal is emitted if updates to the widget have finished. It is called after fiducials are changed (added, position modified, etc).
◆ updateWidget
void qSlicerSimpleMarkupsWidget::updateWidget |
( |
| ) |
|
|
protectedslot |
Update the GUI to reflect the currently selected markups node.
◆ viewGroup()
int qSlicerSimpleMarkupsWidget::viewGroup |
( |
| ) |
const |
Get view group where slice positions will be updated.
◆ d_ptr
QScopedPointer<qSlicerSimpleMarkupsWidgetPrivate> qSlicerSimpleMarkupsWidget::d_ptr |
|
protected |
The documentation for this class was generated from the following file: