-
Notifications
You must be signed in to change notification settings - Fork 13
/
_p_c_l_image_8h_source.html
153 lines (151 loc) · 18.9 KB
/
_p_c_l_image_8h_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Point Cloud Library (PCL): pcl/PCLImage.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Point Cloud Library (PCL)
 <span id="projectnumber">1.14.1-dev</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_39ef148c3cf3468c290ae8c03b3c03af.html">pcl</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">PCLImage.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>  </div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include <string></span> <span class="comment">// for string</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <vector></span> <span class="comment">// for vector</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include <ostream></span> <span class="comment">// for ostream</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include <pcl/PCLHeader.h></span> <span class="comment">// for PCLHeader</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <<a class="code" href="types_8h.html">pcl/types.h</a>></span> <span class="comment">//for index_t</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  </div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="keyword">namespace </span><a class="code" href="namespacepcl.html">pcl</a></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> {</div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="structpcl_1_1_p_c_l_image.html"> 12</a></span>  <span class="keyword">struct </span><a class="code" href="structpcl_1_1_p_c_l_image.html">PCLImage</a></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  {</div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="structpcl_1_1_p_c_l_image.html#ae2193bd74acbb40441ed7b4207f9783d"> 14</a></span>  <a class="code" href="structpcl_1_1_p_c_l_header.html">::pcl::PCLHeader</a> <a class="code" href="structpcl_1_1_p_c_l_image.html#ae2193bd74acbb40441ed7b4207f9783d">header</a>;</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="structpcl_1_1_p_c_l_image.html#a4ef94d3c7e81ce7afa73f3bf5d5e4f3d"> 16</a></span>  <a class="code" href="namespacepcl.html#a1b98b7f9535916d9dffec6d425d2eed9">uindex_t</a> <a class="code" href="structpcl_1_1_p_c_l_image.html#a4ef94d3c7e81ce7afa73f3bf5d5e4f3d">height</a> = 0;</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="structpcl_1_1_p_c_l_image.html#aaa638de641d5260adbdea7827b6085d1"> 17</a></span>  <a class="code" href="namespacepcl.html#a1b98b7f9535916d9dffec6d425d2eed9">uindex_t</a> <a class="code" href="structpcl_1_1_p_c_l_image.html#aaa638de641d5260adbdea7827b6085d1">width</a> = 0;</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="structpcl_1_1_p_c_l_image.html#a7d4d74320c5105fadb53bceb5f12d55b"> 18</a></span>  std::string <a class="code" href="structpcl_1_1_p_c_l_image.html#a7d4d74320c5105fadb53bceb5f12d55b">encoding</a>;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="structpcl_1_1_p_c_l_image.html#a996e81502879b1266292c6eb25dc520b"> 20</a></span>  std::uint8_t <a class="code" href="structpcl_1_1_p_c_l_image.html#a996e81502879b1266292c6eb25dc520b">is_bigendian</a> = 0;</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="structpcl_1_1_p_c_l_image.html#a232de2766b94b536f79f58b35f0532ae"> 21</a></span>  <a class="code" href="namespacepcl.html#a1b98b7f9535916d9dffec6d425d2eed9">uindex_t</a> <a class="code" href="structpcl_1_1_p_c_l_image.html#a232de2766b94b536f79f58b35f0532ae">step</a> = 0;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="structpcl_1_1_p_c_l_image.html#a9d7a5d82db56641b93d250a61e4d2715"> 23</a></span>  std::vector<std::uint8_t> <a class="code" href="structpcl_1_1_p_c_l_image.html#a9d7a5d82db56641b93d250a61e4d2715">data</a>;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="structpcl_1_1_p_c_l_image.html#ac6b9a9cd5f96ca68e8bc15b7db7846cb"> 25</a></span>  <span class="keyword">using</span> <a class="code" href="structpcl_1_1_p_c_l_image.html#ac6b9a9cd5f96ca68e8bc15b7db7846cb">Ptr</a> = shared_ptr< ::pcl::PCLImage>;</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structpcl_1_1_p_c_l_image.html#aa6866e76de8f68a5b0cf16ffc62dff87"> 26</a></span>  <span class="keyword">using</span> <a class="code" href="structpcl_1_1_p_c_l_image.html#aa6866e76de8f68a5b0cf16ffc62dff87">ConstPtr</a> = shared_ptr<const ::pcl::PCLImage>;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  }; <span class="comment">// struct PCLImage</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="namespacepcl.html#ae135037ab459b4319a895d765758a57a"> 29</a></span>  <span class="keyword">using</span> <a class="code" href="namespacepcl.html#ae135037ab459b4319a895d765758a57a">PCLImagePtr</a> = <a class="code" href="structpcl_1_1_p_c_l_image.html#ac6b9a9cd5f96ca68e8bc15b7db7846cb">PCLImage::Ptr</a>;</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="namespacepcl.html#ab09315268fe8cf472847ea6f7e6f786e"> 30</a></span>  <span class="keyword">using</span> <a class="code" href="namespacepcl.html#ab09315268fe8cf472847ea6f7e6f786e">PCLImageConstPtr</a> = <a class="code" href="structpcl_1_1_p_c_l_image.html#aa6866e76de8f68a5b0cf16ffc62dff87">PCLImage::ConstPtr</a>;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="namespacepcl.html#af6f264d661418058c6ff558ccb6d3cb4"> 32</a></span>  <span class="keyword">inline</span> std::ostream& <a class="code" href="namespacepcl.html#a4e32b0632e12d5a051cb8b04ea5f5ca0">operator<<</a>(std::ostream& s, const ::pcl::PCLImage & v)</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  {</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  s << <span class="stringliteral">"header: "</span> << std::endl;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  s << v.header;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  s << <span class="stringliteral">"height: "</span>;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  s << <span class="stringliteral">" "</span> << v.height << std::endl;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  s << <span class="stringliteral">"width: "</span>;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  s << <span class="stringliteral">" "</span> << v.width << std::endl;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  s << <span class="stringliteral">"encoding: "</span>;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  s << <span class="stringliteral">" "</span> << v.encoding << std::endl;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  s << <span class="stringliteral">"is_bigendian: "</span>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  s << <span class="stringliteral">" "</span> << v.is_bigendian << std::endl;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  s << <span class="stringliteral">"step: "</span>;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  s << <span class="stringliteral">" "</span> << v.step << std::endl;</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  s << <span class="stringliteral">"data[]"</span> << std::endl;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordflow">for</span> (std::size_t i = 0; i < v.data.size (); ++i)</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  {</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  s << <span class="stringliteral">" data["</span> << i << <span class="stringliteral">"]: "</span>;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  s << <span class="stringliteral">" "</span> << v.data[i] << std::endl;</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="keywordflow">return</span> (s);</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> } <span class="comment">// namespace pcl</span></div>
<div class="ttc" id="anamespacepcl_html"><div class="ttname"><a href="namespacepcl.html">pcl</a></div><div class="ttdef"><b>Definition:</b> <a href="2d_2include_2pcl_22d_2convolution_8h_source.html#l00046">convolution.h:46</a></div></div>
<div class="ttc" id="anamespacepcl_html_a1b98b7f9535916d9dffec6d425d2eed9"><div class="ttname"><a href="namespacepcl.html#a1b98b7f9535916d9dffec6d425d2eed9">pcl::uindex_t</a></div><div class="ttdeci">detail::int_type_t< detail::index_type_size, false > uindex_t</div><div class="ttdoc">Type used for an unsigned index in PCL.</div><div class="ttdef"><b>Definition:</b> <a href="types_8h_source.html#l00120">types.h:120</a></div></div>
<div class="ttc" id="anamespacepcl_html_a4e32b0632e12d5a051cb8b04ea5f5ca0"><div class="ttname"><a href="namespacepcl.html#a4e32b0632e12d5a051cb8b04ea5f5ca0">pcl::operator<<</a></div><div class="ttdeci">std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)</div><div class="ttdef"><b>Definition:</b> <a href="bivariate__polynomial_8hpp_source.html#l00237">bivariate_polynomial.hpp:238</a></div></div>
<div class="ttc" id="anamespacepcl_html_ab09315268fe8cf472847ea6f7e6f786e"><div class="ttname"><a href="namespacepcl.html#ab09315268fe8cf472847ea6f7e6f786e">pcl::PCLImageConstPtr</a></div><div class="ttdeci">PCLImage::ConstPtr PCLImageConstPtr</div><div class="ttdef"><b>Definition:</b> <a href="_p_c_l_image_8h_source.html#l00030">PCLImage.h:30</a></div></div>
<div class="ttc" id="anamespacepcl_html_ae135037ab459b4319a895d765758a57a"><div class="ttname"><a href="namespacepcl.html#ae135037ab459b4319a895d765758a57a">pcl::PCLImagePtr</a></div><div class="ttdeci">PCLImage::Ptr PCLImagePtr</div><div class="ttdef"><b>Definition:</b> <a href="_p_c_l_image_8h_source.html#l00029">PCLImage.h:29</a></div></div>
<div class="ttc" id="astructpcl_1_1_p_c_l_header_html"><div class="ttname"><a href="structpcl_1_1_p_c_l_header.html">pcl::PCLHeader</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_c_l_header_8h_source.html#l00010">PCLHeader.h:11</a></div></div>
<div class="ttc" id="astructpcl_1_1_p_c_l_image_html"><div class="ttname"><a href="structpcl_1_1_p_c_l_image.html">pcl::PCLImage</a></div><div class="ttdef"><b>Definition:</b> <a href="_p_c_l_image_8h_source.html#l00012">PCLImage.h:13</a></div></div>
<div class="ttc" id="astructpcl_1_1_p_c_l_image_html_a232de2766b94b536f79f58b35f0532ae"><div class="ttname"><a href="structpcl_1_1_p_c_l_image.html#a232de2766b94b536f79f58b35f0532ae">pcl::PCLImage::step</a></div><div class="ttdeci">uindex_t step</div><div class="ttdef"><b>Definition:</b> <a href="_p_c_l_image_8h_source.html#l00021">PCLImage.h:21</a></div></div>
<div class="ttc" id="astructpcl_1_1_p_c_l_image_html_a4ef94d3c7e81ce7afa73f3bf5d5e4f3d"><div class="ttname"><a href="structpcl_1_1_p_c_l_image.html#a4ef94d3c7e81ce7afa73f3bf5d5e4f3d">pcl::PCLImage::height</a></div><div class="ttdeci">uindex_t height</div><div class="ttdef"><b>Definition:</b> <a href="_p_c_l_image_8h_source.html#l00016">PCLImage.h:16</a></div></div>
<div class="ttc" id="astructpcl_1_1_p_c_l_image_html_a7d4d74320c5105fadb53bceb5f12d55b"><div class="ttname"><a href="structpcl_1_1_p_c_l_image.html#a7d4d74320c5105fadb53bceb5f12d55b">pcl::PCLImage::encoding</a></div><div class="ttdeci">std::string encoding</div><div class="ttdef"><b>Definition:</b> <a href="_p_c_l_image_8h_source.html#l00018">PCLImage.h:18</a></div></div>
<div class="ttc" id="astructpcl_1_1_p_c_l_image_html_a996e81502879b1266292c6eb25dc520b"><div class="ttname"><a href="structpcl_1_1_p_c_l_image.html#a996e81502879b1266292c6eb25dc520b">pcl::PCLImage::is_bigendian</a></div><div class="ttdeci">std::uint8_t is_bigendian</div><div class="ttdef"><b>Definition:</b> <a href="_p_c_l_image_8h_source.html#l00020">PCLImage.h:20</a></div></div>
<div class="ttc" id="astructpcl_1_1_p_c_l_image_html_a9d7a5d82db56641b93d250a61e4d2715"><div class="ttname"><a href="structpcl_1_1_p_c_l_image.html#a9d7a5d82db56641b93d250a61e4d2715">pcl::PCLImage::data</a></div><div class="ttdeci">std::vector< std::uint8_t > data</div><div class="ttdef"><b>Definition:</b> <a href="_p_c_l_image_8h_source.html#l00023">PCLImage.h:23</a></div></div>
<div class="ttc" id="astructpcl_1_1_p_c_l_image_html_aa6866e76de8f68a5b0cf16ffc62dff87"><div class="ttname"><a href="structpcl_1_1_p_c_l_image.html#aa6866e76de8f68a5b0cf16ffc62dff87">pcl::PCLImage::ConstPtr</a></div><div class="ttdeci">shared_ptr< const ::pcl::PCLImage > ConstPtr</div><div class="ttdef"><b>Definition:</b> <a href="_p_c_l_image_8h_source.html#l00026">PCLImage.h:26</a></div></div>
<div class="ttc" id="astructpcl_1_1_p_c_l_image_html_aaa638de641d5260adbdea7827b6085d1"><div class="ttname"><a href="structpcl_1_1_p_c_l_image.html#aaa638de641d5260adbdea7827b6085d1">pcl::PCLImage::width</a></div><div class="ttdeci">uindex_t width</div><div class="ttdef"><b>Definition:</b> <a href="_p_c_l_image_8h_source.html#l00017">PCLImage.h:17</a></div></div>
<div class="ttc" id="astructpcl_1_1_p_c_l_image_html_ac6b9a9cd5f96ca68e8bc15b7db7846cb"><div class="ttname"><a href="structpcl_1_1_p_c_l_image.html#ac6b9a9cd5f96ca68e8bc15b7db7846cb">pcl::PCLImage::Ptr</a></div><div class="ttdeci">shared_ptr< ::pcl::PCLImage > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="_p_c_l_image_8h_source.html#l00025">PCLImage.h:25</a></div></div>
<div class="ttc" id="astructpcl_1_1_p_c_l_image_html_ae2193bd74acbb40441ed7b4207f9783d"><div class="ttname"><a href="structpcl_1_1_p_c_l_image.html#ae2193bd74acbb40441ed7b4207f9783d">pcl::PCLImage::header</a></div><div class="ttdeci">::pcl::PCLHeader header</div><div class="ttdef"><b>Definition:</b> <a href="_p_c_l_image_8h_source.html#l00014">PCLImage.h:14</a></div></div>
<div class="ttc" id="atypes_8h_html"><div class="ttname"><a href="types_8h.html">types.h</a></div><div class="ttdoc">Defines basic non-point types used by PCL.</div></div>
</div><!-- fragment --></div><!-- contents -->
<hr>
<div id="footer">
<p>
Except where otherwise noted, the PointClouds.org web pages are licensed under <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0</a>.
</p>
<p>Pages generated on Sat Dec 21 2024 21:35:59</p>
</div> <!-- #footer -->
</body>
</html>