Vislab Project
DiskWriter.h
1 #ifndef DISKWRITER_H
2 #define DISKWRITER_H
3 
4 // Includes, project.
5 #include <Pacpus/PacpusTools/AsyncWorkerBase.h>
6 #include <Pacpus/kernel/ComponentBase.h>
7 #include <Pacpus/kernel/DbiteFile.h>
8 #include <Pacpus/kernel/DbiteFileTypes.h>
9 #include <Pacpus/kernel/DbiteException.h>
10 
11 // Includes, qt.
12 #include <QTimer>
13 
14 // Includes, lib3dv.
15 #include <lib3dv-1.2.0/lib3dv/device.h>
16 //#include "20150310_lib3dv-1.2.0/src/DiskWriter.h"
17 #include "DiskWriter.h"
18 #include "VislabImageProcessor.h"
19 
20 #include <boost/asio/io_service.hpp>
21 #include <boost/asio/ip/address.hpp>
22 #include <boost/bind.hpp>
23 #include <boost/ref.hpp>
24 #include <boost/thread.hpp>
25 
26 // Includes, opencv.
27 #include <opencv/cv.h>
28 #include <opencv/highgui.h>
29 
30 using pacpus::DbiteFile;
31 using pacpus::DbiteException;
32 using pacpus::WriteMode;
33 
35 {
36 public:
37 
39  DiskWriter(const QString name, lib3dv::image::type::types imageType);
40 
41  void process(cv::Mat const& frame);
42 
43 private:
44  DbiteFile mDBTFile;
45  QString mFilenameTemplate;
46  unsigned int mImageCounter;
47  QString mDbtfilename;
48  lib3dv::image::type::types mImageType;
49 
50 };
51 
52 #endif // DiskWriter_H
DiskWriter(const QString name, lib3dv::image::type::types imageType)
Ctor of CVWebcamComponent.
Definition: DiskWriter.cpp:10
Definition: DiskWriter.h:34
Definition: VislabImageProcessor.h:20
void process(cv::Mat const &frame)
Definition: DiskWriter.cpp:39