laserscanwidget.h
Go to the documentation of this file.
1 
18 #ifndef LASERSCANWIDGET_H
19 #define LASERSCANWIDGET_H
20 #ifndef Q_MOC_RUN
21 #include <qwt_plot_curve.h>
22 #include <qwt_plot.h>
23 #endif
24 #include <QWidget>
25 #include "laserscanwidget.h"
26 #include "laserscanthread.h"
27 #include "polarpointseriesdata.h"
28 //#include <qwt_polar_plot.h>
29 //#include <qwt_polar_curve.h>
30 
31 class LaserScanWidget : public QWidget
32 {
33  Q_OBJECT
34  protected:
35  QwtPlotCurve *curve_roh_flat;
36  //QwtPolarCurve *curve_roh_polar;
37  QwtPlotCurve *curve_gemittelt_flat;
38  //QwtPolarCurve *curve_gemittelt_polar;
39  QwtPlotCurve *curve_gauss_flat;
40  //QwtPolarCurve *curve_gauss_polar;
41  QwtPlotCurve *curve_erkannt_flat;
42  //QwtPolarCurve *curve_erkannt_polar;
43  QwtPlotCurve *curve_ecke_flat;
44  //QwtPolarCurve *curve_ecke_polar;
45  QwtPlot *plot_flat;
46  //QwtPolarPlot *plot_polar;
48 
49  /*PolarPointSeriesData *seriesData_raw;
50  PolarPointSeriesData *seriesData_avg;
51  PolarPointSeriesData *seriesData_filtered;
52  PolarPointSeriesData *seriesData_segments;
53  PolarPointSeriesData *seriesData_edges;*/
55 
56  void resizeEvent(QResizeEvent * event);
57  public:
58  explicit LaserScanWidget(QWidget *parent = 0, int appearance = APPEARENCE_FLAT, unsigned int showData = 1, LaserScanThread *currentThread = 0);
59  void setGraph(int appearance, unsigned int showData);
60  static const int APPEARENCE_FLAT = 0;
61  static const int APPEARENCE_POLAR = 1;
62 
63  signals:
64 
65  public slots:
66  void replot();
67  void setCurves(unsigned int showData);
68 };
69 
70 #endif // LASERSCANWIDGET_H
QwtPlotCurve * curve_roh_flat
LaserScanWidget(QWidget *parent=0, int appearance=APPEARENCE_FLAT, unsigned int showData=1, LaserScanThread *currentThread=0)
void setGraph(int appearance, unsigned int showData)
LaserScanThread * currentThread
QwtPlotCurve * curve_gauss_flat
void resizeEvent(QResizeEvent *event)
QwtPlotCurve * curve_ecke_flat
static const int APPEARENCE_POLAR
QwtPlot * plot_flat
QwtPlotCurve * curve_erkannt_flat
void setCurves(unsigned int showData)
static const int APPEARENCE_FLAT
QwtPlotCurve * curve_gemittelt_flat


asr_mild_calibration_tool
Author(s): Aumann Florian, Heller Florian, Meißner Pascal
autogenerated on Mon Dec 2 2019 03:11:43