1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
---|
2 | <html xmlns="http://www.w3.org/1999/xhtml">
|
---|
3 | <head>
|
---|
4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
---|
5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
---|
6 | <meta name="generator" content="Doxygen 1.8.12"/>
|
---|
7 | <meta name="viewport" content="width=device-width, initial-scale=1"/>
|
---|
8 | <title>Vislab Project: DiskWriter.h Source File</title>
|
---|
9 | <link href="tabs.css" rel="stylesheet" type="text/css"/>
|
---|
10 | <script type="text/javascript" src="jquery.js"></script>
|
---|
11 | <script type="text/javascript" src="dynsections.js"></script>
|
---|
12 | <link href="search/search.css" rel="stylesheet" type="text/css"/>
|
---|
13 | <script type="text/javascript" src="search/searchdata.js"></script>
|
---|
14 | <script type="text/javascript" src="search/search.js"></script>
|
---|
15 | <link href="doxygen.css" rel="stylesheet" type="text/css" />
|
---|
16 | </head>
|
---|
17 | <body>
|
---|
18 | <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
---|
19 | <div id="titlearea">
|
---|
20 | <table cellspacing="0" cellpadding="0">
|
---|
21 | <tbody>
|
---|
22 | <tr style="height: 56px;">
|
---|
23 | <td id="projectalign" style="padding-left: 0.5em;">
|
---|
24 | <div id="projectname">Vislab Project
|
---|
25 | </div>
|
---|
26 | </td>
|
---|
27 | </tr>
|
---|
28 | </tbody>
|
---|
29 | </table>
|
---|
30 | </div>
|
---|
31 | <!-- end header part -->
|
---|
32 | <!-- Generated by Doxygen 1.8.12 -->
|
---|
33 | <script type="text/javascript">
|
---|
34 | var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
---|
35 | </script>
|
---|
36 | <script type="text/javascript" src="menudata.js"></script>
|
---|
37 | <script type="text/javascript" src="menu.js"></script>
|
---|
38 | <script type="text/javascript">
|
---|
39 | $(function() {
|
---|
40 | initMenu('',true,false,'search.php','Search');
|
---|
41 | $(document).ready(function() { init_search(); });
|
---|
42 | });
|
---|
43 | </script>
|
---|
44 | <div id="main-nav"></div>
|
---|
45 | </div><!-- top -->
|
---|
46 | <!-- window showing the filter options -->
|
---|
47 | <div id="MSearchSelectWindow"
|
---|
48 | onmouseover="return searchBox.OnSearchSelectShow()"
|
---|
49 | onmouseout="return searchBox.OnSearchSelectHide()"
|
---|
50 | onkeydown="return searchBox.OnSearchSelectKey(event)">
|
---|
51 | </div>
|
---|
52 |
|
---|
53 | <!-- iframe showing the search results (closed by default) -->
|
---|
54 | <div id="MSearchResultsWindow">
|
---|
55 | <iframe src="javascript:void(0)" frameborder="0"
|
---|
56 | name="MSearchResults" id="MSearchResults">
|
---|
57 | </iframe>
|
---|
58 | </div>
|
---|
59 |
|
---|
60 | <div class="header">
|
---|
61 | <div class="headertitle">
|
---|
62 | <div class="title">DiskWriter.h</div> </div>
|
---|
63 | </div><!--header-->
|
---|
64 | <div class="contents">
|
---|
65 | <div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef DISKWRITER_H</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define DISKWRITER_H</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// Includes, project.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include <Pacpus/PacpusTools/AsyncWorkerBase.h></span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include <Pacpus/kernel/ComponentBase.h></span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include <Pacpus/kernel/DbiteFile.h></span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <Pacpus/kernel/DbiteFileTypes.h></span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <Pacpus/kernel/DbiteException.h></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Includes, qt.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <QTimer></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// Includes, lib3dv.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <lib3dv-1.2.0/lib3dv/device.h></span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">//#include "20150310_lib3dv-1.2.0/src/DiskWriter.h"</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "DiskWriter.h"</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "VislabImageProcessor.h"</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <boost/asio/io_service.hpp></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <boost/asio/ip/address.hpp></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <boost/bind.hpp></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <boost/ref.hpp></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <boost/thread.hpp></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">// Includes, opencv.</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <opencv/cv.h></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <opencv/highgui.h></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">using</span> pacpus::DbiteFile;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">using</span> pacpus::DbiteException;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">using</span> pacpus::WriteMode;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="class_disk_writer.html"> 34</a></span> <span class="keyword">class </span><a class="code" href="class_disk_writer.html">DiskWriter</a> : <span class="keyword">public</span> <a class="code" href="class_vislab_image_processor.html">VislabImageProcessor</a></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <a class="code" href="class_disk_writer.html#a5b7cb5cbc2dfe644969305708ab025c3">DiskWriter</a>(<span class="keyword">const</span> QString name, lib3dv::image::type::types imageType);</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordtype">void</span> <a class="code" href="class_disk_writer.html#ab9a274a68de942c5a3f9a9c1accac21f">process</a>(cv::Mat <span class="keyword">const</span>& frame);</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  DbiteFile mDBTFile;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  QString mFilenameTemplate;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> mImageCounter;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  QString mDbtfilename;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  lib3dv::image::type::types mImageType;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> };</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor">#endif // DiskWriter_H</span></div><div class="ttc" id="class_disk_writer_html_a5b7cb5cbc2dfe644969305708ab025c3"><div class="ttname"><a href="class_disk_writer.html#a5b7cb5cbc2dfe644969305708ab025c3">DiskWriter::DiskWriter</a></div><div class="ttdeci">DiskWriter(const QString name, lib3dv::image::type::types imageType)</div><div class="ttdoc">Ctor of CVWebcamComponent. </div><div class="ttdef"><b>Definition:</b> DiskWriter.cpp:10</div></div>
|
---|
66 | <div class="ttc" id="class_disk_writer_html"><div class="ttname"><a href="class_disk_writer.html">DiskWriter</a></div><div class="ttdef"><b>Definition:</b> DiskWriter.h:34</div></div>
|
---|
67 | <div class="ttc" id="class_vislab_image_processor_html"><div class="ttname"><a href="class_vislab_image_processor.html">VislabImageProcessor</a></div><div class="ttdef"><b>Definition:</b> VislabImageProcessor.h:20</div></div>
|
---|
68 | <div class="ttc" id="class_disk_writer_html_ab9a274a68de942c5a3f9a9c1accac21f"><div class="ttname"><a href="class_disk_writer.html#ab9a274a68de942c5a3f9a9c1accac21f">DiskWriter::process</a></div><div class="ttdeci">void process(cv::Mat const &frame)</div><div class="ttdef"><b>Definition:</b> DiskWriter.cpp:39</div></div>
|
---|
69 | </div><!-- fragment --></div><!-- contents -->
|
---|
70 | <!-- start footer part -->
|
---|
71 | <hr class="footer"/><address class="footer"><small>
|
---|
72 | Generated by  <a href="http://www.doxygen.org/index.html">
|
---|
73 | <img class="footer" src="doxygen.png" alt="doxygen"/>
|
---|
74 | </a> 1.8.12
|
---|
75 | </small></address>
|
---|
76 | </body>
|
---|
77 | </html>
|
---|