05Robot 3.0

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

PlaneCalibrationWindow.h
Go to the documentation of this file.
1
7 #ifndef PLANECALIBRATIONWINDOW_H
8 #define PLANECALIBRATIONWINDOW_H
9
10 #include <QWidget>
11 #include "ProcessorWindow.h"
12 #include "ui_PlaneCalibrationWindow.h"
13 #include "ProcessorObject.h"
14 #include "ProcessorThread.h"
15
16 #include <opencv2/opencv.hpp>
17 #include <opencv2/highgui/highgui.hpp>
18 #include <opencv2/imgproc/imgproc.hpp>
19
20 #include <QDebug>
30 class PlaneCalibrationWindow : public ProcessorWindow
31 {
32 Q_OBJECT
33
34 public:
42 PlaneCalibrationWindow(ProcessorThread*,QWidget *parent = 0, Qt::WindowFlags flags = 0);
46 ~PlaneCalibrationWindow();
47
48 private:
49 Ui::PlaneCalibrationWindow ui;
50
51 public slots:
58 void frameIn(int id, cv::Mat* frame);
59
60 private slots:
61 void calibrate() {
62 qDebug() << "PlaneCalibrationWindow::calibrate()";
63 emit signalSpecial(QString("calibrate"));
64 }
65 void reset() {
66 qDebug() << "PlaneCalibrationWindow::reset()";
67 emit signalSpecial(QString("reset"));
68 }
69
70 };
72 #endif // PLANECALIBRATIONWINDOW_H
PlaneCalibrationWindow::~PlaneCalibrationWindow
~PlaneCalibrationWindow()
Default destructor, cleans up.
ProcessorWindow.h
ProcessorWindow
Generic camera processor window base class.
Definition: ProcessorWindow.h:32
ProcessorThread.h
ProcessorWindow::signalSpecial
void signalSpecial(QString)
For communication between ProcessorObject and ProcessorWindow.
PlaneCalibrationWindow
Object extraction image window.
Definition: PlaneCalibrationWindow.h:30
PlaneCalibrationWindow::PlaneCalibrationWindow
PlaneCalibrationWindow(ProcessorThread *, QWidget *parent=0, Qt::WindowFlags flags=0)
Default constructor, initializes object extraction preview window.
ProcessorThread
Wrapper object containing single processor working thread.
Definition: ProcessorThread.h:18
ProcessorObject.h
PlaneCalibrationWindow::frameIn
void frameIn(int id, cv::Mat *frame)
Update displayed picture.