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 = nullptr | ) |
|
|
explicit |
◆ ~qMRMLPlotView()
qMRMLPlotView::~qMRMLPlotView |
( |
| ) |
|
|
override |
◆ 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()
void qMRMLPlotView::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
overrideprotected |
◆ keyReleaseEvent()
void qMRMLPlotView::keyReleaseEvent |
( |
QKeyEvent * |
event | ) |
|
|
overrideprotected |
◆ 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 |
◆ saveAsSVG
void qMRMLPlotView::saveAsSVG |
( |
const QString & |
fileName | ) |
|
|
slot |
Save the current plot as vector graphics, in svg file format. Note that regardless of the file extension in the input fileName, the extension of the created file will always be ".svg".
◆ setMRMLPlotViewNode
Set the current viewNode to observe.
◆ setMRMLScene
Set the MRML scene that should be listened for events.
◆ sizeHint()
QSize qMRMLPlotView::sizeHint |
( |
| ) |
const |
|
override |
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: