qMRMLPlotView is the display canvas for a Plot.
More...
#include <Libs/MRML/Widgets/qMRMLPlotView.h>
|
QScopedPointer< qMRMLPlotViewPrivate > | d_ptr |
|
qMRMLPlotView is the display canvas for a Plot.
qMRMLPlotView supports only 2D plots. For extending this class to 3DPlots it is needed to expand the mother class cktVTKChartView to use also vtkChartXYZ (currently exploiting only vtkChartXY).
Definition at line 45 of file qMRMLPlotView.h.
◆ Superclass
◆ qMRMLPlotView()
qMRMLPlotView::qMRMLPlotView |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
◆ ~qMRMLPlotView()
virtual qMRMLPlotView::~qMRMLPlotView |
( |
| ) |
|
|
virtual |
◆ dataSelected
void qMRMLPlotView::dataSelected |
( |
vtkStringArray * |
mrmlPlotSeriesIDs, |
|
|
vtkCollection * |
selectionCol |
|
) |
| |
|
signal |
Signal emitted when a data point or more has been selected. Returns the MRMLPlotSeriesNodes IDs and the correspective arrays with the data points ids (vtkIdTypeArray).
◆ fitToContent
void qMRMLPlotView::fitToContent |
( |
| ) |
|
|
slot |
Change axis limits to show all content.
◆ keyPressEvent()
virtual void qMRMLPlotView::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
protectedvirtual |
◆ keyReleaseEvent()
virtual void qMRMLPlotView::keyReleaseEvent |
( |
QKeyEvent * |
event | ) |
|
|
protectedvirtual |
◆ mrmlPlotViewNode()
Get the PlotView node observed by view.
◆ mrmlScene()
Return a pointer on the current MRML scene.
◆ mrmlSceneChanged
When designing custom qMRMLWidget in the designer, you can connect the mrmlSceneChanged signal directly to the aggregated MRML widgets that have a setMRMLScene slot.
◆ RemovePlotSelections
void qMRMLPlotView::RemovePlotSelections |
( |
| ) |
|
|
slot |
◆ setMRMLPlotViewNode
Set the current viewNode to observe.
◆ setMRMLScene
Set the MRML scene that should be listened for events.
◆ sizeHint()
virtual QSize qMRMLPlotView::sizeHint |
( |
| ) |
const |
|
virtual |
Redefine the sizeHint so layouts work properly.
◆ updateMRMLChartAxisRangeFromWidget
void qMRMLPlotView::updateMRMLChartAxisRangeFromWidget |
( |
| ) |
|
|
protectedslot |
◆ d_ptr
QScopedPointer<qMRMLPlotViewPrivate> qMRMLPlotView::d_ptr |
|
protected |
The documentation for this class was generated from the following file: