camerawidget.h
Go to the documentation of this file.
00001 
00018 #ifndef CAMERAWIDGET_H
00019 #define CAMERAWIDGET_H
00020 
00021 #include <QWidget>
00022 #include <QPainter>
00023 #include <QImage>
00024 #include <QRgb>
00025 #include <QRect>
00026 #include <QPoint>
00027 #include <QPaintEvent>
00028 #include "CameraUtils/camerathread.h"
00029 #ifndef Q_MOC_RUN
00030 #include <sensor_msgs/Image.h>
00031 #endif
00032 class CameraWidget : public QWidget
00033 {
00034     Q_OBJECT
00035 public:
00036     explicit CameraWidget(QWidget *parent = 0, CameraThread * camera = 0);
00037 private:
00038     CameraThread * camera;
00039     QImage *image;
00040     QPainter * painter;
00041     bool painterInit;
00042     bool imageInit;
00043     void paintEvent(QPaintEvent * pe);
00044     void resizeEvent(QResizeEvent * event);
00045     int dd;
00046     int ee;
00047 signals:
00048 
00049 public slots:
00050     void imageReceived(const sensor_msgs::Image::ConstPtr& msg);
00051     
00052 };
00053 
00054 #endif // CAMERAWIDGET_H


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