Line | |
---|
1 | /*********************************************************************
|
---|
2 | // created: 2007/04/12 - 16:30
|
---|
3 |
|
---|
4 | //
|
---|
5 | // author: Elie Al Alam & Gerald Dherbomez
|
---|
6 | //
|
---|
7 | // version: $Id: $
|
---|
8 | //
|
---|
9 | // purpose: Dbite Player Image Manager header file
|
---|
10 | *********************************************************************/
|
---|
11 |
|
---|
12 | #ifndef DbtPlyOpenCVManager_H
|
---|
13 | #define DbtPlyOpenCVManager_H
|
---|
14 |
|
---|
15 | #include <qobject.h>
|
---|
16 |
|
---|
17 | #include "Pacpus/DbitePlayer/DbtPlyFileManager.h"
|
---|
18 | #include "CameraPlayerConfig.h"
|
---|
19 |
|
---|
20 | // Includes, opencv.
|
---|
21 | #if (OPENCV_MAJOR == 3)
|
---|
22 | # include <opencv2/opencv.hpp>
|
---|
23 | # include <opencv2/highgui.hpp>
|
---|
24 | #else
|
---|
25 | # include <opencv/cv.h>
|
---|
26 | # include <opencv/highgui.h>
|
---|
27 | #endif
|
---|
28 |
|
---|
29 | namespace pacpus {
|
---|
30 |
|
---|
31 |
|
---|
32 | class CAMERAPLAYER_API DbtPlyOpenCVManager
|
---|
33 | : public DbtPlyFileManager
|
---|
34 | {
|
---|
35 | Q_OBJECT
|
---|
36 |
|
---|
37 | public:
|
---|
38 | DbtPlyOpenCVManager(QString name);
|
---|
39 | ~DbtPlyOpenCVManager();
|
---|
40 |
|
---|
41 | virtual COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
|
---|
42 |
|
---|
43 | public:
|
---|
44 | virtual void addInputs();
|
---|
45 | virtual void addOutputs();
|
---|
46 |
|
---|
47 |
|
---|
48 | protected:
|
---|
49 | void processData(road_time_t, road_timerange_t, void * dataBuffer);
|
---|
50 | virtual void startActivity();
|
---|
51 | virtual void stopActivity();
|
---|
52 |
|
---|
53 | };
|
---|
54 |
|
---|
55 | } // namespace pacpus
|
---|
56 |
|
---|
57 | #endif // DbtPlyOpenCVManager_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.