Slicer
4.10
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 | 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 () |
Public Member Functions | |
QString | activeActionText () |
For testing, return the active action text. More... | |
QString | defaultPlaceClassName () const |
Q_INVOKABLE vtkMRMLInteractionNode * | interactionNode () const |
qSlicerMouseModeToolBar (const QString &title, QWidget *parent=0) | |
qSlicerMouseModeToolBar (QWidget *parent=0) | |
void | setDefaultPlaceClassName (const QString &className) |
virtual | ~qSlicerMouseModeToolBar () |
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 = 0 |
||
) |
Constructor Title is the name of the toolbar (can appear using right click on the toolbar area)
qSlicerMouseModeToolBar::qSlicerMouseModeToolBar | ( | QWidget * | parent = 0 | ) |
|
virtual |
|
protected |
QString qSlicerMouseModeToolBar::activeActionText | ( | ) |
For testing, return the active action text.
|
slot |
QString qSlicerMouseModeToolBar::defaultPlaceClassName | ( | ) | const |
Q_INVOKABLE vtkMRMLInteractionNode* qSlicerMouseModeToolBar::interactionNode | ( | ) | const |
Get interaction node.
|
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 |
|
protected |
Definition at line 90 of file qSlicerMouseModeToolBar.h.