<!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>lib_mrpt_opengl.h Source File</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><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><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="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div class="header"> <div class="headertitle"> <div class="title">lib_mrpt_opengl.h</div> </div> </div> <div class="contents"> <a href="lib__mrpt__opengl_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/** \defgroup mrpt_opengl_grp [mrpt-opengl]</span> <a name="l00002"></a>00002 <span class="comment"></span> <a name="l00003"></a>00003 <span class="comment"><small> <a href="index.html#libs">Back to list of all libraries</a> | <a href="modules.html" >See all modules</a> </small></span> <a name="l00004"></a>00004 <span class="comment"><br></span> <a name="l00005"></a>00005 <span class="comment"></span> <a name="l00006"></a>00006 <span class="comment"><h2>Library <code>mrpt-opengl</code></h2></span> <a name="l00007"></a>00007 <span class="comment"><hr></span> <a name="l00008"></a>00008 <span class="comment"></span> <a name="l00009"></a>00009 <span class="comment"></span> <a name="l00010"></a>00010 <span class="comment">This library includes several data classes that represent objects that can be </span> <a name="l00011"></a>00011 <span class="comment">inserted into a 3D scene, which can be then rendered or streamed to disk or whatever.</span> <a name="l00012"></a>00012 <span class="comment"></span> <a name="l00013"></a>00013 <span class="comment">A good starting point to explore this library is the base class for all the </span> <a name="l00014"></a>00014 <span class="comment">3D objects: mrpt::opengl::CRenderizable</span> <a name="l00015"></a>00015 <span class="comment"></span> <a name="l00016"></a>00016 <span class="comment">A 3D scene is represented by an object of the type mrpt::opengl::COpenGLScene, </span> <a name="l00017"></a>00017 <span class="comment">which in turn can contain one or several "viewports" in such a way that the </span> <a name="l00018"></a>00018 <span class="comment">rendering area is divided into several spaces, each displaying the same or different</span> <a name="l00019"></a>00019 <span class="comment">objects. See the tutorial online: http://www.mrpt.org/Tutorial_3D_Scenes</span> <a name="l00020"></a>00020 <span class="comment"></span> <a name="l00021"></a>00021 <span class="comment">See the full list of classes in mrpt::opengl.</span> <a name="l00022"></a>00022 <span class="comment"></span> <a name="l00023"></a>00023 <span class="comment">Below follows a table with the preview of most rendering primitive classes:</span> <a name="l00024"></a>00024 <span class="comment"></span> <a name="l00025"></a>00025 <span class="comment"><div align="center"></span> <a name="l00026"></a>00026 <span class="comment"><table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;"></span> <a name="l00027"></a>00027 <span class="comment"> <tr> <td> mrpt::opengl::CArrow </td> <td> \image html preview_CArrow.png </td> </tr></span> <a name="l00028"></a>00028 <span class="comment"> <tr> <td> mrpt::opengl::CAxis </td> <td> \image html preview_CAxis.png </td> </tr></span> <a name="l00029"></a>00029 <span class="comment"> <tr> <td> mrpt::opengl::CBox </td> <td> \image html preview_CBox.png </td> </tr></span> <a name="l00030"></a>00030 <span class="comment"> <tr> <td> mrpt::opengl::CCylinder </td> <td> \image html preview_CCylinder.png </td> </tr></span> <a name="l00031"></a>00031 <span class="comment"> <tr> <td> mrpt::opengl::CDisk </td> <td> \image html preview_CDisk.png </td> </tr></span> <a name="l00032"></a>00032 <span class="comment"> <tr> <td> mrpt::opengl::CEllipsoid </td> <td> \image html preview_CEllipsoid.png </td> </tr></span> <a name="l00033"></a>00033 <span class="comment"> <tr> <td> mrpt::opengl::CGridPlaneXY </td> <td> \image html preview_CGridPlaneXY.png </td> </tr></span> <a name="l00034"></a>00034 <span class="comment"> <tr> <td> mrpt::opengl::CGridPlaneXZ </td> <td> \image html preview_CGridPlaneXZ.png </td> </tr></span> <a name="l00035"></a>00035 <span class="comment"> <tr> <td> mrpt::opengl::CMesh </td> <td> \image html preview_CMesh.png </td> </tr></span> <a name="l00036"></a>00036 <span class="comment"> <tr> <td> mrpt::opengl::CPointCloud </td> <td> \image html preview_CPointCloud.png </td> </tr></span> <a name="l00037"></a>00037 <span class="comment"> <tr> <td> mrpt::opengl::CPointCloudColoured </td> <td> \image html preview_CPointCloudColoured.png </td> </tr></span> <a name="l00038"></a>00038 <span class="comment"> <tr> <td> mrpt::opengl::CPolyhedron </td> <td> \image html preview_CPolyhedron.png </td> </tr></span> <a name="l00039"></a>00039 <span class="comment"> <tr> <td> mrpt::opengl::CSetOfLines </td> <td> \image html preview_CSetOfLines.png </td> </tr></span> <a name="l00040"></a>00040 <span class="comment"> <tr> <td> mrpt::opengl::CSphere </td> <td> \image html preview_CSphere.png </td> </tr></span> <a name="l00041"></a>00041 <span class="comment"> <tr> <td> mrpt::opengl::CText </td> <td> \image html preview_CText.png </td> </tr></span> <a name="l00042"></a>00042 <span class="comment"> <tr> <td> mrpt::opengl::CText3D </td> <td> \image html preview_CText3D.png </td> </tr></span> <a name="l00043"></a>00043 <span class="comment"> <tr> <td> mrpt::opengl::stock_objects::BumblebeeCamera() </td> <td> \image html preview_stock_objects_BumblebeeCamera.png </td> </tr></span> <a name="l00044"></a>00044 <span class="comment"> <tr> <td> mrpt::opengl::stock_objects::CornerXYSimple() </td> <td> \image html preview_stock_objects_CornerXYSimple.png </td> </tr></span> <a name="l00045"></a>00045 <span class="comment"> <tr> <td> mrpt::opengl::stock_objects::CornerXYZSimple() </td> <td> \image html preview_stock_objects_CornerXYZSimple.png </td> </tr></span> <a name="l00046"></a>00046 <span class="comment"> <tr> <td> mrpt::opengl::stock_objects::CornerXYZ() </td> <td> \image html preview_stock_objects_CornerXYZ.png </td> </tr></span> <a name="l00047"></a>00047 <span class="comment"> <tr> <td> mrpt::opengl::stock_objects::RobotPioneer() </td> <td> \image html preview_stock_objects_RobotPioneer.png </td> </tr></span> <a name="l00048"></a>00048 <span class="comment"></table></span> <a name="l00049"></a>00049 <span class="comment"></div></span> <a name="l00050"></a>00050 <span class="comment"></span> <a name="l00051"></a>00051 <span class="comment">Note: The following extra OpenGL classes are provided by other libraries:</span> <a name="l00052"></a>00052 <span class="comment">* mrpt::opengl::CAngularObservationMesh (In mrpt-maps)</span> <a name="l00053"></a>00053 <span class="comment">* mrpt::opengl::CPlanarLaserScan (In mrpt-maps)</span> <a name="l00054"></a>00054 <span class="comment"></span> <a name="l00055"></a>00055 <span class="comment">*/</span> <a name="l00056"></a>00056 </pre></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>