63 #ifndef ACG_QWTFUNCTIONPLOT_HH
64 #define ACG_QWTFUNCTIONPLOT_HH
70 #if QT_VERSION >= 0x050000
77 #include <qwt_plot_curve.h>
78 #include <qwt_plot_zoomer.h>
79 #include <qwt_scale_engine.h>
80 #include <qwt_plot_marker.h>
85 #include <ui_QwtFunctionPlotBase.hh>
90 #if QWT_VERSION >= 0x060000
91 #include <ACG/QwtWidgets/QwtHistogramm.hh>
93 #include "HistogramItem.hh"
97 #include "TextureParameters.hh"
111 class QwtFunctionPlot :
public QDialog,
public Ui::QwtFunctionPlotBase
117 QwtFunctionPlot( QWidget* _parent = 0 );
120 ~QwtFunctionPlot() {}
123 void setFunction( std::vector<double>& _values );
129 void setParameters(
bool repeat,
double repeatMax,
130 bool clamp,
double clampMin,
double clampMax,
140 void setImage(QImage* _image);
151 QwtPlotZoomer* plot_zoomer_;
153 QwtPlotMarker* clampMinMarker_;
154 QwtSymbol* minSymbol_;
156 QwtPlotMarker* clampMaxMarker_;
157 QwtSymbol* maxSymbol_;
160 #if QWT_VERSION >= 0x060000
166 std::vector<double> values_;
183 #endif // ACG_QWTFUNCTIONPLOT_HH defined
Namespace providing different geometric functions concerning angles.
Histogram plotting widget.