Last change
on this file since 130 was 127, checked in by ldecherf, 8 years ago |
Version 1 du plugin Vislab testé sous linux
|
File size:
1.1 KB
|
Line | |
---|
1 | #ifndef DEF_VISLAB_CAMERA_HPP
|
---|
2 | #define DEF_VISLAB_CAMERA_HPP
|
---|
3 |
|
---|
4 | // Includes, project.
|
---|
5 | #include <Pacpus/PacpusTools/AsyncWorkerBase.h>
|
---|
6 | #include <Pacpus/kernel/ComponentBase.h>
|
---|
7 |
|
---|
8 | // Includes, qt.
|
---|
9 | #include <QTimer>
|
---|
10 |
|
---|
11 | // Includes, lib3dv.
|
---|
12 | #include <lib3dv-1.2.0/lib3dv/device.h>
|
---|
13 | #include "DiskWriter.h"
|
---|
14 | #include "Display.h"
|
---|
15 | #include "VislabImageProcessor.h"
|
---|
16 |
|
---|
17 |
|
---|
18 | #include <boost/asio/io_service.hpp>
|
---|
19 | #include <boost/asio/ip/address.hpp>
|
---|
20 | #include <boost/bind.hpp>
|
---|
21 | #include <boost/ref.hpp>
|
---|
22 | #include <boost/thread.hpp>
|
---|
23 |
|
---|
24 | namespace pacpus
|
---|
25 | {
|
---|
26 | class VislabCamera
|
---|
27 | //: public pacpus::AsyncWorkerBase
|
---|
28 | {
|
---|
29 | //Q_OBJECT
|
---|
30 | public:
|
---|
31 | /// Ctor of VislabCamera.
|
---|
32 | VislabCamera(const QString& name);
|
---|
33 |
|
---|
34 | /// Dtor of VislabCamera.
|
---|
35 | virtual ~VislabCamera();
|
---|
36 |
|
---|
37 | /// Open a webcam.
|
---|
38 | void open();
|
---|
39 |
|
---|
40 | /// Close the webcam.
|
---|
41 | void close();
|
---|
42 |
|
---|
43 | std::vector<lib3dv::device> curr_devices;
|
---|
44 | DiskWriter diskwriterVideo;
|
---|
45 | DiskWriter diskwriterDisparite;
|
---|
46 | Display displayVideo;
|
---|
47 | Display displayDisparite;
|
---|
48 | lib3dv::error error;
|
---|
49 | unsigned int log_level;
|
---|
50 | lib3dv::image::type imageType;
|
---|
51 | };
|
---|
52 | }
|
---|
53 |
|
---|
54 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.