laserscanwidget.h
Go to the documentation of this file.
00001 
00018 #ifndef LASERSCANWIDGET_H
00019 #define LASERSCANWIDGET_H
00020 #ifndef Q_MOC_RUN
00021 #include <qwt_plot_curve.h>
00022 #include <qwt_plot.h>
00023 #endif
00024 #include <QWidget>
00025 #include "laserscanwidget.h"
00026 #include "laserscanthread.h"
00027 #include "polarpointseriesdata.h"
00028 //#include <qwt_polar_plot.h>
00029 //#include <qwt_polar_curve.h>
00030 
00031 class LaserScanWidget : public QWidget
00032 {
00033         Q_OBJECT
00034     protected:
00035         QwtPlotCurve *curve_roh_flat;
00036         //QwtPolarCurve *curve_roh_polar;
00037         QwtPlotCurve *curve_gemittelt_flat;
00038         //QwtPolarCurve *curve_gemittelt_polar;
00039         QwtPlotCurve *curve_gauss_flat;
00040         //QwtPolarCurve *curve_gauss_polar;
00041         QwtPlotCurve *curve_erkannt_flat;
00042         //QwtPolarCurve *curve_erkannt_polar;
00043         QwtPlotCurve *curve_ecke_flat;
00044         //QwtPolarCurve *curve_ecke_polar;
00045         QwtPlot *plot_flat;
00046         //QwtPolarPlot *plot_polar;
00047         LaserScanThread *currentThread;
00048 
00049         /*PolarPointSeriesData *seriesData_raw;
00050         PolarPointSeriesData *seriesData_avg;
00051         PolarPointSeriesData *seriesData_filtered;
00052         PolarPointSeriesData *seriesData_segments;
00053         PolarPointSeriesData *seriesData_edges;*/
00054         int appearance;
00055 
00056         void resizeEvent(QResizeEvent * event);
00057     public:
00058         explicit LaserScanWidget(QWidget *parent = 0, int appearance = APPEARENCE_FLAT, unsigned int showData = 1, LaserScanThread *currentThread = 0);
00059         void setGraph(int appearance, unsigned int showData);
00060         static const int APPEARENCE_FLAT = 0;
00061         static const int APPEARENCE_POLAR = 1;
00062 
00063     signals:
00064 
00065     public slots:
00066         void replot();
00067         void setCurves(unsigned int showData);
00068 };
00069 
00070 #endif // LASERSCANWIDGET_H


asr_mild_calibration_tool
Author(s): Aumann Florian, Heller Florian, Meißner Pascal
autogenerated on Thu Jun 6 2019 21:22:44