small_gicp/doc_cpp/points_2traits_8hpp.html

180 lines
17 KiB
HTML

<!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>small_gicp: /home/runner/work/small_gicp/small_gicp/include/small_gicp/points/traits.hpp File Reference</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">small_gicp
</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&amp;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&amp;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_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_8f93768a68ffc2367e7100c40b4e616a.html">small_gicp</a></li><li class="navelem"><a class="el" href="dir_1e32283d4ab39246fee9af89412835e8.html">points</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">traits.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;Eigen/Core&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for traits.hpp:</div>
<div class="dyncontent">
<div class="center"><img src="points_2traits_8hpp__incl.png" border="0" usemap="#a_2home_2runner_2work_2small__gicp_2small__gicp_2include_2small__gicp_2points_2traits_8hpp" alt=""/></div>
<map name="a_2home_2runner_2work_2small__gicp_2small__gicp_2include_2small__gicp_2points_2traits_8hpp" id="a_2home_2runner_2work_2small__gicp_2small__gicp_2include_2small__gicp_2points_2traits_8hpp">
<area shape="rect" title=" " alt="" coords="5,5,212,61"/>
<area shape="rect" title=" " alt="" coords="63,109,155,136"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="points_2traits_8hpp__dep__incl.png" border="0" usemap="#a_2home_2runner_2work_2small__gicp_2small__gicp_2include_2small__gicp_2points_2traits_8hppdep" alt=""/></div>
<map name="a_2home_2runner_2work_2small__gicp_2small__gicp_2include_2small__gicp_2points_2traits_8hppdep" id="a_2home_2runner_2work_2small__gicp_2small__gicp_2include_2small__gicp_2points_2traits_8hppdep">
<area shape="rect" title=" " alt="" coords="1127,5,1334,61"/>
<area shape="rect" href="flat__container_8hpp.html" title=" " alt="" coords="414,117,658,173"/>
<area shape="rect" href="incremental__voxelmap_8hpp.html" title=" " alt="" coords="254,228,461,299"/>
<area shape="rect" href="gaussian__voxelmap_8hpp.html" title=" " alt="" coords="5,347,192,417"/>
<area shape="rect" href="kdtree_8hpp.html" title=" " alt="" coords="485,235,683,291"/>
<area shape="rect" href="gicp__factor_8hpp.html" title=" " alt="" coords="1322,228,1507,299"/>
<area shape="rect" href="icp__factor_8hpp.html" title=" " alt="" coords="798,109,983,180"/>
<area shape="rect" href="plane__icp__factor_8hpp.html" title=" " alt="" coords="1007,109,1193,180"/>
<area shape="rect" href="pcl__point__traits_8hpp.html" title=" " alt="" coords="1531,228,1717,299"/>
<area shape="rect" href="pcl__proxy_8hpp.html" title=" " alt="" coords="1037,354,1249,410"/>
<area shape="rect" href="eigen_8hpp.html" title=" " alt="" coords="1319,117,1527,173"/>
<area shape="rect" href="point__cloud_8hpp.html" title=" " alt="" coords="707,228,893,299"/>
<area shape="rect" href="registration_8hpp.html" title=" " alt="" coords="1193,465,1378,536"/>
<area shape="rect" href="downsampling_8hpp.html" title=" " alt="" coords="1652,117,1900,173"/>
<area shape="rect" href="downsampling__omp_8hpp.html" title=" " alt="" coords="1925,109,2145,180"/>
<area shape="rect" href="downsampling__tbb_8hpp.html" title=" " alt="" coords="2169,109,2389,180"/>
<area shape="rect" href="pcl__registration_8hpp.html" title=" " alt="" coords="237,473,489,529"/>
<area shape="rect" href="registration__helper_8hpp.html" title=" " alt="" coords="513,465,698,536"/>
<area shape="rect" href="pcl__registration__impl_8hpp.html" title=" " alt="" coords="1043,584,1267,655"/>
<area shape="rect" href="kdtree__omp_8hpp.html" title=" " alt="" coords="467,354,701,410"/>
<area shape="rect" href="kdtree__tbb_8hpp.html" title=" " alt="" coords="216,354,443,410"/>
<area shape="rect" href="normal__estimation_8hpp.html" title=" " alt="" coords="827,347,1013,417"/>
<area shape="rect" href="normal__estimation__omp_8hpp.html" title=" " alt="" coords="722,465,907,536"/>
<area shape="rect" href="normal__estimation__tbb_8hpp.html" title=" " alt="" coords="931,465,1117,536"/>
</map>
</div>
</div>
<p><a href="points_2traits_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacesmall__gicp"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesmall__gicp.html">small_gicp</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespacesmall__gicp_1_1traits"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesmall__gicp_1_1traits.html">small_gicp::traits</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a3c4ae38ff52330d6e624f4971c291fac"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a3c4ae38ff52330d6e624f4971c291fac"><td class="memTemplItemLeft" align="right" valign="top">size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacesmall__gicp_1_1traits.html#a3c4ae38ff52330d6e624f4971c291fac">small_gicp::traits::size</a> (const T &amp;points)</td></tr>
<tr class="memdesc:a3c4ae38ff52330d6e624f4971c291fac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of points. <a href="namespacesmall__gicp_1_1traits.html#a3c4ae38ff52330d6e624f4971c291fac">More...</a><br /></td></tr>
<tr class="separator:a3c4ae38ff52330d6e624f4971c291fac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac7ffb71ca098a53f2fd224aa95ec3df"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:aac7ffb71ca098a53f2fd224aa95ec3df"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacesmall__gicp_1_1traits.html#aac7ffb71ca098a53f2fd224aa95ec3df">small_gicp::traits::has_points</a> (const T &amp;points)</td></tr>
<tr class="memdesc:aac7ffb71ca098a53f2fd224aa95ec3df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the point cloud has points. <a href="namespacesmall__gicp_1_1traits.html#aac7ffb71ca098a53f2fd224aa95ec3df">More...</a><br /></td></tr>
<tr class="separator:aac7ffb71ca098a53f2fd224aa95ec3df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0ebf8744cd82ff4fdac8faefcb79105"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:ac0ebf8744cd82ff4fdac8faefcb79105"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacesmall__gicp_1_1traits.html#ac0ebf8744cd82ff4fdac8faefcb79105">small_gicp::traits::has_normals</a> (const T &amp;points)</td></tr>
<tr class="memdesc:ac0ebf8744cd82ff4fdac8faefcb79105"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the point cloud has normals. <a href="namespacesmall__gicp_1_1traits.html#ac0ebf8744cd82ff4fdac8faefcb79105">More...</a><br /></td></tr>
<tr class="separator:ac0ebf8744cd82ff4fdac8faefcb79105"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f45929c9e5a0e03b31b42b065c07a50"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a7f45929c9e5a0e03b31b42b065c07a50"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacesmall__gicp_1_1traits.html#a7f45929c9e5a0e03b31b42b065c07a50">small_gicp::traits::has_covs</a> (const T &amp;points)</td></tr>
<tr class="memdesc:a7f45929c9e5a0e03b31b42b065c07a50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the point cloud has covariances. <a href="namespacesmall__gicp_1_1traits.html#a7f45929c9e5a0e03b31b42b065c07a50">More...</a><br /></td></tr>
<tr class="separator:a7f45929c9e5a0e03b31b42b065c07a50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66b660d3a0c2e81cdf06abc8efebdad1"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a66b660d3a0c2e81cdf06abc8efebdad1"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacesmall__gicp_1_1traits.html#a66b660d3a0c2e81cdf06abc8efebdad1">small_gicp::traits::point</a> (const T &amp;points, size_t i)</td></tr>
<tr class="memdesc:a66b660d3a0c2e81cdf06abc8efebdad1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get i-th point. 4D vector is used to take advantage of SIMD intrinsics. The last element must be filled by one (x, y, z, 1). <a href="namespacesmall__gicp_1_1traits.html#a66b660d3a0c2e81cdf06abc8efebdad1">More...</a><br /></td></tr>
<tr class="separator:a66b660d3a0c2e81cdf06abc8efebdad1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad162655a1c08776aa4c94c2fa1ebf863"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:ad162655a1c08776aa4c94c2fa1ebf863"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacesmall__gicp_1_1traits.html#ad162655a1c08776aa4c94c2fa1ebf863">small_gicp::traits::normal</a> (const T &amp;points, size_t i)</td></tr>
<tr class="memdesc:ad162655a1c08776aa4c94c2fa1ebf863"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get i-th normal. 4D vector is used to take advantage of SIMD intrinsics. The last element must be filled by zero (nx, ny, nz, 0). <a href="namespacesmall__gicp_1_1traits.html#ad162655a1c08776aa4c94c2fa1ebf863">More...</a><br /></td></tr>
<tr class="separator:ad162655a1c08776aa4c94c2fa1ebf863"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9146681bcef16a4c73d3fd05ad295c7"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:ac9146681bcef16a4c73d3fd05ad295c7"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacesmall__gicp_1_1traits.html#ac9146681bcef16a4c73d3fd05ad295c7">small_gicp::traits::cov</a> (const T &amp;points, size_t i)</td></tr>
<tr class="memdesc:ac9146681bcef16a4c73d3fd05ad295c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get i-th covariance. Only the top-left 3x3 matrix is filled, and the bottom row and the right col must be filled by zero. <a href="namespacesmall__gicp_1_1traits.html#ac9146681bcef16a4c73d3fd05ad295c7">More...</a><br /></td></tr>
<tr class="separator:ac9146681bcef16a4c73d3fd05ad295c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae35e34068062341652ed9dbf7c3eba25"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:ae35e34068062341652ed9dbf7c3eba25"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacesmall__gicp_1_1traits.html#ae35e34068062341652ed9dbf7c3eba25">small_gicp::traits::resize</a> (T &amp;points, size_t n)</td></tr>
<tr class="memdesc:ae35e34068062341652ed9dbf7c3eba25"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resize the point cloud (this function should resize all attributes) <a href="namespacesmall__gicp_1_1traits.html#ae35e34068062341652ed9dbf7c3eba25">More...</a><br /></td></tr>
<tr class="separator:ae35e34068062341652ed9dbf7c3eba25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad663f28d1c31b400619cf2c87cf7725a"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:ad663f28d1c31b400619cf2c87cf7725a"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacesmall__gicp_1_1traits.html#ad663f28d1c31b400619cf2c87cf7725a">small_gicp::traits::set_point</a> (T &amp;points, size_t i, const Eigen::Vector4d &amp;pt)</td></tr>
<tr class="memdesc:ad663f28d1c31b400619cf2c87cf7725a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set i-th point. (x, y, z, 1) <a href="namespacesmall__gicp_1_1traits.html#ad663f28d1c31b400619cf2c87cf7725a">More...</a><br /></td></tr>
<tr class="separator:ad663f28d1c31b400619cf2c87cf7725a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5647854e2c446d240366fca679aa8f38"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a5647854e2c446d240366fca679aa8f38"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacesmall__gicp_1_1traits.html#a5647854e2c446d240366fca679aa8f38">small_gicp::traits::set_normal</a> (T &amp;points, size_t i, const Eigen::Vector4d &amp;pt)</td></tr>
<tr class="memdesc:a5647854e2c446d240366fca679aa8f38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set i-th normal. (nx, nz, nz, 0) <a href="namespacesmall__gicp_1_1traits.html#a5647854e2c446d240366fca679aa8f38">More...</a><br /></td></tr>
<tr class="separator:a5647854e2c446d240366fca679aa8f38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e3d8420d93214163aec5cfea1ff6016"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a3e3d8420d93214163aec5cfea1ff6016"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacesmall__gicp_1_1traits.html#a3e3d8420d93214163aec5cfea1ff6016">small_gicp::traits::set_cov</a> (T &amp;points, size_t i, const Eigen::Matrix4d &amp;cov)</td></tr>
<tr class="memdesc:a3e3d8420d93214163aec5cfea1ff6016"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set i-th covariance. Only the top-left 3x3 matrix should be filled. <a href="namespacesmall__gicp_1_1traits.html#a3e3d8420d93214163aec5cfea1ff6016">More...</a><br /></td></tr>
<tr class="separator:a3e3d8420d93214163aec5cfea1ff6016"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>