|
Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Libs/MRML/Widgets/qMRMLSliceWidget.h>


Public Types | |
| typedef qMRMLAbstractViewWidget | Superclass |
| Superclass typedef. | |
Public Types inherited from qMRMLAbstractViewWidget | |
| typedef qMRMLWidget | Superclass |
| Superclass typedef. | |
Public Types inherited from qMRMLWidget | |
| typedef QWidget | Superclass |
Properties | |
| Qt::Orientation | sliceOffsetSliderOrientation |
| QString | sliceOrientation |
| QColor | sliceViewColor |
| QString | sliceViewLabel |
| QString | sliceViewName |
Properties inherited from qMRMLAbstractViewWidget | |
| QColor | viewColor |
| QString | viewLabel |
Public Slots | |
| void | fitSliceToBackground () |
| Fit slices to background. | |
| void | setImageDataConnection (vtkAlgorithmOutput *newImageDataConnection) |
| void | setMRMLAbstractViewNode (vtkMRMLAbstractViewNode *newSliceNode) override |
| void | setMRMLScene (vtkMRMLScene *newScene) override |
| void | setMRMLSliceNode (vtkMRMLSliceNode *newSliceNode) |
| void | setSliceOffsetSliderOrientation (Qt::Orientation orientation) |
| void | setSliceOrientation (const QString &orientation) |
Public Slots inherited from qMRMLAbstractViewWidget | |
| virtual void | pauseRender () |
| virtual void | resumeRender () |
| virtual void | setMRMLAbstractViewNode (vtkMRMLAbstractViewNode *newViewNode)=0 |
| Set the current viewNode to observe. | |
| virtual void | setRenderPaused (bool pause) |
Public Slots inherited from qMRMLWidget | |
| virtual void | setMRMLScene (vtkMRMLScene *newScene) |
| Set the MRML scene associated with the widget. | |
Signals | |
| void | nodeAboutToBeEdited (vtkMRMLNode *node) |
| Signal emitted when editing of a node is requested from within the slice widget. | |
Signals inherited from qMRMLWidget | |
| void | mrmlSceneChanged (vtkMRMLScene *) |
Public Member Functions | |
| Q_INVOKABLE qMRMLViewControllerBar * | controllerWidget () const override |
| Get slice controller. | |
| Q_INVOKABLE vtkAlgorithmOutput * | imageDataConnection () const |
| Q_INVOKABLE vtkInteractorObserver * | interactorStyle () const |
| Q_INVOKABLE vtkMRMLAbstractLogic * | logic () const override |
| Q_INVOKABLE vtkMRMLAbstractViewNode * | mrmlAbstractViewNode () const override |
| Get the View node observed by view. | |
| Q_INVOKABLE vtkMRMLSliceCompositeNode * | mrmlSliceCompositeNode () const |
| Q_INVOKABLE vtkMRMLSliceNode * | mrmlSliceNode () const |
| Q_INVOKABLE vtkCornerAnnotation * | overlayCornerAnnotation () const |
| Return the overlay corner annotation of the view. | |
| qMRMLSliceWidget (QWidget *parent=nullptr) | |
| Constructors. | |
| Q_INVOKABLE void | setSliceLogics (vtkCollection *logics) |
| propagates the logics to the qMRMLSliceControllerWidget | |
| void | setSliceViewColor (const QColor &newSliceViewColor) |
| void | setSliceViewLabel (const QString &newSliceViewLabel) |
| void | setSliceViewName (const QString &newSliceViewName) |
| Q_INVOKABLE qMRMLSliceControllerWidget * | sliceController () const |
| Get slice controller. | |
| Q_INVOKABLE vtkMRMLSliceLogic * | sliceLogic () const |
| Qt::Orientation | sliceOffsetSliderOrientation () const |
| Q_INVOKABLE QString | sliceOrientation () const |
| Q_INVOKABLE qMRMLSliceVerticalControllerWidget * | sliceVerticalController () const |
| Get vertical slice controller. | |
| Q_INVOKABLE qMRMLSliceView * | sliceView () const |
| QColor | sliceViewColor () const |
| QString | sliceViewLabel () const |
| QString | sliceViewName () const |
| Q_INVOKABLE QWidget * | viewWidget () const override |
| ~qMRMLSliceWidget () override | |
Public Member Functions inherited from qMRMLAbstractViewWidget | |
| qMRMLAbstractViewWidget (QWidget *parent=nullptr) | |
| Constructors. | |
| virtual Q_INVOKABLE void | setViewColor (const QColor &newViewColor) |
| virtual Q_INVOKABLE void | setViewLabel (const QString &newViewLabel) |
| virtual Q_INVOKABLE QColor | viewColor () const |
| virtual Q_INVOKABLE QString | viewLabel () const |
| ~qMRMLAbstractViewWidget () override=default | |
Public Member Functions inherited from qMRMLWidget | |
| Q_INVOKABLE vtkMRMLScene * | mrmlScene () const |
| Return a pointer on the current MRML scene. | |
| qMRMLWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
| ~qMRMLWidget () override | |
Protected Member Functions | |
| qMRMLSliceWidget (qMRMLSliceWidgetPrivate *obj, QWidget *parent) | |
| void | showEvent (QShowEvent *) override |
Protected Attributes | |
| QScopedPointer< qMRMLSliceWidgetPrivate > | d_ptr |
Protected Attributes inherited from qMRMLWidget | |
| QScopedPointer< qMRMLWidgetPrivate > | d_ptr |
Additional Inherited Members | |
Static Public Member Functions inherited from qMRMLWidget | |
| static Q_INVOKABLE QPixmap | pixmapFromIcon (const QIcon &icon) |
| static Q_INVOKABLE void | postInitializeApplication () |
| Initialization that needs to be performed after application object is created. | |
| static Q_INVOKABLE void | preInitializeApplication () |
Definition at line 49 of file qMRMLSliceWidget.h.
Superclass typedef.
Definition at line 60 of file qMRMLSliceWidget.h.
|
readwrite |
Definition at line 56 of file qMRMLSliceWidget.h.
|
readwrite |
Definition at line 52 of file qMRMLSliceWidget.h.
|
readwrite |
Definition at line 55 of file qMRMLSliceWidget.h.
|
readwrite |
Definition at line 54 of file qMRMLSliceWidget.h.
|
readwrite |
Definition at line 53 of file qMRMLSliceWidget.h.
|
explicit |
Constructors.
|
override |
|
protected |
Constructor allowing derived class to specify a specialized pimpl.
|
overridevirtual |
Get slice controller.
Implements qMRMLAbstractViewWidget.
|
slot |
Fit slices to background.
| Q_INVOKABLE vtkAlgorithmOutput * qMRMLSliceWidget::imageDataConnection | ( | ) | const |
| Q_INVOKABLE vtkInteractorObserver * qMRMLSliceWidget::interactorStyle | ( | ) | const |
Returns the interactor style of the view A const vtkInteractorObserver pointer is returned as you shouldn't mess too much with it. If you do, be aware that you are probably unsynchronizing the view from the nodes/logics.
|
overridevirtual |
Reimplemented from qMRMLAbstractViewWidget.
|
overridevirtual |
Get the View node observed by view.
Implements qMRMLAbstractViewWidget.
| Q_INVOKABLE vtkMRMLSliceCompositeNode * qMRMLSliceWidget::mrmlSliceCompositeNode | ( | ) | const |
| Q_INVOKABLE vtkMRMLSliceNode * qMRMLSliceWidget::mrmlSliceNode | ( | ) | const |
|
signal |
Signal emitted when editing of a node is requested from within the slice widget.
| Q_INVOKABLE vtkCornerAnnotation * qMRMLSliceWidget::overlayCornerAnnotation | ( | ) | const |
Return the overlay corner annotation of the view.
|
slot |
|
overrideslot |
|
overrideslot |
|
slot |
| Q_INVOKABLE void qMRMLSliceWidget::setSliceLogics | ( | vtkCollection * | logics | ) |
propagates the logics to the qMRMLSliceControllerWidget
|
slot |
This property holds the orientation of the slice offset slider. The orientation must be Qt::Horizontal (the default) or Qt::Vertical.
|
slot |
| void qMRMLSliceWidget::setSliceViewColor | ( | const QColor & | newSliceViewColor | ) |
| void qMRMLSliceWidget::setSliceViewLabel | ( | const QString & | newSliceViewLabel | ) |
| void qMRMLSliceWidget::setSliceViewName | ( | const QString & | newSliceViewName | ) |
|
overrideprotected |
| Q_INVOKABLE qMRMLSliceControllerWidget * qMRMLSliceWidget::sliceController | ( | ) | const |
Get slice controller.
| Q_INVOKABLE vtkMRMLSliceLogic * qMRMLSliceWidget::sliceLogic | ( | ) | const |
| Qt::Orientation qMRMLSliceWidget::sliceOffsetSliderOrientation | ( | ) | const |
This property holds the orientation of the slice offset slider. The orientation must be Qt::Horizontal (the default) or Qt::Vertical.
| Q_INVOKABLE QString qMRMLSliceWidget::sliceOrientation | ( | ) | const |
| Q_INVOKABLE qMRMLSliceVerticalControllerWidget * qMRMLSliceWidget::sliceVerticalController | ( | ) | const |
Get vertical slice controller.
| Q_INVOKABLE qMRMLSliceView * qMRMLSliceWidget::sliceView | ( | ) | const |
Get a reference to the underlying slice view. It is the widget that renders the view (contains vtkRenderWindow).
| QColor qMRMLSliceWidget::sliceViewColor | ( | ) | const |
| QString qMRMLSliceWidget::sliceViewLabel | ( | ) | const |
| QString qMRMLSliceWidget::sliceViewName | ( | ) | const |
|
overridevirtual |
Get a reference to the underlying view widget. Be careful if you change the viewWidget, you might unsynchronize the view from the nodes/logics.
Implements qMRMLAbstractViewWidget.
|
protected |
Definition at line 169 of file qMRMLSliceWidget.h.