<!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>The MRPT project: math_frwds.h File 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.2 --> <script type="text/javascript"><!-- var searchBox = new SearchBox("searchBox", "search",false,'Search'); --></script> <div class="navigation" id="top"> <div 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><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li id="searchli"> <div id="MSearchBox" class="MSearchBoxInactive"> <span 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> </span><span class="right"></span> </div> </li> </ul> </div> <div class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#namespaces">Namespaces</a> | <a href="#define-members">Defines</a> | <a href="#enum-members">Enumerations</a> | <a href="#func-members">Functions</a> | <a href="#var-members">Variables</a> </div> <div class="headertitle"> <h1>math_frwds.h File Reference</h1> </div> </div> <div class="contents"> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Forward declarations of all <a class="el" href="namespacemrpt_1_1math.html" title="This base provides a set of functions for maths stuff.">mrpt::math</a> classes related to vectors, arrays and matrices. Many of the function implementations are in <a class="el" href="ops__matrices_8h.html" title="This file implements miscelaneous matrix and matrix/vector operations, plus internal functions in mrp...">ops_matrices.h</a>, others in <a class="el" href="ops__containers_8h.html" title="This file implements several operations that operate element-wise on individual or pairs of container...">ops_containers.h</a> </p> <p>Definition in file <a class="el" href="math__frwds_8h_source.html">math_frwds.h</a>.</p> <code>#include <mrpt/config.h></code><br/> <code>#include <<a class="el" href="base_2include_2mrpt_2base_2link__pragmas_8h_source.html">mrpt/base/link_pragmas.h</a>></code><br/> <code>#include <cmath></code><br/> <code>#include <cstdlib></code><br/> <code>#include <algorithm></code><br/> <!-- startSectionHeader --><div class="dynheader"> Include dependency graph for math_frwds.h:<!-- endSectionHeader --></div> <!-- startSectionSummary --><!-- endSectionSummary --><!-- startSectionContent --><div class="dyncontent"> <div class="center"><img src="math__frwds_8h__incl.png" border="0" usemap="#math__frwds_8h" alt=""/></div> <map name="math__frwds_8h" id="math__frwds_8h"> </map> <!-- endSectionContent --></div> <!-- startSectionHeader --><div class="dynheader"> This graph shows which files directly or indirectly include this file:<!-- endSectionHeader --></div> <!-- startSectionSummary --><!-- endSectionSummary --><!-- startSectionContent --><div class="dyncontent"> <div class="center"><img src="math__frwds_8h__dep__incl.png" border="0" usemap="#math__frwds_8hdep" alt=""/></div> <map name="math__frwds_8hdep" id="math__frwds_8hdep"> </map> <!-- endSectionContent --></div> <p><a href="math__frwds_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="nested-classes"></a> Classes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1detail_1_1_t_aux_resizer.html">mrpt::math::detail::TAuxResizer< MAT, TypeSizeAtCompileTime ></a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal resize which compiles to nothing on fixed-size matrices. <a href="structmrpt_1_1math_1_1detail_1_1_t_aux_resizer.html#_details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1detail_1_1_t_aux_resizer_3_01_m_a_t_00-1_01_4.html">mrpt::math::detail::TAuxResizer< MAT,-1 ></a></td></tr> <tr><td colspan="2"><h2><a name="namespaces"></a> Namespaces</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt.html">mrpt</a></td></tr> <p><tr><td class="mdescLeft"> </td><td class="mdescRight"><p>This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. </p> <br/></td></tr> </p> <tr><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1utils.html">mrpt::utils</a></td></tr> <p><tr><td class="mdescLeft"> </td><td class="mdescRight"><p>Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL. </p> <br/></td></tr> </p> <tr><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html">mrpt::system</a></td></tr> <p><tr><td class="mdescLeft"> </td><td class="mdescRight"><p>This namespace provides a OS-independent interface to many useful functions: filenames manipulation, time and date, string parsing, file I/O, threading, memory allocation, etc. </p> <br/></td></tr> </p> <tr><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1poses.html">mrpt::poses</a></td></tr> <p><tr><td class="mdescLeft"> </td><td class="mdescRight"><p>Classes for 2D/3D geometry representation, both of single values and probability density distributions (PDFs) in many forms. </p> <br/></td></tr> </p> <tr><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html">mrpt::math</a></td></tr> <p><tr><td class="mdescLeft"> </td><td class="mdescRight"><p>This base provides a set of functions for maths stuff. </p> <br/></td></tr> </p> <tr><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html">mrpt::math::detail</a></td></tr> <tr><td colspan="2"><h2><a name="define-members"></a> Defines</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="math__frwds_8h.html#a62ee3e474e8ff7287af332daa529f7f8">MRPT_MATRIX_CONSTRUCTORS_FROM_POSES</a>(_CLASS_)</td></tr> <tr><td colspan="2"><h2><a name="enum-members"></a> Enumerations</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#a5c655254dc91e1e5e5b7e43ab7572d85">mrpt::math::TMatrixTextFileFormat</a> { <a class="el" href="namespacemrpt_1_1math.html#a5c655254dc91e1e5e5b7e43ab7572d85a40e11335e625d349cfb19366b9d23e04">mrpt::math::MATRIX_FORMAT_ENG</a> = 0, <a class="el" href="namespacemrpt_1_1math.html#a5c655254dc91e1e5e5b7e43ab7572d85a417d954dbfac48470b7bbe455784ec19">mrpt::math::MATRIX_FORMAT_FIXED</a> = 1, <a class="el" href="namespacemrpt_1_1math.html#a5c655254dc91e1e5e5b7e43ab7572d85ac1fe98ff9b96269a607dc3ae8f0edbe5">mrpt::math::MATRIX_FORMAT_INT</a> = 2 }</td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#a27e8ae8971ff5aa1c39f1f9be334d73a">mrpt::math::TConstructorFlags_Matrices</a> { <a class="el" href="namespacemrpt_1_1math.html#a27e8ae8971ff5aa1c39f1f9be334d73aa28acc66160006cb691487ec89f8d266d">mrpt::math::UNINITIALIZED_MATRIX</a> = 0 }</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><p>For usage in one of the constructors of CMatrixFixedNumeric or CMatrixTemplate (and derived classes), if it's not required to fill it with zeros at the constructor to save time. </p> <a href="namespacemrpt_1_1math.html#a27e8ae8971ff5aa1c39f1f9be334d73a">More...</a><br/></td></tr> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1utils.html#a032c641668be644d9e86c6e770bd11b0">mrpt::utils::square</a> (const T x)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Inline function for the square of a number. <a href="#a032c641668be644d9e86c6e770bd11b0"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::string BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html#a8fe63df666e65644f220e175df15c8ab">mrpt::system::MRPT_getVersion</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a string describing the MRPT version including the SVN number. <a href="#a8fe63df666e65644f220e175df15c8ab"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template<class CONTAINER1 , class CONTAINER2 > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#a56cf8da4f694023de52be20605961e0e">mrpt::math::cumsum</a> (const CONTAINER1 &in_data, CONTAINER2 &out_cumsum)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Computes the cumulative sum of all the elements, saving the result in another container. <a href="#a56cf8da4f694023de52be20605961e0e"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template<class CONTAINER > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="eigen__plugins_8h.html#afd07186978da46f9908364e389f8a403">CONTAINER::value_type</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#ad5fc47ed8886ef4bc6028a73946a22b8">mrpt::math::norm</a> (const CONTAINER &v)</td></tr> <tr><td class="memTemplParams" colspan="2">template<class CONTAINER > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="eigen__plugins_8h.html#afd07186978da46f9908364e389f8a403">CONTAINER::value_type</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#a4a58d6a1ec533e39f1446d6709e55960">mrpt::math::norm_inf</a> (const CONTAINER &v)</td></tr> <tr><td class="memTemplParams" colspan="2">template<class MAT_A , class SKEW_3VECTOR , class MAT_OUT > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#a40568623e77ef2ba0b4e527784522ab2">mrpt::math::multiply_A_skew3</a> (const MAT_A &A, const SKEW_3VECTOR &v, MAT_OUT &out)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Only for vectors/arrays "v" of length3, compute out = A * Skew(v), where Skew(v) is the skew symmetric matric generated from <em>v</em> (see <a class="el" href="namespacemrpt_1_1math.html#acb86f87afdf4445de176eb99723626cf" title="Computes the 3x3 skew symmetric matrix from a 3-vector or 3-array: .">mrpt::math::skew_symmetric3</a>) <a href="#a40568623e77ef2ba0b4e527784522ab2"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template<class SKEW_3VECTOR , class MAT_A , class MAT_OUT > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#a0612b652b47cd918c7691a6de868a6cf">mrpt::math::multiply_skew3_A</a> (const SKEW_3VECTOR &v, const MAT_A &A, MAT_OUT &out)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Only for vectors/arrays "v" of length3, compute out = Skew(v) * A, where Skew(v) is the skew symmetric matric generated from <em>v</em> (see <a class="el" href="namespacemrpt_1_1math.html#acb86f87afdf4445de176eb99723626cf" title="Computes the 3x3 skew symmetric matrix from a 3-vector or 3-array: .">mrpt::math::skew_symmetric3</a>) <a href="#a0612b652b47cd918c7691a6de868a6cf"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">TPoint2D BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#a51a3e438efb331032d34d57b02f55d58">mrpt::math::detail::lightFromPose</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_point2_d.html">mrpt::poses::CPoint2D</a> &p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a pose into a light-weight structure (functional form, needed for forward declarations) <a href="#a51a3e438efb331032d34d57b02f55d58"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">TPoint3D BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#a47b8cca988a1fec49e639cae33f25645">mrpt::math::detail::lightFromPose</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html">mrpt::poses::CPoint3D</a> &p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a pose into a light-weight structure (functional form, needed for forward declarations) <a href="#a47b8cca988a1fec49e639cae33f25645"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">TPose2D BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#a7a04c1e3d797f90b3d823702d5ce86c1">mrpt::math::detail::lightFromPose</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_pose2_d.html">mrpt::poses::CPose2D</a> &p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a pose into a light-weight structure (functional form, needed for forward declarations) <a href="#a7a04c1e3d797f90b3d823702d5ce86c1"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">TPose3D BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#a7067d1157887b750f31f2f23d79bfb12">mrpt::math::detail::lightFromPose</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">Convert a pose into a light-weight structure (functional form, needed for forward declarations) <a href="#a7067d1157887b750f31f2f23d79bfb12"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">TPose3DQuat BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#a166bce627a5ae386e9e8a342dbf9b79e">mrpt::math::detail::lightFromPose</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d_quat.html">mrpt::poses::CPose3DQuat</a> &p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert a pose into a light-weight structure (functional form, needed for forward declarations) <a href="#a166bce627a5ae386e9e8a342dbf9b79e"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template<class MATORG , class MATDEST > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math_1_1detail.html#aefa77744bb8994be7f9e0d790deb3b44">mrpt::math::detail::extractMatrix</a> (const MATORG &M, const size_t first_row, const size_t first_col, MATDEST &outMat)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Extract a submatrix - The output matrix must be set to the required size before call. <a href="#aefa77744bb8994be7f9e0d790deb3b44"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template<class CONTAINER > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">CONTAINER & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#ac5a8e20c65f4c2cae3d378b2c6ff7456">mrpt::math::containerFromPoseOrPoint</a> (CONTAINER &C, const <a class="el" href="classmrpt_1_1poses_1_1_c_point2_d.html">mrpt::poses::CPoint2D</a> &p)</td></tr> <tr><td class="memTemplParams" colspan="2">template<class CONTAINER > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">CONTAINER & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#a4bb4a016bbcd2eec66734523e1c14342">mrpt::math::containerFromPoseOrPoint</a> (CONTAINER &C, const <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html">mrpt::poses::CPoint3D</a> &p)</td></tr> <tr><td class="memTemplParams" colspan="2">template<class CONTAINER > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">CONTAINER & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#a774a9b26ee0d695844c24837065b8dee">mrpt::math::containerFromPoseOrPoint</a> (CONTAINER &C, const <a class="el" href="classmrpt_1_1poses_1_1_c_pose2_d.html">mrpt::poses::CPose2D</a> &p)</td></tr> <tr><td class="memTemplParams" colspan="2">template<class CONTAINER > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">CONTAINER & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#ac0e21992720db8acd0aaacac5776b245">mrpt::math::containerFromPoseOrPoint</a> (CONTAINER &C, const <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html">mrpt::poses::CPose3D</a> &p)</td></tr> <tr><td class="memTemplParams" colspan="2">template<class CONTAINER > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">CONTAINER & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#a1a0a7babb360c026c5711a5433149a83">mrpt::math::containerFromPoseOrPoint</a> (CONTAINER &C, const <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d_quat.html">mrpt::poses::CPose3DQuat</a> &p)</td></tr> <tr><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#ae47d6345832411712f6f029c774b7acc">mrpt::math::wrapTo2Pi</a> (T a)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Modifies the given angle to translate it into the [0,2pi[ range. <a href="#ae47d6345832411712f6f029c774b7acc"></a><br/></td></tr> <tr><td colspan="2"><div class="groupHeader">Container initializer from pose classes</div></td></tr> <tr><td class="memTemplParams" colspan="2">template<class CONTAINER > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">CONTAINER & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#a18b8cfcc454e72d87d806753eb3b5694">mrpt::math::containerFromPoseOrPoint</a> (CONTAINER &C, const TPoint2D &p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Conversion of poses to MRPT containers (vector/matrix) <a href="#a18b8cfcc454e72d87d806753eb3b5694"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template<class CONTAINER > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">CONTAINER & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#a6bdfd041395418914ec1b42ce0f3f00c">mrpt::math::containerFromPoseOrPoint</a> (CONTAINER &C, const TPoint3D &p)</td></tr> <tr><td class="memTemplParams" colspan="2">template<class CONTAINER > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">CONTAINER & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#a52fb7327d6fb509eeecf18ae2b2b4919">mrpt::math::containerFromPoseOrPoint</a> (CONTAINER &C, const TPose2D &p)</td></tr> <tr><td class="memTemplParams" colspan="2">template<class CONTAINER > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">CONTAINER & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#a6f270373b399d5a8eb2a2dac3f3bc7b4">mrpt::math::containerFromPoseOrPoint</a> (CONTAINER &C, const TPose3D &p)</td></tr> <tr><td class="memTemplParams" colspan="2">template<class CONTAINER > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">CONTAINER & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1math.html#ace44fffcac751604f58f46fbb71ec6d7">mrpt::math::containerFromPoseOrPoint</a> (CONTAINER &C, const TPose3DQuat &p)</td></tr> <tr><td colspan="2"><h2><a name="var-members"></a> Variables</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1utils.html#a4aa6d0388c837d159ca801e48d601449">mrpt::utils::CStream</a></td></tr> </table> <hr/><h2>Define Documentation</h2> <a class="anchor" id="a62ee3e474e8ff7287af332daa529f7f8"></a><!-- doxytag: member="math_frwds.h::MRPT_MATRIX_CONSTRUCTORS_FROM_POSES" ref="a62ee3e474e8ff7287af332daa529f7f8" args="(_CLASS_)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define MRPT_MATRIX_CONSTRUCTORS_FROM_POSES</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">_CLASS_ )</td> <td></td> </tr> </table> </div> <div class="memdoc"> <b>Value:</b><div class="fragment"><pre class="fragment"><span class="keyword">explicit</span> <span class="keyword">inline</span> _CLASS_( <span class="keyword">const</span> <a class="code" href="structmrpt_1_1math_1_1_t_pose2_d.html" title="Lightweight 2D pose.">mrpt::math::TPose2D</a> &p) { <a class="code" href="namespacemrpt_1_1math.html#a18b8cfcc454e72d87d806753eb3b5694" title="Conversion of poses to MRPT containers (vector/matrix)">mrpt::math::containerFromPoseOrPoint</a>(*<span class="keyword">this</span>,p); } \ <span class="keyword">explicit</span> <span class="keyword">inline</span> _CLASS_( <span class="keyword">const</span> <a class="code" href="structmrpt_1_1math_1_1_t_pose3_d.html" title="Lightweight 3D pose (three spatial coordinates, plus three angular coordinates).">mrpt::math::TPose3D</a> &p) { <a class="code" href="namespacemrpt_1_1math.html#a18b8cfcc454e72d87d806753eb3b5694" title="Conversion of poses to MRPT containers (vector/matrix)">mrpt::math::containerFromPoseOrPoint</a>(*<span class="keyword">this</span>,p); } \ <span class="keyword">explicit</span> <span class="keyword">inline</span> _CLASS_( <span class="keyword">const</span> <a class="code" href="structmrpt_1_1math_1_1_t_pose3_d_quat.html" title="Lightweight 3D pose (three spatial coordinates, plus a quaternion ).">mrpt::math::TPose3DQuat</a> &p) { <a class="code" href="namespacemrpt_1_1math.html#a18b8cfcc454e72d87d806753eb3b5694" title="Conversion of poses to MRPT containers (vector/matrix)">mrpt::math::containerFromPoseOrPoint</a>(*<span class="keyword">this</span>,p); } \ <span class="keyword">explicit</span> <span class="keyword">inline</span> _CLASS_( <span class="keyword">const</span> <a class="code" href="structmrpt_1_1math_1_1_t_point2_d.html" title="Lightweight 2D point.">mrpt::math::TPoint2D</a> &p) { <a class="code" href="namespacemrpt_1_1math.html#a18b8cfcc454e72d87d806753eb3b5694" title="Conversion of poses to MRPT containers (vector/matrix)">mrpt::math::containerFromPoseOrPoint</a>(*<span class="keyword">this</span>,p); } \ <span class="keyword">explicit</span> <span class="keyword">inline</span> _CLASS_( <span class="keyword">const</span> <a class="code" href="structmrpt_1_1math_1_1_t_point3_d.html" title="Lightweight 3D point.">mrpt::math::TPoint3D</a> &p) { <a class="code" href="namespacemrpt_1_1math.html#a18b8cfcc454e72d87d806753eb3b5694" title="Conversion of poses to MRPT containers (vector/matrix)">mrpt::math::containerFromPoseOrPoint</a>(*<span class="keyword">this</span>,p); } \ <span class="keyword">explicit</span> <span class="keyword">inline</span> _CLASS_( <span class="keyword">const</span> <a class="code" href="classmrpt_1_1poses_1_1_c_pose2_d.html" title="A class used to store a 2D pose.">mrpt::poses::CPose2D</a> &p) { <a class="code" href="namespacemrpt_1_1math.html#a18b8cfcc454e72d87d806753eb3b5694" title="Conversion of poses to MRPT containers (vector/matrix)">mrpt::math::containerFromPoseOrPoint</a>(*<span class="keyword">this</span>,p); } \ <span class="keyword">explicit</span> <span class="keyword">inline</span> _CLASS_( <span class="keyword">const</span> <a class="code" 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> &p) { <a class="code" href="namespacemrpt_1_1math.html#a18b8cfcc454e72d87d806753eb3b5694" title="Conversion of poses to MRPT containers (vector/matrix)">mrpt::math::containerFromPoseOrPoint</a>(*<span class="keyword">this</span>,p); } \ <span class="keyword">explicit</span> <span class="keyword">inline</span> _CLASS_( <span class="keyword">const</span> <a class="code" href="classmrpt_1_1poses_1_1_c_pose3_d_quat.html" title="A class used to store a 3D pose as a translation (x,y,z) and a quaternion (qr,qx,qy,qz).">mrpt::poses::CPose3DQuat</a> &p) { <a class="code" href="namespacemrpt_1_1math.html#a18b8cfcc454e72d87d806753eb3b5694" title="Conversion of poses to MRPT containers (vector/matrix)">mrpt::math::containerFromPoseOrPoint</a>(*<span class="keyword">this</span>,p); } \ <span class="keyword">explicit</span> <span class="keyword">inline</span> _CLASS_( <span class="keyword">const</span> <a class="code" href="classmrpt_1_1poses_1_1_c_point2_d.html" title="A class used to store a 2D point.">mrpt::poses::CPoint2D</a> &p) { <a class="code" href="namespacemrpt_1_1math.html#a18b8cfcc454e72d87d806753eb3b5694" title="Conversion of poses to MRPT containers (vector/matrix)">mrpt::math::containerFromPoseOrPoint</a>(*<span class="keyword">this</span>,p); } \ <span class="keyword">explicit</span> <span class="keyword">inline</span> _CLASS_( <span class="keyword">const</span> <a class="code" href="classmrpt_1_1poses_1_1_c_point3_d.html" title="A class used to store a 3D point.">mrpt::poses::CPoint3D</a> &p) { <a class="code" href="namespacemrpt_1_1math.html#a18b8cfcc454e72d87d806753eb3b5694" title="Conversion of poses to MRPT containers (vector/matrix)">mrpt::math::containerFromPoseOrPoint</a>(*<span class="keyword">this</span>,p); } </pre></div> <p>Definition at line <a class="el" href="math__frwds_8h_source.html#l00108">108</a> of file <a class="el" href="math__frwds_8h_source.html">math_frwds.h</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.2</a> for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011</td><td></td> <td width="100"> </td> <td width="150"> </td></tr> </table> </body></html>