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: VislabCamera.hpp 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">VislabCamera.hpp</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 DEF_VISLAB_CAMERA_HPP</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define DEF_VISLAB_CAMERA_HPP</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> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">// Includes, qt.</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <QTimer></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, lib3dv.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <lib3dv-1.2.0/lib3dv/device.h></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include <lib3dv-1.2.0/lib3dv/error.h></span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "DiskWriter.h"</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "Display.h"</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "VislabImageProcessor.h"</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <boost/asio/io_service.hpp></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <boost/asio/ip/address.hpp></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <boost/bind.hpp></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <boost/ref.hpp></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <boost/thread.hpp></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">namespace </span><a class="code" href="namespacepacpus.html">pacpus</a></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> {</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classpacpus_1_1_vislab_camera.html"> 27</a></span>  <span class="keyword">class </span><a class="code" href="classpacpus_1_1_vislab_camera.html">VislabCamera</a></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="comment">//: public pacpus::AsyncWorkerBase</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="comment">//Q_OBJECT</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <a class="code" href="classpacpus_1_1_vislab_camera.html#ace0fdfbd4b1bdd03ec246e2c9ad9b4f8">VislabCamera</a>(<span class="keyword">const</span> QString& name);</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">virtual</span> <a class="code" href="classpacpus_1_1_vislab_camera.html#a11da1e88a9199744c049e1c4aa6a4d22">~VislabCamera</a>();</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>  <span class="keywordtype">void</span> <a class="code" href="classpacpus_1_1_vislab_camera.html#a416576bc09de2a6e89c59c6097d0db76">open</a>();</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordtype">void</span> <a class="code" href="classpacpus_1_1_vislab_camera.html#a4579c4a3b65a2c58a5f8c2cd79a1c842">close</a>();</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  std::vector<lib3dv::device> curr_devices;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="class_disk_writer.html">DiskWriter</a> diskwriterVideo;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="class_disk_writer.html">DiskWriter</a> diskwriterDisparite;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="class_display.html">Display</a> displayVideo;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="class_display.html">Display</a> displayDisparite;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  lib3dv::error error;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> log_level;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  lib3dv::image::type imageType;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  };</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> }</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="classpacpus_1_1_vislab_camera_html_a4579c4a3b65a2c58a5f8c2cd79a1c842"><div class="ttname"><a href="classpacpus_1_1_vislab_camera.html#a4579c4a3b65a2c58a5f8c2cd79a1c842">pacpus::VislabCamera::close</a></div><div class="ttdeci">void close()</div><div class="ttdoc">Close the webcam. </div><div class="ttdef"><b>Definition:</b> VislabCamera.cpp:69</div></div>
|
---|
66 | <div class="ttc" id="classpacpus_1_1_vislab_camera_html"><div class="ttname"><a href="classpacpus_1_1_vislab_camera.html">pacpus::VislabCamera</a></div><div class="ttdef"><b>Definition:</b> VislabCamera.hpp:27</div></div>
|
---|
67 | <div class="ttc" id="classpacpus_1_1_vislab_camera_html_a11da1e88a9199744c049e1c4aa6a4d22"><div class="ttname"><a href="classpacpus_1_1_vislab_camera.html#a11da1e88a9199744c049e1c4aa6a4d22">pacpus::VislabCamera::~VislabCamera</a></div><div class="ttdeci">virtual ~VislabCamera()</div><div class="ttdoc">Dtor of VislabCamera. </div><div class="ttdef"><b>Definition:</b> VislabCamera.cpp:36</div></div>
|
---|
68 | <div class="ttc" id="namespacepacpus_html"><div class="ttname"><a href="namespacepacpus.html">pacpus</a></div><div class="ttdef"><b>Definition:</b> VislabCamera.hpp:25</div></div>
|
---|
69 | <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>
|
---|
70 | <div class="ttc" id="classpacpus_1_1_vislab_camera_html_a416576bc09de2a6e89c59c6097d0db76"><div class="ttname"><a href="classpacpus_1_1_vislab_camera.html#a416576bc09de2a6e89c59c6097d0db76">pacpus::VislabCamera::open</a></div><div class="ttdeci">void open()</div><div class="ttdoc">Open a webcam. </div><div class="ttdef"><b>Definition:</b> VislabCamera.cpp:41</div></div>
|
---|
71 | <div class="ttc" id="classpacpus_1_1_vislab_camera_html_ace0fdfbd4b1bdd03ec246e2c9ad9b4f8"><div class="ttname"><a href="classpacpus_1_1_vislab_camera.html#ace0fdfbd4b1bdd03ec246e2c9ad9b4f8">pacpus::VislabCamera::VislabCamera</a></div><div class="ttdeci">VislabCamera(const QString &name)</div><div class="ttdoc">Ctor of VislabCamera. </div><div class="ttdef"><b>Definition:</b> VislabCamera.cpp:27</div></div>
|
---|
72 | <div class="ttc" id="class_display_html"><div class="ttname"><a href="class_display.html">Display</a></div><div class="ttdef"><b>Definition:</b> Display.h:28</div></div>
|
---|
73 | </div><!-- fragment --></div><!-- contents -->
|
---|
74 | <!-- start footer part -->
|
---|
75 | <hr class="footer"/><address class="footer"><small>
|
---|
76 | Generated by  <a href="http://www.doxygen.org/index.html">
|
---|
77 | <img class="footer" src="doxygen.png" alt="doxygen"/>
|
---|
78 | </a> 1.8.12
|
---|
79 | </small></address>
|
---|
80 | </body>
|
---|
81 | </html>
|
---|