#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 = nullptr | ) |
|
◆ ~qSlicerSimpleMarkupsWidget()
qSlicerSimpleMarkupsWidget::~qSlicerSimpleMarkupsWidget |
( |
| ) |
|
|
override |
◆ 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 |
◆ activeMarkupsPlaceModeChanged
void qSlicerSimpleMarkupsWidget::activeMarkupsPlaceModeChanged |
( |
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.
◆ currentMarkupsControlPointSelectionChanged
void qSlicerSimpleMarkupsWidget::currentMarkupsControlPointSelectionChanged |
( |
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.
◆ currentMarkupsFiducialSelectionChanged
void qSlicerSimpleMarkupsWidget::currentMarkupsFiducialSelectionChanged |
( |
int |
markupIndex | ) |
|
|
signal |
- Deprecated:
- Use currentMarkupsControlPointSelectionChanged instead
◆ 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 |
( |
| ) |
|
◆ highlightNthControlPoint
void qSlicerSimpleMarkupsWidget::highlightNthControlPoint |
( |
int |
n | ) |
|
|
slot |
Scrolls to and selects the Nth control point in the table of control points.
◆ highlightNthFiducial
void qSlicerSimpleMarkupsWidget::highlightNthFiducial |
( |
int |
n | ) |
|
|
slot |
◆ interactionNode()
◆ jumpToSliceEnabled()
bool qSlicerSimpleMarkupsWidget::jumpToSliceEnabled |
( |
| ) |
const |
If enabled then the control point will be shown in all slice views when a caontrol point is selected /sa setViewGroup
◆ markupsFiducialNodeChanged
void qSlicerSimpleMarkupsWidget::markupsFiducialNodeChanged |
( |
| ) |
|
|
signal |
◆ markupsNodeChanged
void qSlicerSimpleMarkupsWidget::markupsNodeChanged |
( |
| ) |
|
|
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.
◆ onMarkupsControlPointEdited
void qSlicerSimpleMarkupsWidget::onMarkupsControlPointEdited |
( |
int |
row, |
|
|
int |
column |
|
) |
| |
|
protectedslot |
Edit the name or position of the currently selected markups node.
◆ onMarkupsControlPointSelected
void qSlicerSimpleMarkupsWidget::onMarkupsControlPointSelected |
( |
int |
row, |
|
|
int |
column |
|
) |
| |
|
protectedslot |
Clicked on a control point or used keyboard to move between control points in the table.
◆ onMarkupsControlPointsTableContextMenu
void qSlicerSimpleMarkupsWidget::onMarkupsControlPointsTableContextMenu |
( |
const QPoint & |
position | ) |
|
|
protectedslot |
Create context menu for the table displaying the currently selected markups node.
◆ onMarkupsNodeAdded
void qSlicerSimpleMarkupsWidget::onMarkupsNodeAdded |
( |
vtkMRMLNode * |
| ) |
|
|
protectedslot |
Setup a newly created markups node - add display node, set color.
◆ onMarkupsNodeChanged
void qSlicerSimpleMarkupsWidget::onMarkupsNodeChanged |
( |
| ) |
|
|
protectedslot |
Update the widget when a different markups node is selected by the combo box.
◆ onPointAdded
void qSlicerSimpleMarkupsWidget::onPointAdded |
( |
| ) |
|
|
protectedslot |
Update the GUI to reflect 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.
◆ setInteractionNode
◆ setJumpToSliceEnabled
void qSlicerSimpleMarkupsWidget::setJumpToSliceEnabled |
( |
bool |
| ) |
|
|
slot |
If enabled then the control point will be shown in all slice views when a control point is selected.
◆ setMRMLScene
void qSlicerSimpleMarkupsWidget::setMRMLScene |
( |
vtkMRMLScene * |
scene | ) |
|
|
overrideslot |
◆ 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 control points 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: