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 46 of file qMRMLPlotView.h.
◆ Superclass
◆ qMRMLPlotView()
qMRMLPlotView::qMRMLPlotView |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
◆ ~qMRMLPlotView()
virtual qMRMLPlotView::~qMRMLPlotView |
( |
| ) |
|
|
virtual |
◆ colorLogic()
Get the application color logic. 0 by default.
◆ dataSelected
void qMRMLPlotView::dataSelected |
( |
vtkStringArray * |
mrmlPlotDataIDs, |
|
|
vtkCollection * |
selectionCol |
|
) |
| |
|
signal |
Signal emitted when a data point or more has been selected. Returns the MRMLPlotDataNodes IDs and the correspective arrays with the data points ids (vtkIdTypeArray).
◆ 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.
◆ setColorLogic()
Set the application color logic for default node color.
◆ 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.
◆ d_ptr
QScopedPointer<qMRMLPlotViewPrivate> qMRMLPlotView::d_ptr |
|
protected |
The documentation for this class was generated from the following file: