12 #include <vtkChartXY.h>
13 #include <vtkChartXYZ.h>
14 #include <vtkContextScene.h>
15 #include <vtkContextView.h>
16 #include <vtkFloatArray.h>
18 #include <vtkPlotLine3D.h>
19 #include <vtkPlotPoints3D.h>
20 #include <vtkPlotSurface.h>
21 #include <vtkRenderWindow.h>
22 #include <vtkRenderer.h>
24 #include <vtkVariant.h>
28 class VtkPlotWidgetPrivate {
30 ~VtkPlotWidgetPrivate();
32 vtkContextView* contextView;
35 VtkPlotWidgetPrivate::~VtkPlotWidgetPrivate() {
40 setWindowTitle(tr(
"ChartXY"));
41 d_ptr =
new VtkPlotWidgetPrivate;
48 d_ptr->contextView = vtkContextView::New();
50 d_ptr->contextView->GetRenderWindow()->SetMultiSamples(0);
51 d_ptr->contextView->GetRenderWindow()->Render();
55 return d_ptr->contextView;
void vtkSafeDelete(T *obj)