camerawidget.h
Go to the documentation of this file.
1 
18 #ifndef CAMERAWIDGET_H
19 #define CAMERAWIDGET_H
20 
21 #include <QWidget>
22 #include <QPainter>
23 #include <QImage>
24 #include <QRgb>
25 #include <QRect>
26 #include <QPoint>
27 #include <QPaintEvent>
29 #ifndef Q_MOC_RUN
30 #include <sensor_msgs/Image.h>
31 #endif
32 class CameraWidget : public QWidget
33 {
34  Q_OBJECT
35 public:
36  explicit CameraWidget(QWidget *parent = 0, CameraThread * camera = 0);
37 private:
39  QImage *image;
40  QPainter * painter;
42  bool imageInit;
43  void paintEvent(QPaintEvent * pe);
44  void resizeEvent(QResizeEvent * event);
45  int dd;
46  int ee;
47 signals:
48 
49 public slots:
50  void imageReceived(const sensor_msgs::Image::ConstPtr& msg);
51 
52 };
53 
54 #endif // CAMERAWIDGET_H
QPainter * painter
Definition: camerawidget.h:40
QImage * image
Definition: camerawidget.h:39
void imageReceived(const sensor_msgs::Image::ConstPtr &msg)
CameraWidget(QWidget *parent=0, CameraThread *camera=0)
void paintEvent(QPaintEvent *pe)
void resizeEvent(QResizeEvent *event)
CameraThread * camera
Definition: camerawidget.h:38
bool painterInit
Definition: camerawidget.h:41


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