![]() |
Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
qMRMLPlotWidget is the top-level Plotting widget that can be packed in a layout. More...
#include <Libs/MRML/Widgets/qMRMLPlotWidget.h>
Public Types | |
typedef qMRMLAbstractViewWidget | Superclass |
Superclass typedef. | |
![]() | |
typedef qMRMLWidget | Superclass |
Superclass typedef. | |
![]() | |
typedef QWidget | Superclass |
Public Slots | |
void | setMRMLAbstractViewNode (vtkMRMLAbstractViewNode *newViewNode) override |
void | setMRMLPlotViewNode (vtkMRMLPlotViewNode *newPlotViewNode) |
Set the current viewNode to observe. | |
![]() | |
virtual void | pauseRender () |
virtual void | resumeRender () |
virtual void | setMRMLAbstractViewNode (vtkMRMLAbstractViewNode *newViewNode)=0 |
Set the current viewNode to observe. | |
virtual void | setRenderPaused (bool pause) |
![]() | |
virtual void | setMRMLScene (vtkMRMLScene *newScene) |
Set the MRML scene associated with the widget. | |
Public Member Functions | |
Q_INVOKABLE qMRMLViewControllerBar * | controllerWidget () const override |
Get slice controller. | |
Q_INVOKABLE vtkMRMLAbstractViewNode * | mrmlAbstractViewNode () const override |
Get the View node observed by view. | |
Q_INVOKABLE vtkMRMLPlotViewNode * | mrmlPlotViewNode () const |
Get the Plot node observed by view. | |
Q_INVOKABLE qMRMLPlotViewControllerWidget * | plotController () const |
Get plot view controller widget. | |
Q_INVOKABLE qMRMLPlotView * | plotView () const |
qMRMLPlotWidget (QWidget *parent=nullptr) | |
Constructors. | |
Q_INVOKABLE QWidget * | viewWidget () const override |
~qMRMLPlotWidget () override | |
![]() | |
virtual Q_INVOKABLE vtkMRMLAbstractLogic * | logic () const |
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 | |
![]() | |
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 Attributes | |
QScopedPointer< qMRMLPlotWidgetPrivate > | d_ptr |
![]() | |
QScopedPointer< qMRMLWidgetPrivate > | d_ptr |
Additional Inherited Members | |
![]() | |
QColor | viewColor |
QString | viewLabel |
![]() | |
void | mrmlSceneChanged (vtkMRMLScene *) |
![]() | |
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 () |
qMRMLPlotWidget is the top-level Plotting widget that can be packed in a layout.
qMRMLPlotWidget provides plotting capabilities with a display canvas for the plot and a controller widget to control the content and properties of the plot.
Definition at line 43 of file qMRMLPlotWidget.h.
Superclass typedef.
Definition at line 49 of file qMRMLPlotWidget.h.
|
explicit |
Constructors.
|
override |
|
overridevirtual |
Get slice controller.
Implements qMRMLAbstractViewWidget.
|
overridevirtual |
Get the View node observed by view.
Implements qMRMLAbstractViewWidget.
Q_INVOKABLE vtkMRMLPlotViewNode * qMRMLPlotWidget::mrmlPlotViewNode | ( | ) | const |
Get the Plot node observed by view.
Q_INVOKABLE qMRMLPlotViewControllerWidget * qMRMLPlotWidget::plotController | ( | ) | const |
Get plot view controller widget.
Q_INVOKABLE qMRMLPlotView * qMRMLPlotWidget::plotView | ( | ) | const |
Get a reference to the underlying Plot View Be careful if you change the PlotView, you might unsynchronize the view from the nodes/logics.
|
overrideslot |
|
slot |
Set the current viewNode to observe.
|
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 75 of file qMRMLPlotWidget.h.