63 #ifndef ACG_QWTFUNCTIONPLOT_HH 64 #define ACG_QWTFUNCTIONPLOT_HH 71 #if QT_VERSION >= 0x050000 78 #include <qwt_plot_curve.h> 79 #include <qwt_plot_zoomer.h> 80 #include <qwt_scale_engine.h> 81 #include <qwt_plot_marker.h> 83 #include <ui_QwtFunctionPlotBase.hh> 85 #include <ACG/QwtWidgets/QwtHistogramm.hh> 98 class QwtFunctionPlot :
public QDialog,
public Ui::QwtFunctionPlotBase
104 QwtFunctionPlot( QWidget* _parent = 0 );
107 ~QwtFunctionPlot() {}
110 void setFunction(
const std::vector<double>& _values );
112 void setMinMax(
double _min,
double _max);
120 QwtPlotZoomer* plot_zoomer_;
122 QwtPlotMarker* clampMinMarker_;
123 QwtSymbol* minSymbol_;
125 QwtPlotMarker* clampMaxMarker_;
126 QwtSymbol* maxSymbol_;
132 std::vector<double> values_;
141 #endif // ACG_QWTFUNCTIONPLOT_HH defined