#include <Libs/Visualization/VTK/Widgets/ctkVTKChartView.h>
|
QScopedPointer< ctkVTKChartViewPrivate > | d_ptr |
|
Definition at line 36 of file ctkVTKChartView.h.
◆ Superclass
◆ ctkVTKChartView()
ctkVTKChartView::ctkVTKChartView |
( |
QWidget * |
parent = 0 | ) |
|
◆ ~ctkVTKChartView()
virtual ctkVTKChartView::~ctkVTKChartView |
( |
| ) |
|
|
virtual |
◆ addPlot()
virtual Q_INVOKABLE void ctkVTKChartView::addPlot |
( |
vtkPlot * |
plot | ) |
|
|
virtual |
◆ boundAxesToChartBounds
virtual void ctkVTKChartView::boundAxesToChartBounds |
( |
| ) |
|
|
virtualslot |
◆ boundsChanged
void ctkVTKChartView::boundsChanged |
( |
| ) |
|
|
signal |
Fired anytime the bound of a plot modifies the overall bounds.
◆ chart()
Q_INVOKABLE vtkChartXY* ctkVTKChartView::chart |
( |
| ) |
const |
Utility function that returns the view chart. It can be used for customizing the chart display options (axes, legend...)
◆ chartBounds()
void ctkVTKChartView::chartBounds |
( |
double |
bounds[8] | ) |
const |
Return the chart bounds for the 4 chart axes. bounds must be an array of 8 doubles. If no bounds is provided by the user, compute the bounds for the 4 chart axes from the vtkPlots bounds.
◆ chartBoundsToPlotBounds()
void ctkVTKChartView::chartBoundsToPlotBounds |
( |
double |
bounds[8], |
|
|
double |
plotBounds[4] |
|
) |
| const |
|
protected |
◆ chartExtent()
void ctkVTKChartView::chartExtent |
( |
double |
bounds[8] | ) |
const |
Return the chart extent for the 4 chart axes. extent must be an array of 8 doubles The current extent is the visible area on the chart. it is equivalent to the Minimum/Maximum of the axes
◆ chartUserBounds()
void ctkVTKChartView::chartUserBounds |
( |
double * |
bounds | ) |
const |
◆ extentChanged
void ctkVTKChartView::extentChanged |
( |
| ) |
|
|
signal |
Fired anytime an axis is modified.
◆ mouseDoubleClickEvent()
virtual void ctkVTKChartView::mouseDoubleClickEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
◆ onChartUpdated()
virtual void ctkVTKChartView::onChartUpdated |
( |
| ) |
|
|
protectedvirtual |
◆ plotAdded
void ctkVTKChartView::plotAdded |
( |
vtkPlot * |
plot | ) |
|
|
signal |
◆ plotIndex()
Q_INVOKABLE vtkIdType ctkVTKChartView::plotIndex |
( |
vtkPlot * |
plot | ) |
|
Return the id of the plot in the chart. -1 if the plot is not found in the chart
◆ plotRemoved
void ctkVTKChartView::plotRemoved |
( |
vtkPlot * |
plot | ) |
|
|
signal |
◆ removeAllPlots
void ctkVTKChartView::removeAllPlots |
( |
| ) |
|
|
slot |
Remove all the plots from the chart.
◆ removePlot()
virtual Q_INVOKABLE void ctkVTKChartView::removePlot |
( |
vtkPlot * |
plot | ) |
|
|
virtual |
Remove the plot from the chart. Do nothing if plot is not in the chart. Emit the plotRemoved(vtkPlot*) signal.
◆ scene()
Q_INVOKABLE vtkContextScene* ctkVTKChartView::scene |
( |
| ) |
const |
◆ setAxesToChartBounds
virtual void ctkVTKChartView::setAxesToChartBounds |
( |
| ) |
|
|
virtualslot |
◆ setChartUserBounds()
void ctkVTKChartView::setChartUserBounds |
( |
double * |
bounds | ) |
|
◆ setChartUserExtent()
void ctkVTKChartView::setChartUserExtent |
( |
double * |
userExtent | ) |
|
◆ setTitle()
void ctkVTKChartView::setTitle |
( |
const QString & |
title | ) |
|
◆ title()
QString ctkVTKChartView::title |
( |
| ) |
const |
Title that appears inside the view.
◆ d_ptr
QScopedPointer<ctkVTKChartViewPrivate> ctkVTKChartView::d_ptr |
|
protected |
◆ title
QVTK_OBJECTQString ctkVTKChartView::title |
|
readwrite |
The documentation for this class was generated from the following file: