05Robot 3.0

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

CameraCalibrationWindow.h
Go to the documentation of this file.
1
7 #ifndef CAMERACALIBRATIONWINDOW_H
8 #define CAMERACALIBRATIONWINDOW_H
9
10 #include <QWidget>
11 #include "ProcessorWindow.h"
12 #include "ui_CameraCalibrationWindow.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>
28 class CameraCalibrationWindow : public ProcessorWindow
29 {
30 Q_OBJECT
31
32 public:
40 CameraCalibrationWindow(ProcessorThread*,QWidget *parent = 0, Qt::WindowFlags flags = 0);
44 ~CameraCalibrationWindow();
51 void updateLists(QList<CameraPreview*> cameraList, QList<ProcessorWindow*> processorList);
52
53 private:
54 Ui::CameraCalibrationWindow ui;
55
56 QList<CameraPreview*> pCameraList;
57
58 public slots:
65 void frameIn(int id, cv::Mat* frame);
66 private slots:
67 void applyLists();
68 void acquire();
69 void calibrate();
70
71 };
73 #endif // MOCAP_H
CameraCalibrationWindow::updateLists
void updateLists(QList< CameraPreview * > cameraList, QList< ProcessorWindow * > processorList)
Updates list of input cameras and processors.
ProcessorWindow.h
ProcessorWindow
Generic camera processor window base class.
Definition: ProcessorWindow.h:32
ProcessorThread.h
CameraCalibrationWindow::frameIn
void frameIn(int id, cv::Mat *frame)
Update displayed picture.
ProcessorThread
Wrapper object containing single processor working thread.
Definition: ProcessorThread.h:18
CameraCalibrationWindow
Camera calibration window.
Definition: CameraCalibrationWindow.h:28
CameraCalibrationWindow::CameraCalibrationWindow
CameraCalibrationWindow(ProcessorThread *, QWidget *parent=0, Qt::WindowFlags flags=0)
Default constructor, initializes camera calibration preview window.
CameraCalibrationWindow::~CameraCalibrationWindow
~CameraCalibrationWindow()
Default destructor, cleans up.
ProcessorObject.h