#include <Libs/Visualization/VTK/Widgets/ctkVTKChartView.h>
|
QScopedPointer< ctkVTKChartViewPrivate > | d_ptr |
|
Definition at line 37 of file ctkVTKChartView.h.
ctkVTKChartView::ctkVTKChartView |
( |
QWidget * |
parent = 0 | ) |
|
virtual ctkVTKChartView::~ctkVTKChartView |
( |
| ) |
|
|
virtual |
virtual Q_INVOKABLE void ctkVTKChartView::addPlot |
( |
vtkPlot * |
plot | ) |
|
|
virtual |
virtual void ctkVTKChartView::boundAxesToChartBounds |
( |
| ) |
|
|
virtualslot |
void ctkVTKChartView::boundsChanged |
( |
| ) |
|
|
signal |
Fired anytime the bound of a plot modifies the overal bounds.
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...)
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.
void ctkVTKChartView::chartBoundsToPlotBounds |
( |
double |
bounds[8], |
|
|
double |
plotBounds[4] |
|
) |
| const |
|
protected |
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
void ctkVTKChartView::chartUserBounds |
( |
double * |
bounds | ) |
const |
void ctkVTKChartView::extentChanged |
( |
| ) |
|
|
signal |
Fired anytime an axis is modified.
virtual void ctkVTKChartView::mouseDoubleClickEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
virtual void ctkVTKChartView::onChartUpdated |
( |
| ) |
|
|
protectedvirtual |
void ctkVTKChartView::plotAdded |
( |
vtkPlot * |
plot | ) |
|
|
signal |
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
void ctkVTKChartView::plotRemoved |
( |
vtkPlot * |
plot | ) |
|
|
signal |
void ctkVTKChartView::removeAllPlots |
( |
| ) |
|
|
slot |
Remove all the plots from the chart.
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.
Q_INVOKABLE vtkContextScene* ctkVTKChartView::scene |
( |
| ) |
const |
virtual void ctkVTKChartView::setAxesToChartBounds |
( |
| ) |
|
|
virtualslot |
void ctkVTKChartView::setChartUserBounds |
( |
double * |
bounds | ) |
|
void ctkVTKChartView::setTitle |
( |
const QString & |
title | ) |
|
QString ctkVTKChartView::title |
( |
| ) |
const |
Title that appears inside the view.
QScopedPointer<ctkVTKChartViewPrivate> ctkVTKChartView::d_ptr |
|
protected |
QString ctkVTKChartView::title |
|
readwrite |
The documentation for this class was generated from the following file: