Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Properties | Public Slots | Public Member Functions | Protected Attributes
qMRMLPlotWidget Class Reference

qMRMLPlotWidget is the toplevel Plotting widget that can be packed in a layout. More...

#include <Libs/MRML/Widgets/qMRMLPlotWidget.h>

Inheritance diagram for qMRMLPlotWidget:
Inheritance graph
[legend]
Collaboration diagram for qMRMLPlotWidget:
Collaboration graph
[legend]

Public Types

typedef qMRMLWidget Superclass
 Superclass typedef. More...
 
- Public Types inherited from qMRMLWidget
typedef QWidget Superclass
 

Properties

QString viewLabel
 

Public Slots

void setMRMLPlotViewNode (vtkMRMLPlotViewNode *newPlotViewNode)
 Set the current viewNode to observe. More...
 
- Public Slots inherited from qMRMLWidget
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene associated with the widget. More...
 

Public Member Functions

Q_INVOKABLE vtkMRMLColorLogiccolorLogic () const
 
Q_INVOKABLE vtkMRMLPlotViewNodemrmlPlotViewNode () const
 Get the Plot node observed by view. More...
 
Q_INVOKABLE qMRMLPlotViewplotView () const
 
 qMRMLPlotWidget (QWidget *parent=0)
 Constructors. More...
 
Q_INVOKABLE void setColorLogic (vtkMRMLColorLogic *colorLogic)
 Set the color logic that is used by the view. More...
 
void setViewLabel (const QString &newPlotViewLabel)
 
QString viewLabel () const
 
virtual ~qMRMLPlotWidget ()
 
- Public Member Functions inherited from qMRMLWidget
Q_INVOKABLE vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene. More...
 
 qMRMLWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~qMRMLWidget ()
 

Protected Attributes

QScopedPointer< qMRMLPlotWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qMRMLWidget
QScopedPointer< qMRMLWidgetPrivate > d_ptr
 

Additional Inherited Members

- Signals inherited from qMRMLWidget
void mrmlSceneChanged (vtkMRMLScene *)
 

Detailed Description

qMRMLPlotWidget is the toplevel 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 44 of file qMRMLPlotWidget.h.

Member Typedef Documentation

◆ Superclass

Superclass typedef.

Definition at line 50 of file qMRMLPlotWidget.h.

Property Documentation

◆ viewLabel

QString qMRMLPlotWidget::viewLabel
readwrite

Definition at line 47 of file qMRMLPlotWidget.h.

Constructor & Destructor Documentation

◆ qMRMLPlotWidget()

qMRMLPlotWidget::qMRMLPlotWidget ( QWidget *  parent = 0)
explicit

Constructors.

◆ ~qMRMLPlotWidget()

virtual qMRMLPlotWidget::~qMRMLPlotWidget ( )
virtual

Member Function Documentation

◆ colorLogic()

Q_INVOKABLE vtkMRMLColorLogic* qMRMLPlotWidget::colorLogic ( ) const

◆ mrmlPlotViewNode()

Q_INVOKABLE vtkMRMLPlotViewNode* qMRMLPlotWidget::mrmlPlotViewNode ( ) const

Get the Plot node observed by view.

◆ plotView()

Q_INVOKABLE qMRMLPlotView* qMRMLPlotWidget::plotView ( ) const

Get a reference to the underlying Plot View Becareful if you change the PlotView, you might unsynchronize the view from the nodes/logics.

◆ setColorLogic()

Q_INVOKABLE void qMRMLPlotWidget::setColorLogic ( vtkMRMLColorLogic colorLogic)

Set the color logic that is used by the view.

◆ setMRMLPlotViewNode

void qMRMLPlotWidget::setMRMLPlotViewNode ( vtkMRMLPlotViewNode newPlotViewNode)
slot

Set the current viewNode to observe.

◆ setViewLabel()

void qMRMLPlotWidget::setViewLabel ( const QString &  newPlotViewLabel)

Set the view label for the Plot.

See also
qMRMLPlotControllerWidget::PlotViewLabel()
PlotViewLabel()

◆ viewLabel()

QString qMRMLPlotWidget::viewLabel ( ) const

Get the view label for the Plot.

See also
qMRMLPlotControllerWidget::PlotViewLabel()
setPlotViewLabel()

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLPlotWidgetPrivate> qMRMLPlotWidget::d_ptr
protected

Definition at line 83 of file qMRMLPlotWidget.h.


The documentation for this class was generated from the following file: