Slicer
5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Base/QTGUI/qSlicerMouseModeToolBar.h>
Public Types | |
typedef QToolBar | Superclass |
Properties | |
QString | defaultPlaceClassName |
"vtkMRMLAnnotationFiducialNode" by default. More... | |
Public Slots | |
void | changeCursorTo (QCursor cursor) |
void | interactionModeActionTriggered (bool) |
void | setAdjustWindowLevelMode (int) |
void | setApplicationLogic (vtkSlicerApplicationLogic *logic) |
void | setInteractionNode (vtkMRMLInteractionNode *interactionNode) |
void | setMRMLScene (vtkMRMLScene *newScene) |
Observe the mrml scene to prevent updates in batch processing modes. More... | |
void | setPersistence (bool persistent) |
Update the interaction node's persistent place mode from the UI. More... | |
void | switchPlaceMode () |
Switch to placing items of annotationID type. More... | |
void | switchToViewTransformMode () |
void | toggleMarkupsToolBar () |
Public Member Functions | |
QString | defaultPlaceClassName () const |
Q_INVOKABLE vtkMRMLInteractionNode * | interactionNode () const |
qSlicerMouseModeToolBar (const QString &title, QWidget *parent=nullptr) | |
qSlicerMouseModeToolBar (QWidget *parent=nullptr) | |
void | setDefaultPlaceClassName (const QString &className) |
~qSlicerMouseModeToolBar () override | |
Protected Member Functions | |
QAction * | actionFromPlaceNodeClassName (QString placeNodeClassName, QMenu *menu) |
Protected Attributes | |
QScopedPointer< qSlicerMouseModeToolBarPrivate > | d_ptr |
qSlicerMouseModeToolBar is a toolbar that can be used to switch between mouse modes: PickMode, PickModePersistent, PlaceMode, PlaceModePersistent, TransformMode
Definition at line 42 of file qSlicerMouseModeToolBar.h.
typedef QToolBar qSlicerMouseModeToolBar::Superclass |
Definition at line 48 of file qSlicerMouseModeToolBar.h.
|
readwrite |
"vtkMRMLAnnotationFiducialNode" by default.
Definition at line 46 of file qSlicerMouseModeToolBar.h.
qSlicerMouseModeToolBar::qSlicerMouseModeToolBar | ( | const QString & | title, |
QWidget * | parent = nullptr |
||
) |
Constructor Title is the name of the toolbar (can appear using right click on the toolbar area)
qSlicerMouseModeToolBar::qSlicerMouseModeToolBar | ( | QWidget * | parent = nullptr | ) |
|
override |
|
protected |
|
slot |
QString qSlicerMouseModeToolBar::defaultPlaceClassName | ( | ) | const |
|
slot |
Q_INVOKABLE vtkMRMLInteractionNode* qSlicerMouseModeToolBar::interactionNode | ( | ) | const |
Get interaction node.
|
slot |
|
slot |
Set the application logic. It is used to retrieve the selection and interaction nodes.
void qSlicerMouseModeToolBar::setDefaultPlaceClassName | ( | const QString & | className | ) |
|
slot |
Set interaction node used to update the toolbar.
|
slot |
Observe the mrml scene to prevent updates in batch processing modes.
|
slot |
Update the interaction node's persistent place mode from the UI.
|
slot |
Switch to placing items of annotationID type.
|
slot |
|
slot |
|
protected |
Definition at line 93 of file qSlicerMouseModeToolBar.h.