<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>mrpt::math::TPose3D Struct Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> > <b>C++ reference</b> </div> <div align="right"> <a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a> </div> <!-- Generated by Doxygen 1.7.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <div class="left"> <form id="FSearchBox" action="search.php" method="get"> <img id="MSearchSelect" src="search/mag.png" alt=""/> <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"/> </form> </div><div class="right"></div> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespacemrpt.html">mrpt</a> </li> <li class="navelem"><a class="el" href="namespacemrpt_1_1math.html">math</a> </li> <li class="navelem"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html">TPose3D</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pub-attribs">Public Attributes</a> </div> <div class="headertitle"> <div class="title">mrpt::math::TPose3D Struct Reference<div class="ingroups"><a class="el" href="group__geometry__grp.html">Geometry: lines, planes, intersections, SLERP, "lightweight" point & pose classes</a></div></div> </div> </div> <div class="contents"> <!-- doxytag: class="mrpt::math::TPose3D" --><hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Lightweight 3D pose (three spatial coordinates, plus three angular coordinates). </p> <p>Allows coordinate access using [] operator. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html" title="A class used to store a 3D pose (a 3D translation + a rotation in 3D).">mrpt::poses::CPose3D</a> </dd></dl> </div> <p><code>#include <<a class="el" href="lightweight__geom__data_8h_source.html">mrpt/math/lightweight_geom_data.h</a>></code></p> <p><a href="structmrpt_1_1math_1_1_t_pose3_d-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#af89bef211ae035c1d9fb5690fedbb6ca">TPose3D</a> (const <a class="el" href="structmrpt_1_1math_1_1_t_point2_d.html">TPoint2D</a> &p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Implicit constructor from <a class="el" href="structmrpt_1_1math_1_1_t_point2_d.html" title="Lightweight 2D point.">TPoint2D</a>. <a href="#af89bef211ae035c1d9fb5690fedbb6ca"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a1d85d9d24929303fe5834289cbaa4b53">TPose3D</a> (const <a class="el" href="structmrpt_1_1math_1_1_t_pose2_d.html">TPose2D</a> &p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Implicit constructor from <a class="el" href="structmrpt_1_1math_1_1_t_pose2_d.html" title="Lightweight 2D pose.">TPose2D</a>. <a href="#a1d85d9d24929303fe5834289cbaa4b53"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a59e4f0687e08f7e8ff8bbbc7f47d0581">TPose3D</a> (const <a class="el" href="structmrpt_1_1math_1_1_t_point3_d.html">TPoint3D</a> &p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Implicit constructor from <a class="el" href="structmrpt_1_1math_1_1_t_point3_d.html" title="Lightweight 3D point.">TPoint3D</a>. <a href="#a59e4f0687e08f7e8ff8bbbc7f47d0581"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a603dde8322216a9169c2e5b8824182e2">TPose3D</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html">mrpt::poses::CPose3D</a> &p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Implicit constructor from heavyweight type. <a href="#a603dde8322216a9169c2e5b8824182e2"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a55d71b8d84eb0d3ce3129d740e02c342">TPose3D</a> (double _x, double _y, double _z, double _yaw, double _pitch, double _roll)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor from coordinates. <a href="#a55d71b8d84eb0d3ce3129d740e02c342"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#ac8e5bd4c137df41d6be88a0739b86286">TPose3D</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Default fast constructor. <a href="#ac8e5bd4c137df41d6be88a0739b86286"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double & </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#ac64486dfe0fb4a3b74fa83c672b5f4c7">operator[]</a> (size_t i)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Unsafe coordinate access using operator[]. <a href="#ac64486dfe0fb4a3b74fa83c672b5f4c7"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const double & </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a4e19a08aa9676d60b9e8dd8a31371c13">operator[]</a> (size_t i) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Unsafe coordinate access using operator[]. <a href="#a4e19a08aa9676d60b9e8dd8a31371c13"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#abdc2d1bc7428882773b957d4c2ce52ae">norm</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Pose's spatial coordinates norm. <a href="#abdc2d1bc7428882773b957d4c2ce52ae"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#ace014988b5d89b8400fdc58d994e2c35">getAsVector</a> (<a class="el" href="namespacemrpt.html#a4a6aab2c98368ca6b554c04f8fe84cfb">vector_double</a> &v) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the pose as a vector of doubles. <a href="#ace014988b5d89b8400fdc58d994e2c35"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a4439957e9d8d6811ec2f854a82976ae7">asString</a> (<a class="el" href="classstd_1_1string.html">std::string</a> &s) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a human-readable textual representation of the object (eg: "[x y z yaw pitch roll]", angles in degrees.) <a href="#a4439957e9d8d6811ec2f854a82976ae7"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1string.html">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#ac6703e1c2059c201e5f65345ec47478a">asString</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a326a371e576a397f029f2ac7d4deb3d2">fromString</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &s)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the current object value from a string generated by 'asString' (eg: "[0.02 1.04 -0.8]" ) <a href="#a326a371e576a397f029f2ac7d4deb3d2"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a47889c4995254b4457d9a41a501508fc">size</a> ()</td></tr> <tr><td colspan="2"><h2><a name="pub-attribs"></a> Public Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a58c4aff2e15ffe59fcd033a1b8a9a233">x</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">X coordinate. <a href="#a58c4aff2e15ffe59fcd033a1b8a9a233"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a0fc71229e42e72ead9652312ae69259a">y</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Y coordinate. <a href="#a0fc71229e42e72ead9652312ae69259a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a62c86a3ad1d59501afca2b30cd4f9d76">z</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Z coordinate. <a href="#a62c86a3ad1d59501afca2b30cd4f9d76"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#af57c4381902066aac35d93746ed9dff9">yaw</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Yaw coordinate (rotation angle over Z axis). <a href="#af57c4381902066aac35d93746ed9dff9"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#acab2927c55a45e830e741220339bc580">pitch</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Pitch coordinate (rotation angle over Y axis). <a href="#acab2927c55a45e830e741220339bc580"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a6ca364705b1001f112cf423ad68b5a98">roll</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Roll coordinate (rotation angle over X coordinate). <a href="#a6ca364705b1001f112cf423ad68b5a98"></a><br/></td></tr> </table> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="af89bef211ae035c1d9fb5690fedbb6ca"></a><!-- doxytag: member="mrpt::math::TPose3D::TPose3D" ref="af89bef211ae035c1d9fb5690fedbb6ca" args="(const TPoint2D &p)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::math::TPose3D::TPose3D </td> <td>(</td> <td class="paramtype">const <a class="el" href="structmrpt_1_1math_1_1_t_point2_d.html">TPoint2D</a> & </td> <td class="paramname"><em>p</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Implicit constructor from <a class="el" href="structmrpt_1_1math_1_1_t_point2_d.html" title="Lightweight 2D point.">TPoint2D</a>. </p> <p>Zeroes all the unprovided information. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="structmrpt_1_1math_1_1_t_point2_d.html" title="Lightweight 2D point.">TPoint2D</a> </dd></dl> </div> </div> <a class="anchor" id="a1d85d9d24929303fe5834289cbaa4b53"></a><!-- doxytag: member="mrpt::math::TPose3D::TPose3D" ref="a1d85d9d24929303fe5834289cbaa4b53" args="(const TPose2D &p)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::math::TPose3D::TPose3D </td> <td>(</td> <td class="paramtype">const <a class="el" href="structmrpt_1_1math_1_1_t_pose2_d.html">TPose2D</a> & </td> <td class="paramname"><em>p</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Implicit constructor from <a class="el" href="structmrpt_1_1math_1_1_t_pose2_d.html" title="Lightweight 2D pose.">TPose2D</a>. </p> <p>Gets the yaw from the 2D pose's phi, zeroing all the unprovided information. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="structmrpt_1_1math_1_1_t_pose2_d.html" title="Lightweight 2D pose.">TPose2D</a> </dd></dl> </div> </div> <a class="anchor" id="a59e4f0687e08f7e8ff8bbbc7f47d0581"></a><!-- doxytag: member="mrpt::math::TPose3D::TPose3D" ref="a59e4f0687e08f7e8ff8bbbc7f47d0581" args="(const TPoint3D &p)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::math::TPose3D::TPose3D </td> <td>(</td> <td class="paramtype">const <a class="el" href="structmrpt_1_1math_1_1_t_point3_d.html">TPoint3D</a> & </td> <td class="paramname"><em>p</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Implicit constructor from <a class="el" href="structmrpt_1_1math_1_1_t_point3_d.html" title="Lightweight 3D point.">TPoint3D</a>. </p> <p>Zeroes angular information. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="structmrpt_1_1math_1_1_t_point3_d.html" title="Lightweight 3D point.">TPoint3D</a> </dd></dl> </div> </div> <a class="anchor" id="a603dde8322216a9169c2e5b8824182e2"></a><!-- doxytag: member="mrpt::math::TPose3D::TPose3D" ref="a603dde8322216a9169c2e5b8824182e2" args="(const mrpt::poses::CPose3D &p)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::math::TPose3D::TPose3D </td> <td>(</td> <td class="paramtype">const <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html">mrpt::poses::CPose3D</a> & </td> <td class="paramname"><em>p</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Implicit constructor from heavyweight type. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html" title="A class used to store a 3D pose (a 3D translation + a rotation in 3D).">mrpt::poses::CPose3D</a> </dd></dl> </div> </div> <a class="anchor" id="a55d71b8d84eb0d3ce3129d740e02c342"></a><!-- doxytag: member="mrpt::math::TPose3D::TPose3D" ref="a55d71b8d84eb0d3ce3129d740e02c342" args="(double _x, double _y, double _z, double _yaw, double _pitch, double _roll)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::math::TPose3D::TPose3D </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>_x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>_y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>_z</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>_yaw</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>_pitch</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>_roll</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Constructor from coordinates. </p> <p>Definition at line <a class="el" href="lightweight__geom__data_8h_source.html#l00479">479</a> of file <a class="el" href="lightweight__geom__data_8h_source.html">lightweight_geom_data.h</a>.</p> </div> </div> <a class="anchor" id="ac8e5bd4c137df41d6be88a0739b86286"></a><!-- doxytag: member="mrpt::math::TPose3D::TPose3D" ref="ac8e5bd4c137df41d6be88a0739b86286" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::math::TPose3D::TPose3D </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Default fast constructor. </p> <p>Initializes to garbage. </p> <p>Definition at line <a class="el" href="lightweight__geom__data_8h_source.html#l00483">483</a> of file <a class="el" href="lightweight__geom__data_8h_source.html">lightweight_geom_data.h</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a4439957e9d8d6811ec2f854a82976ae7"></a><!-- doxytag: member="mrpt::math::TPose3D::asString" ref="a4439957e9d8d6811ec2f854a82976ae7" args="(std::string &s) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::math::TPose3D::asString </td> <td>(</td> <td class="paramtype"><a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>s</em></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns a human-readable textual representation of the object (eg: "[x y z yaw pitch roll]", angles in degrees.) </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a326a371e576a397f029f2ac7d4deb3d2" title="Set the current object value from a string generated by 'asString' (eg: "[0.02 1.04 -0...">fromString</a> </dd></dl> <p>Definition at line <a class="el" href="lightweight__geom__data_8h_source.html#l00512">512</a> of file <a class="el" href="lightweight__geom__data_8h_source.html">lightweight_geom_data.h</a>.</p> <p>References <a class="el" href="namespacemrpt.html#a3a27af794b658df5491e2b7678f8ccb8">mrpt::format()</a>, <a class="el" href="_core_source.html#l00604">Eigen::internal::y</a>, and <a class="el" href="bits_8h_source.html#l00092">mrpt::utils::RAD2DEG()</a>.</p> </div> </div> <a class="anchor" id="ac6703e1c2059c201e5f65345ec47478a"></a><!-- doxytag: member="mrpt::math::TPose3D::asString" ref="ac6703e1c2059c201e5f65345ec47478a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classstd_1_1string.html">std::string</a> mrpt::math::TPose3D::asString </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="lightweight__geom__data_8h_source.html#l00513">513</a> of file <a class="el" href="lightweight__geom__data_8h_source.html">lightweight_geom_data.h</a>.</p> <p>References <a class="el" href="lightweight__geom__data_8h_source.html#l00513">asString()</a>.</p> <p>Referenced by <a class="el" href="lightweight__geom__data_8h_source.html#l00513">asString()</a>.</p> </div> </div> <a class="anchor" id="a326a371e576a397f029f2ac7d4deb3d2"></a><!-- doxytag: member="mrpt::math::TPose3D::fromString" ref="a326a371e576a397f029f2ac7d4deb3d2" args="(const std::string &s)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::math::TPose3D::fromString </td> <td>(</td> <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> & </td> <td class="paramname"><em>s</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Set the current object value from a string generated by 'asString' (eg: "[0.02 1.04 -0.8]" ) </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a4439957e9d8d6811ec2f854a82976ae7" title="Returns a human-readable textual representation of the object (eg: "[x y z yaw pitch roll]"...">asString</a> </dd></dl> <dl><dt><b>Exceptions:</b></dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classstd_1_1exception.html" title="STL class.">std::exception</a></td><td>On invalid format </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ace014988b5d89b8400fdc58d994e2c35"></a><!-- doxytag: member="mrpt::math::TPose3D::getAsVector" ref="ace014988b5d89b8400fdc58d994e2c35" args="(vector_double &v) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::math::TPose3D::getAsVector </td> <td>(</td> <td class="paramtype"><a class="el" href="namespacemrpt.html#a4a6aab2c98368ca6b554c04f8fe84cfb">vector_double</a> & </td> <td class="paramname"><em>v</em></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Gets the pose as a vector of doubles. </p> <p>Definition at line <a class="el" href="lightweight__geom__data_8h_source.html#l00505">505</a> of file <a class="el" href="lightweight__geom__data_8h_source.html">lightweight_geom_data.h</a>.</p> <p>References <a class="el" href="base_2include_2mrpt_2utils_2types_8h_source.html#l00109">mrpt::dynamicsize_vector::resize()</a>, and <a class="el" href="_core_source.html#l00604">Eigen::internal::y</a>.</p> </div> </div> <a class="anchor" id="abdc2d1bc7428882773b957d4c2ce52ae"></a><!-- doxytag: member="mrpt::math::TPose3D::norm" ref="abdc2d1bc7428882773b957d4c2ce52ae" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double mrpt::math::TPose3D::norm </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Pose's spatial coordinates norm. </p> <p>Definition at line <a class="el" href="lightweight__geom__data_8h_source.html#l00499">499</a> of file <a class="el" href="lightweight__geom__data_8h_source.html">lightweight_geom_data.h</a>.</p> <p>References <a class="el" href="bits_8h_source.html#l00161">mrpt::utils::square()</a>, and <a class="el" href="_core_source.html#l00604">Eigen::internal::y</a>.</p> </div> </div> <a class="anchor" id="ac64486dfe0fb4a3b74fa83c672b5f4c7"></a><!-- doxytag: member="mrpt::math::TPose3D::operator[]" ref="ac64486dfe0fb4a3b74fa83c672b5f4c7" args="(size_t i)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double& mrpt::math::TPose3D::operator[] </td> <td>(</td> <td class="paramtype">size_t </td> <td class="paramname"><em>i</em></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Unsafe coordinate access using operator[]. </p> <p>Intended for loops. </p> <p>Definition at line <a class="el" href="lightweight__geom__data_8h_source.html#l00487">487</a> of file <a class="el" href="lightweight__geom__data_8h_source.html">lightweight_geom_data.h</a>.</p> </div> </div> <a class="anchor" id="a4e19a08aa9676d60b9e8dd8a31371c13"></a><!-- doxytag: member="mrpt::math::TPose3D::operator[]" ref="a4e19a08aa9676d60b9e8dd8a31371c13" args="(size_t i) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const double& mrpt::math::TPose3D::operator[] </td> <td>(</td> <td class="paramtype">size_t </td> <td class="paramname"><em>i</em></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Unsafe coordinate access using operator[]. </p> <p>Intended for loops. </p> <p>Definition at line <a class="el" href="lightweight__geom__data_8h_source.html#l00493">493</a> of file <a class="el" href="lightweight__geom__data_8h_source.html">lightweight_geom_data.h</a>.</p> </div> </div> <a class="anchor" id="a47889c4995254b4457d9a41a501508fc"></a><!-- doxytag: member="mrpt::math::TPose3D::size" ref="a47889c4995254b4457d9a41a501508fc" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static size_t mrpt::math::TPose3D::size </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="lightweight__geom__data_8h_source.html#l00520">520</a> of file <a class="el" href="lightweight__geom__data_8h_source.html">lightweight_geom_data.h</a>.</p> <p>Referenced by <a class="el" href="_p_f__implementations_8h_source.html#l00518">mrpt::slam::PF_implementation::PF_SLAM_implementation_pfAuxiliaryPFStandardAndOptimal()</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="acab2927c55a45e830e741220339bc580"></a><!-- doxytag: member="mrpt::math::TPose3D::pitch" ref="acab2927c55a45e830e741220339bc580" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double <a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#acab2927c55a45e830e741220339bc580">mrpt::math::TPose3D::pitch</a></td> </tr> </table> </div> <div class="memdoc"> <p>Pitch coordinate (rotation angle over Y axis). </p> <p>Definition at line <a class="el" href="lightweight__geom__data_8h_source.html#l00451">451</a> of file <a class="el" href="lightweight__geom__data_8h_source.html">lightweight_geom_data.h</a>.</p> <p>Referenced by <a class="el" href="_c_network_of_poses__impl_8h_source.html#l00161">mrpt::graphs::detail::graph_ops::load_graph_of_poses_from_text_file()</a>, <a class="el" href="lightweight__geom__data_8h_source.html#l00627">mrpt::math::operator==()</a>, and <a class="el" href="lightweight__geom__data_8h_source.html#l00633">mrpt::math::operator!=()</a>.</p> </div> </div> <a class="anchor" id="a6ca364705b1001f112cf423ad68b5a98"></a><!-- doxytag: member="mrpt::math::TPose3D::roll" ref="a6ca364705b1001f112cf423ad68b5a98" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double <a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a6ca364705b1001f112cf423ad68b5a98">mrpt::math::TPose3D::roll</a></td> </tr> </table> </div> <div class="memdoc"> <p>Roll coordinate (rotation angle over X coordinate). </p> <p>Definition at line <a class="el" href="lightweight__geom__data_8h_source.html#l00455">455</a> of file <a class="el" href="lightweight__geom__data_8h_source.html">lightweight_geom_data.h</a>.</p> <p>Referenced by <a class="el" href="_c_network_of_poses__impl_8h_source.html#l00161">mrpt::graphs::detail::graph_ops::load_graph_of_poses_from_text_file()</a>, <a class="el" href="lightweight__geom__data_8h_source.html#l00627">mrpt::math::operator==()</a>, and <a class="el" href="lightweight__geom__data_8h_source.html#l00633">mrpt::math::operator!=()</a>.</p> </div> </div> <a class="anchor" id="a58c4aff2e15ffe59fcd033a1b8a9a233"></a><!-- doxytag: member="mrpt::math::TPose3D::x" ref="a58c4aff2e15ffe59fcd033a1b8a9a233" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double <a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a58c4aff2e15ffe59fcd033a1b8a9a233">mrpt::math::TPose3D::x</a></td> </tr> </table> </div> <div class="memdoc"> <p>X coordinate. </p> <p>Definition at line <a class="el" href="lightweight__geom__data_8h_source.html#l00435">435</a> of file <a class="el" href="lightweight__geom__data_8h_source.html">lightweight_geom_data.h</a>.</p> <p>Referenced by <a class="el" href="_c_network_of_poses__impl_8h_source.html#l00161">mrpt::graphs::detail::graph_ops::load_graph_of_poses_from_text_file()</a>, <a class="el" href="lightweight__geom__data_8h_source.html#l00627">mrpt::math::operator==()</a>, and <a class="el" href="lightweight__geom__data_8h_source.html#l00633">mrpt::math::operator!=()</a>.</p> </div> </div> <a class="anchor" id="a0fc71229e42e72ead9652312ae69259a"></a><!-- doxytag: member="mrpt::math::TPose3D::y" ref="a0fc71229e42e72ead9652312ae69259a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double <a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a0fc71229e42e72ead9652312ae69259a">mrpt::math::TPose3D::y</a></td> </tr> </table> </div> <div class="memdoc"> <p>Y coordinate. </p> <p>Definition at line <a class="el" href="lightweight__geom__data_8h_source.html#l00439">439</a> of file <a class="el" href="lightweight__geom__data_8h_source.html">lightweight_geom_data.h</a>.</p> <p>Referenced by <a class="el" href="_c_network_of_poses__impl_8h_source.html#l00161">mrpt::graphs::detail::graph_ops::load_graph_of_poses_from_text_file()</a>, <a class="el" href="lightweight__geom__data_8h_source.html#l00627">mrpt::math::operator==()</a>, and <a class="el" href="lightweight__geom__data_8h_source.html#l00633">mrpt::math::operator!=()</a>.</p> </div> </div> <a class="anchor" id="af57c4381902066aac35d93746ed9dff9"></a><!-- doxytag: member="mrpt::math::TPose3D::yaw" ref="af57c4381902066aac35d93746ed9dff9" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double <a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#af57c4381902066aac35d93746ed9dff9">mrpt::math::TPose3D::yaw</a></td> </tr> </table> </div> <div class="memdoc"> <p>Yaw coordinate (rotation angle over Z axis). </p> <p>Definition at line <a class="el" href="lightweight__geom__data_8h_source.html#l00447">447</a> of file <a class="el" href="lightweight__geom__data_8h_source.html">lightweight_geom_data.h</a>.</p> <p>Referenced by <a class="el" href="_c_network_of_poses__impl_8h_source.html#l00161">mrpt::graphs::detail::graph_ops::load_graph_of_poses_from_text_file()</a>, <a class="el" href="lightweight__geom__data_8h_source.html#l00627">mrpt::math::operator==()</a>, and <a class="el" href="lightweight__geom__data_8h_source.html#l00633">mrpt::math::operator!=()</a>.</p> </div> </div> <a class="anchor" id="a62c86a3ad1d59501afca2b30cd4f9d76"></a><!-- doxytag: member="mrpt::math::TPose3D::z" ref="a62c86a3ad1d59501afca2b30cd4f9d76" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double <a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html#a62c86a3ad1d59501afca2b30cd4f9d76">mrpt::math::TPose3D::z</a></td> </tr> </table> </div> <div class="memdoc"> <p>Z coordinate. </p> <p>Definition at line <a class="el" href="lightweight__geom__data_8h_source.html#l00443">443</a> of file <a class="el" href="lightweight__geom__data_8h_source.html">lightweight_geom_data.h</a>.</p> <p>Referenced by <a class="el" href="_c_network_of_poses__impl_8h_source.html#l00161">mrpt::graphs::detail::graph_ops::load_graph_of_poses_from_text_file()</a>, <a class="el" href="lightweight__geom__data_8h_source.html#l00627">mrpt::math::operator==()</a>, and <a class="el" href="lightweight__geom__data_8h_source.html#l00633">mrpt::math::operator!=()</a>.</p> </div> </div> </div> <br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.7.5</a> for MRPT 0.9.5 SVN: at Sun Sep 25 17:20:18 UTC 2011</td><td></td> <td width="100"> </td> <td width="150"> </td></tr> </table> </body></html>