21 #ifndef __ctkVTKChartView_h
22 #define __ctkVTKChartView_h
27 #include "ctkVisualizationVTKWidgetsExport.h"
28 class ctkVTKChartViewPrivate;
32 class vtkContextScene;
40 Q_PROPERTY(QString title READ title WRITE setTitle)
49 Q_INVOKABLE
virtual void addPlot(vtkPlot* plot);
61 Q_INVOKABLE vtkChartXY*
chart()
const;
62 Q_INVOKABLE vtkContextScene*
scene()
const;
102 QScopedPointer<ctkVTKChartViewPrivate>
d_ptr;
void setTitle(const QString &title)
void chartBounds(double bounds[8]) const
void plotRemoved(vtkPlot *plot)
void setChartUserBounds(double *bounds)
void extentChanged()
Fired anytime an axis is modified.
virtual void boundAxesToChartBounds()
Q_INVOKABLE vtkContextScene * scene() const
void boundsChanged()
Fired anytime the bound of a plot modifies the overall bounds.
virtual Q_INVOKABLE void addPlot(vtkPlot *plot)
ctkVTKOpenGLNativeWidget Superclass
QString title() const
Title that appears inside the view.
void removeAllPlots()
Remove all the plots from the chart.
virtual void mouseDoubleClickEvent(QMouseEvent *event)
virtual void onChartUpdated()
void plotAdded(vtkPlot *plot)
Q_INVOKABLE vtkIdType plotIndex(vtkPlot *plot)
virtual void setAxesToChartBounds()
Q_INVOKABLE vtkChartXY * chart() const
virtual Q_INVOKABLE void removePlot(vtkPlot *plot)
void chartExtent(double bounds[8]) const
ctkVTKChartView(QWidget *parent=0)
void setChartUserExtent(double *userExtent)
void chartUserBounds(double *bounds) const
virtual ~ctkVTKChartView()
void chartBoundsToPlotBounds(double bounds[8], double plotBounds[4]) const
QScopedPointer< ctkVTKChartViewPrivate > d_ptr
#define QVTK_OBJECT
Define VTK/Qt event/slot connection utility methods. It is a convenient macro that declares and defin...