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


Public Types | |
| typedef qMRMLWidget | Superclass |
| Superclass typedef. | |
Public Types inherited from qMRMLWidget | |
| typedef QWidget | Superclass |
Properties | |
| QColor | viewColor |
| QString | viewLabel |
Public Slots | |
| 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. | |
Public Member Functions | |
| virtual Q_INVOKABLE qMRMLViewControllerBar * | controllerWidget () const =0 |
| Get slice controller. | |
| virtual Q_INVOKABLE vtkMRMLAbstractLogic * | logic () const |
| virtual Q_INVOKABLE vtkMRMLAbstractViewNode * | mrmlAbstractViewNode () const =0 |
| Get the View node observed by view. | |
| 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 |
| virtual Q_INVOKABLE QWidget * | viewWidget () const =0 |
| ~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 | |
Additional Inherited Members | |
Signals inherited from qMRMLWidget | |
| void | mrmlSceneChanged (vtkMRMLScene *) |
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 () |
| static QString | safeQStringFromUtf8Ptr (const char *cString) |
Protected Attributes inherited from qMRMLWidget | |
| QScopedPointer< qMRMLWidgetPrivate > | d_ptr |
Definition at line 37 of file qMRMLAbstractViewWidget.h.
Superclass typedef.
Definition at line 46 of file qMRMLAbstractViewWidget.h.
|
readwrite |
Definition at line 42 of file qMRMLAbstractViewWidget.h.
|
readwrite |
Definition at line 41 of file qMRMLAbstractViewWidget.h.
|
explicit |
Constructors.
|
overridedefault |
|
pure virtual |
Get slice controller.
Implemented in qMRMLPlotWidget, qMRMLSliceWidget, qMRMLTableWidget, and qMRMLThreeDWidget.
|
virtual |
Reimplemented in qMRMLSliceWidget, and qMRMLThreeDWidget.
|
pure virtual |
Get the View node observed by view.
Implemented in qMRMLPlotWidget, qMRMLSliceWidget, qMRMLTableWidget, and qMRMLThreeDWidget.
|
virtualslot |
Increments the pause render count
|
virtualslot |
De-increments the pause render count and calls scheduleRender() if one is currently pending
|
pure virtualslot |
Set the current viewNode to observe.
|
virtualslot |
Calls pauseRender() if pause is true or resumeRender() if pause is false
|
virtual |
Set the color displayed in the controlled widget.
|
virtual |
Set the text displayed in the controlled widget label.
|
virtual |
Get the color displayed in the controlled widget.
|
virtual |
Get the text displayed in the controlled widget label.
|
pure virtual |
Get a reference to the underlying view widget. Be careful if you change the viewWidget, you might unsynchronize the view from the nodes/logics.
Implemented in qMRMLPlotWidget, qMRMLSliceWidget, qMRMLTableWidget, and qMRMLThreeDWidget.