<!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::opengl::stock_objects Namespace 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 class="current"><a href="namespaces.html"><span>Namespaces</span></a></li> <li><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="namespaces.html"><span>Namespace List</span></a></li> <li><a href="namespacemembers.html"><span>Namespace 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_1opengl.html">opengl</a> </li> <li class="navelem"><a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html">stock_objects</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">mrpt::opengl::stock_objects Namespace Reference<div class="ingroups"><a class="el" href="group__mrpt__opengl__grp.html">[mrpt-opengl]</a></div></div> </div> </div> <div class="contents"> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>A collection of pre-built 3D objects for quick insertion in <a class="el" href="classmrpt_1_1opengl_1_1_c_open_g_l_scene.html" title="This class allows the user to create, load, save, and render 3D scenes using OpenGL primitives...">opengl::COpenGLScene</a> objects. </p> </div><table class="memberdecls"> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1opengl_1_1_c_set_of_objects_ptr.html">CSetOfObjectsPtr</a> OPENGL_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#aecc287d3dbc2b8d26abb5075e63b4c72">RobotPioneer</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a representation of a Pioneer II mobile base. <a href="#aecc287d3dbc2b8d26abb5075e63b4c72"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1opengl_1_1_c_set_of_objects_ptr.html">CSetOfObjectsPtr</a> OPENGL_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#aa46cb341001902e7f83342e8ee6dbad6">CornerXYZ</a> (float scale=1.0)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns three arrows representing a X,Y,Z 3D corner. <a href="#aa46cb341001902e7f83342e8ee6dbad6"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1opengl_1_1_c_set_of_objects_ptr.html">CSetOfObjectsPtr</a> OPENGL_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#a44fbb799b3047316e5a3a4b7cf15cb70">CornerXYZEye</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns three arrows representing a X,Y,Z 3D corner. <a href="#a44fbb799b3047316e5a3a4b7cf15cb70"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1opengl_1_1_c_set_of_objects_ptr.html">CSetOfObjectsPtr</a> OPENGL_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#a4da4d4fbe83a0dff3b68449a28f353ee">CornerXYZSimple</a> (float scale=1.0, float lineWidth=1.0)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns three arrows representing a X,Y,Z 3D corner (just thick lines instead of complex arrows for faster rendering than CornerXYZ). <a href="#a4da4d4fbe83a0dff3b68449a28f353ee"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1opengl_1_1_c_set_of_objects_ptr.html">CSetOfObjectsPtr</a> OPENGL_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#a9b0593caac72e4147cff850b39c4f7b3">CornerXYSimple</a> (float scale=1.0, float lineWidth=1.0)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns two arrows representing a X,Y 2D corner (just thick lines, fast to render). <a href="#a9b0593caac72e4147cff850b39c4f7b3"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1opengl_1_1_c_set_of_objects_ptr.html">CSetOfObjectsPtr</a> OPENGL_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#aea9be43f3ef8d2fe3f55413c28935d9c">BumblebeeCamera</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a simple 3D model of a PointGrey Bumblebee stereo camera. <a href="#aea9be43f3ef8d2fe3f55413c28935d9c"></a><br/></td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="aea9be43f3ef8d2fe3f55413c28935d9c"></a><!-- doxytag: member="mrpt::opengl::stock_objects::BumblebeeCamera" ref="aea9be43f3ef8d2fe3f55413c28935d9c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmrpt_1_1opengl_1_1_c_set_of_objects_ptr.html">CSetOfObjectsPtr</a> OPENGL_IMPEXP mrpt::opengl::stock_objects::BumblebeeCamera </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns a simple 3D model of a PointGrey Bumblebee stereo camera. </p> <p>The generated object must be inserted in a <a class="el" href="classmrpt_1_1opengl_1_1_c_open_g_l_scene.html" title="This class allows the user to create, load, save, and render 3D scenes using OpenGL primitives...">opengl::COpenGLScene</a> or <a class="el" href="classmrpt_1_1opengl_1_1_c_set_of_objects.html" title="A set of object, which are referenced to the coordinates framework established in this object...">opengl::CSetOfObjects</a>. </p> <div align="center"> <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;"> <tr> <td><a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#aea9be43f3ef8d2fe3f55413c28935d9c" title="Returns a simple 3D model of a PointGrey Bumblebee stereo camera.">mrpt::opengl::stock_objects::BumblebeeCamera()</a> </td><td><div class="image"> <img src="preview_stock_objects_BumblebeeCamera.png" alt="preview_stock_objects_BumblebeeCamera.png"/> </div> </td></tr> </table> </div> </div> </div> <a class="anchor" id="a9b0593caac72e4147cff850b39c4f7b3"></a><!-- doxytag: member="mrpt::opengl::stock_objects::CornerXYSimple" ref="a9b0593caac72e4147cff850b39c4f7b3" args="(float scale=1.0, float lineWidth=1.0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmrpt_1_1opengl_1_1_c_set_of_objects_ptr.html">CSetOfObjectsPtr</a> OPENGL_IMPEXP mrpt::opengl::stock_objects::CornerXYSimple </td> <td>(</td> <td class="paramtype">float </td> <td class="paramname"><em>scale</em> = <code>1.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"><em>lineWidth</em> = <code>1.0</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns two arrows representing a X,Y 2D corner (just thick lines, fast to render). </p> <p>The generated object must be inserted in a <a class="el" href="classmrpt_1_1opengl_1_1_c_open_g_l_scene.html" title="This class allows the user to create, load, save, and render 3D scenes using OpenGL primitives...">opengl::COpenGLScene</a> or <a class="el" href="classmrpt_1_1opengl_1_1_c_set_of_objects.html" title="A set of object, which are referenced to the coordinates framework established in this object...">opengl::CSetOfObjects</a>. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#a4da4d4fbe83a0dff3b68449a28f353ee" title="Returns three arrows representing a X,Y,Z 3D corner (just thick lines instead of complex arrows for f...">CornerXYZSimple</a>, <a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#aa46cb341001902e7f83342e8ee6dbad6" title="Returns three arrows representing a X,Y,Z 3D corner.">CornerXYZ</a>, <a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#a44fbb799b3047316e5a3a4b7cf15cb70" title="Returns three arrows representing a X,Y,Z 3D corner.">CornerXYZEye</a> <div align="center"> <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;"> <tr> <td><a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#a9b0593caac72e4147cff850b39c4f7b3" title="Returns two arrows representing a X,Y 2D corner (just thick lines, fast to render).">mrpt::opengl::stock_objects::CornerXYSimple()</a> </td><td><div class="image"> <img src="preview_stock_objects_CornerXYSimple.png" alt="preview_stock_objects_CornerXYSimple.png"/> </div> </td></tr> </table> </div> </dd></dl> <p>Referenced by <a class="el" href="graph__tools__impl_8h_source.html#l00038">mrpt::opengl::graph_tools::graph_visualize()</a>.</p> </div> </div> <a class="anchor" id="aa46cb341001902e7f83342e8ee6dbad6"></a><!-- doxytag: member="mrpt::opengl::stock_objects::CornerXYZ" ref="aa46cb341001902e7f83342e8ee6dbad6" args="(float scale=1.0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmrpt_1_1opengl_1_1_c_set_of_objects_ptr.html">CSetOfObjectsPtr</a> OPENGL_IMPEXP mrpt::opengl::stock_objects::CornerXYZ </td> <td>(</td> <td class="paramtype">float </td> <td class="paramname"><em>scale</em> = <code>1.0</code></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns three arrows representing a X,Y,Z 3D corner. </p> <p>The generated object must be inserted in a <a class="el" href="classmrpt_1_1opengl_1_1_c_open_g_l_scene.html" title="This class allows the user to create, load, save, and render 3D scenes using OpenGL primitives...">opengl::COpenGLScene</a> or <a class="el" href="classmrpt_1_1opengl_1_1_c_set_of_objects.html" title="A set of object, which are referenced to the coordinates framework established in this object...">opengl::CSetOfObjects</a>. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#a4da4d4fbe83a0dff3b68449a28f353ee" title="Returns three arrows representing a X,Y,Z 3D corner (just thick lines instead of complex arrows for f...">CornerXYZSimple</a>, <a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#a9b0593caac72e4147cff850b39c4f7b3" title="Returns two arrows representing a X,Y 2D corner (just thick lines, fast to render).">CornerXYSimple</a>, <a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#a44fbb799b3047316e5a3a4b7cf15cb70" title="Returns three arrows representing a X,Y,Z 3D corner.">CornerXYZEye</a> <div align="center"> <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;"> <tr> <td><a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#aa46cb341001902e7f83342e8ee6dbad6" title="Returns three arrows representing a X,Y,Z 3D corner.">mrpt::opengl::stock_objects::CornerXYZ()</a> </td><td><div class="image"> <img src="preview_stock_objects_CornerXYZ.png" alt="preview_stock_objects_CornerXYZ.png"/> </div> </td></tr> </table> </div> </dd></dl> </div> </div> <a class="anchor" id="a44fbb799b3047316e5a3a4b7cf15cb70"></a><!-- doxytag: member="mrpt::opengl::stock_objects::CornerXYZEye" ref="a44fbb799b3047316e5a3a4b7cf15cb70" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmrpt_1_1opengl_1_1_c_set_of_objects_ptr.html">CSetOfObjectsPtr</a> OPENGL_IMPEXP mrpt::opengl::stock_objects::CornerXYZEye </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns three arrows representing a X,Y,Z 3D corner. </p> <p>Differently from CornerXYZ the arrowhead of Z axis ends where the object is placed. This is useful if you want to place this object with the same position and orientation of a camera. The generated object must be inserted in a <a class="el" href="classmrpt_1_1opengl_1_1_c_open_g_l_scene.html" title="This class allows the user to create, load, save, and render 3D scenes using OpenGL primitives...">opengl::COpenGLScene</a> or <a class="el" href="classmrpt_1_1opengl_1_1_c_set_of_objects.html" title="A set of object, which are referenced to the coordinates framework established in this object...">opengl::CSetOfObjects</a>. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#a4da4d4fbe83a0dff3b68449a28f353ee" title="Returns three arrows representing a X,Y,Z 3D corner (just thick lines instead of complex arrows for f...">CornerXYZSimple</a>, <a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#a9b0593caac72e4147cff850b39c4f7b3" title="Returns two arrows representing a X,Y 2D corner (just thick lines, fast to render).">CornerXYSimple</a> <div align="center"> <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;"> <tr> <td><a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#aa46cb341001902e7f83342e8ee6dbad6" title="Returns three arrows representing a X,Y,Z 3D corner.">mrpt::opengl::stock_objects::CornerXYZ()</a> </td><td><div class="image"> <img src="preview_stock_objects_CornerXYZEye.png" alt="preview_stock_objects_CornerXYZEye.png"/> </div> </td></tr> </table> </div> </dd></dl> </div> </div> <a class="anchor" id="a4da4d4fbe83a0dff3b68449a28f353ee"></a><!-- doxytag: member="mrpt::opengl::stock_objects::CornerXYZSimple" ref="a4da4d4fbe83a0dff3b68449a28f353ee" args="(float scale=1.0, float lineWidth=1.0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmrpt_1_1opengl_1_1_c_set_of_objects_ptr.html">CSetOfObjectsPtr</a> OPENGL_IMPEXP mrpt::opengl::stock_objects::CornerXYZSimple </td> <td>(</td> <td class="paramtype">float </td> <td class="paramname"><em>scale</em> = <code>1.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"><em>lineWidth</em> = <code>1.0</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns three arrows representing a X,Y,Z 3D corner (just thick lines instead of complex arrows for faster rendering than CornerXYZ). </p> <p>The generated object must be inserted in a <a class="el" href="classmrpt_1_1opengl_1_1_c_open_g_l_scene.html" title="This class allows the user to create, load, save, and render 3D scenes using OpenGL primitives...">opengl::COpenGLScene</a> or <a class="el" href="classmrpt_1_1opengl_1_1_c_set_of_objects.html" title="A set of object, which are referenced to the coordinates framework established in this object...">opengl::CSetOfObjects</a>. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#aa46cb341001902e7f83342e8ee6dbad6" title="Returns three arrows representing a X,Y,Z 3D corner.">CornerXYZ</a>, <a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#a9b0593caac72e4147cff850b39c4f7b3" title="Returns two arrows representing a X,Y 2D corner (just thick lines, fast to render).">CornerXYSimple</a> <div align="center"> <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;"> <tr> <td><a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#a4da4d4fbe83a0dff3b68449a28f353ee" title="Returns three arrows representing a X,Y,Z 3D corner (just thick lines instead of complex arrows for f...">mrpt::opengl::stock_objects::CornerXYZSimple()</a> </td><td><div class="image"> <img src="preview_stock_objects_CornerXYZSimple.png" alt="preview_stock_objects_CornerXYZSimple.png"/> </div> </td></tr> </table> </div> </dd></dl> <p>Referenced by <a class="el" href="graph__tools__impl_8h_source.html#l00038">mrpt::opengl::graph_tools::graph_visualize()</a>.</p> </div> </div> <a class="anchor" id="aecc287d3dbc2b8d26abb5075e63b4c72"></a><!-- doxytag: member="mrpt::opengl::stock_objects::RobotPioneer" ref="aecc287d3dbc2b8d26abb5075e63b4c72" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structmrpt_1_1opengl_1_1_c_set_of_objects_ptr.html">CSetOfObjectsPtr</a> OPENGL_IMPEXP mrpt::opengl::stock_objects::RobotPioneer </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns a representation of a Pioneer II mobile base. </p> <p>The generated object must be inserted in a <a class="el" href="classmrpt_1_1opengl_1_1_c_open_g_l_scene.html" title="This class allows the user to create, load, save, and render 3D scenes using OpenGL primitives...">opengl::COpenGLScene</a> or <a class="el" href="classmrpt_1_1opengl_1_1_c_set_of_objects.html" title="A set of object, which are referenced to the coordinates framework established in this object...">opengl::CSetOfObjects</a>. </p> <div align="center"> <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;"> <tr> <td><a class="el" href="namespacemrpt_1_1opengl_1_1stock__objects.html#aecc287d3dbc2b8d26abb5075e63b4c72" title="Returns a representation of a Pioneer II mobile base.">mrpt::opengl::stock_objects::RobotPioneer()</a> </td><td><div class="image"> <img src="preview_stock_objects_RobotPioneer.png" alt="preview_stock_objects_RobotPioneer.png"/> </div> </td></tr> </table> </div> </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>