Main Page
Classes
Files
File List
File Members
include
VisualisationUtils
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>
28
#include "
CameraUtils/camerathread.h
"
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
:
38
CameraThread
*
camera
;
39
QImage *
image
;
40
QPainter *
painter
;
41
bool
painterInit
;
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
CameraWidget::painter
QPainter * painter
Definition:
camerawidget.h:40
CameraWidget::image
QImage * image
Definition:
camerawidget.h:39
CameraWidget::imageInit
bool imageInit
Definition:
camerawidget.h:42
CameraWidget::imageReceived
void imageReceived(const sensor_msgs::Image::ConstPtr &msg)
Definition:
camerawidget.cpp:33
CameraWidget
Definition:
camerawidget.h:32
CameraWidget::CameraWidget
CameraWidget(QWidget *parent=0, CameraThread *camera=0)
Definition:
camerawidget.cpp:20
CameraWidget::ee
int ee
Definition:
camerawidget.h:46
camerathread.h
CameraWidget::paintEvent
void paintEvent(QPaintEvent *pe)
Definition:
camerawidget.cpp:49
CameraThread
Definition:
camerathread.h:28
CameraWidget::dd
int dd
Definition:
camerawidget.h:45
CameraWidget::resizeEvent
void resizeEvent(QResizeEvent *event)
Definition:
camerawidget.cpp:61
CameraWidget::camera
CameraThread * camera
Definition:
camerawidget.h:38
CameraWidget::painterInit
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