Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 4bc66056a634db26a1f4d0845dc41ca6 > files > 6458

mrpt-doc-0.9.5-0.1.20110925svn2670.fc16.i686.rpm

<!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>gl_utils.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> &gt; <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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a>  </div>
  <div class="headertitle">
<div class="title">gl_utils.h File Reference</div>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="utils__defs_8h_source.html">mrpt/utils/utils_defs.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="opengl__fonts_8h_source.html">mrpt/opengl/opengl_fonts.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="_c_renderizable_8h_source.html">mrpt/opengl/CRenderizable.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="opengl_2include_2mrpt_2opengl_2link__pragmas_8h_source.html">mrpt/opengl/link_pragmas.h</a>&gt;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for gl_utils.h:</div>
<div class="dyncontent">
<div class="center"><img src="gl__utils_8h__incl.png" border="0" usemap="#gl__utils_8h" alt=""/></div>
<map name="gl__utils_8h" id="gl__utils_8h">
<area shape="rect" id="node3" href="utils__defs_8h.html" title="mrpt/utils/utils_defs.h" alt="" coords="1199,229,1345,256"/><area shape="rect" id="node116" href="opengl__fonts_8h.html" title="mrpt/opengl/opengl_fonts.h" alt="" coords="1315,155,1493,181"/><area shape="rect" id="node123" href="opengl_2include_2mrpt_2opengl_2link__pragmas_8h.html" title="mrpt/opengl/link_pragmas.h" alt="" coords="86,229,268,256"/><area shape="rect" id="node127" href="_c_renderizable_8h.html" title="mrpt/opengl/CRenderizable.h" alt="" coords="910,80,1100,107"/><area shape="rect" id="node7" href="os_8h.html" title="mrpt/system/os.h" alt="" coords="2149,304,2272,331"/><area shape="rect" id="node20" href="base_2include_2mrpt_2base_2link__pragmas_8h.html" title="mrpt/base/link_pragmas.h" alt="" coords="169,528,340,555"/><area shape="rect" id="node23" href="boost__join_8h.html" title="mrpt/utils/boost_join.h" alt="" coords="5,603,155,629"/><area shape="rect" id="node25" href="base_2include_2mrpt_2utils_2types_8h.html" title="mrpt/utils/types.h" alt="" coords="1687,379,1809,405"/><area shape="rect" id="node63" href="mrpt__macros_8h.html" title="mrpt/utils/mrpt_macros.h" alt="" coords="2391,379,2557,405"/><area shape="rect" id="node66" href="compiler__fixes_8h.html" title="mrpt/utils/compiler_fixes.h" alt="" coords="1310,304,1484,331"/><area shape="rect" id="node93" href="smart__ptr_8hpp.html" title="mrpt/otherlibs/stlplus/smart_ptr.hpp" alt="" coords="523,379,749,405"/><area shape="rect" id="node110" href="bits_8h.html" title="mrpt/utils/bits.h" alt="" coords="847,304,957,331"/><area shape="rect" id="node37" href="mrpt__stdint_8h.html" title="mrpt/utils/mrpt_stdint.h" alt="" coords="2454,528,2609,555"/><area shape="rect" id="node40" href="mrpt__inttypes_8h.html" title="mrpt/utils/mrpt_inttypes.h" alt="" coords="2576,453,2747,480"/><area shape="rect" id="node43" href="math__frwds_8h.html" title="mrpt/math/math_frwds.h" alt="" coords="1246,453,1409,480"/><area shape="rect" id="node59" href="_dense.html" title="Eigen/Dense" alt="" coords="1799,453,1896,480"/><area shape="rect" id="node95" href="containers__fixes_8hpp.html" title="containers_fixes.hpp" alt="" coords="417,528,559,555"/><area shape="rect" id="node97" href="exceptions_8hpp.html" title="exceptions.hpp" alt="" coords="566,453,676,480"/><area shape="rect" id="node104" href="atomic__incr_8h.html" title="mrpt/synch/atomic_incr.h" alt="" coords="270,453,439,480"/><area shape="rect" id="node108" href="smart__ptr_8tpp.html" title="smart_ptr.tpp" alt="" coords="701,453,800,480"/><area shape="rect" id="node112" href="_s_s_e__types_8h.html" title="mrpt/utils/SSE_types.h" alt="" coords="773,379,931,405"/><area shape="rect" id="node118" href="_t_color_8h.html" title="mrpt/utils/TColor.h" alt="" coords="2389,229,2519,256"/><area shape="rect" id="node130" href="_c_serializable_8h.html" title="mrpt/utils/CSerializable.h" alt="" coords="293,229,461,256"/><area shape="rect" id="node134" href="_c_pose3_d_8h.html" title="mrpt/poses/CPose3D.h" alt="" coords="809,155,967,181"/><area shape="rect" id="node136" href="_c_critical_section_8h.html" title="mrpt/synch/CCriticalSection.h" alt="" coords="1043,155,1240,181"/><area shape="rect" id="node139" href="lightweight__geom__data_8h.html" title="mrpt/math/lightweight_geom_data.h" alt="" coords="555,155,784,181"/></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="gl__utils_8h__dep__incl.png" border="0" usemap="#gl__utils_8hdep" alt=""/></div>
<map name="gl__utils_8hdep" id="gl__utils_8hdep">
<area shape="rect" id="node3" href="_c_renderizable_8h.html" title="CRenderizable.h" alt="" coords="2274,80,2392,107"/><area shape="rect" id="node5" href="opengl_8h.html" title="opengl.h" alt="" coords="1485,453,1555,480"/><area shape="rect" id="node23" href="_c_renderizable_display_list_8h.html" title="CRenderizableDisplayList.h" alt="" coords="927,155,1111,181"/><area shape="rect" id="node35" href="_c_octree_point_renderer_8h.html" title="COctreePointRenderer.h" alt="" coords="1979,304,2143,331"/><area shape="rect" id="node37" href="_c_point_cloud_8h.html" title="CPointCloud.h" alt="" coords="1915,379,2021,405"/><area shape="rect" id="node40" href="_c_point_cloud_coloured_8h.html" title="CPointCloudColoured.h" alt="" coords="2046,379,2204,405"/><area shape="rect" id="node105" href="_c_open_g_l_scene_8h.html" title="COpenGLScene.h" alt="" coords="2371,304,2499,331"/><area shape="rect" id="node115" href="_c_camera_8h.html" title="CCamera.h" alt="" coords="2422,155,2511,181"/><area shape="rect" id="node122" href="_c_set_of_objects_8h.html" title="CSetOfObjects.h" alt="" coords="2843,155,2965,181"/><area shape="rect" id="node145" href="_c_text_8h.html" title="CText.h" alt="" coords="3100,155,3169,181"/><area shape="rect" id="node148" href="_c_text_message_capable_8h.html" title="CTextMessageCapable.h" alt="" coords="2536,155,2707,181"/><area shape="rect" id="node7" href="_c_display_window3_d_8h.html" title="CDisplayWindow3D.h" alt="" coords="1445,528,1595,555"/><area shape="rect" id="node11" href="_c_my_g_l_canvas_base_8h.html" title="CMyGLCanvasBase.h" alt="" coords="1267,528,1420,555"/><area shape="rect" id="node13" href="hmtslam_8h.html" title="hmtslam.h" alt="" coords="2297,528,2379,555"/><area shape="rect" id="node15" href="_c_range_bearing_k_f_s_l_a_m_8h.html" title="CRangeBearingKFSLAM.h" alt="" coords="1839,528,2017,555"/><area shape="rect" id="node19" href="_c_range_bearing_k_f_s_l_a_m2_d_8h.html" title="CRangeBearingKFSLAM2D.h" alt="" coords="1620,528,1815,555"/><area shape="rect" id="node9" href="gui_8h.html" title="gui.h" alt="" coords="1495,603,1545,629"/><area shape="rect" id="node17" href="slam_8h.html" title="slam.h" alt="" coords="1897,603,1959,629"/><area shape="rect" id="node26" href="_c_arrow_8h.html" title="CArrow.h" alt="" coords="591,379,667,405"/><area shape="rect" id="node29" href="_c_axis_8h.html" title="CAxis.h" alt="" coords="637,304,707,331"/><area shape="rect" id="node32" href="_c_box_8h.html" title="CBox.h" alt="" coords="1700,229,1767,256"/><area shape="rect" id="node43" href="_c_disk_8h.html" title="CDisk.h" alt="" coords="731,304,801,331"/><area shape="rect" id="node46" href="_c_ellipsoid_8h.html" title="CEllipsoid.h" alt="" coords="806,379,897,405"/><area shape="rect" id="node49" href="_c_grid_plane_x_y_8h.html" title="CGridPlaneXY.h" alt="" coords="878,304,996,331"/><area shape="rect" id="node52" href="_c_grid_plane_x_z_8h.html" title="CGridPlaneXZ.h" alt="" coords="975,379,1091,405"/><area shape="rect" id="node55" href="_c_mesh_8h.html" title="CMesh.h" alt="" coords="1307,304,1380,331"/><area shape="rect" id="node58" href="_c_set_of_triangles_8h.html" title="CSetOfTriangles.h" alt="" coords="1291,229,1420,256"/><area shape="rect" id="node62" href="_c_generalized_cylinder_8h.html" title="CGeneralizedCylinder.h" alt="" coords="1123,304,1281,331"/><area shape="rect" id="node65" href="_c_angular_observation_mesh_8h.html" title="CAngularObservationMesh.h" alt="" coords="1456,304,1645,331"/><area shape="rect" id="node67" href="_c_set_of_lines_8h.html" title="CSetOfLines.h" alt="" coords="1497,229,1604,256"/><area shape="rect" id="node71" href="_c_textured_object_8h.html" title="CTexturedObject.h" alt="" coords="1771,304,1903,331"/><area shape="rect" id="node79" href="_c_simple_line_8h.html" title="CSimpleLine.h" alt="" coords="5,304,112,331"/><area shape="rect" id="node82" href="_c_sphere_8h.html" title="CSphere.h" alt="" coords="85,229,168,256"/><area shape="rect" id="node85" href="_c_text3_d_8h.html" title="CText3D.h" alt="" coords="193,229,279,256"/><area shape="rect" id="node88" href="_c3_d_s_scene_8h.html" title="C3DSScene.h" alt="" coords="2331,379,2437,405"/><area shape="rect" id="node91" href="_c_cylinder_8h.html" title="CCylinder.h" alt="" coords="304,229,395,256"/><area shape="rect" id="node94" href="_c_polyhedron_8h.html" title="CPolyhedron.h" alt="" coords="1057,229,1164,256"/><area shape="rect" id="node99" href="_c_open_g_l_standard_object_8h.html" title="COpenGLStandardObject.h" alt="" coords="419,229,600,256"/><area shape="rect" id="node103" href="_c_planar_laser_scan_8h.html" title="CPlanarLaserScan.h" alt="" coords="2711,304,2853,331"/><area shape="rect" id="node73" href="_c_set_of_textured_triangles_8h.html" title="CSetOfTexturedTriangles.h" alt="" coords="1709,379,1891,405"/><area shape="rect" id="node76" href="_c_textured_plane_8h.html" title="CTexturedPlane.h" alt="" coords="1558,379,1684,405"/><area shape="rect" id="node109" href="_c_f_b_o_render_8h.html" title="CFBORender.h" alt="" coords="2512,379,2623,405"/><area shape="rect" id="node112" href="_c_h_m_t_s_l_a_m_8h.html" title="CHMTSLAM.h" alt="" coords="2539,453,2647,480"/><area shape="rect" id="node117" href="_c_open_g_l_viewport_8h.html" title="COpenGLViewport.h" alt="" coords="2574,229,2716,256"/><area shape="rect" id="node127" href="stock__objects_8h.html" title="stock_objects.h" alt="" coords="2817,379,2932,405"/><area shape="rect" id="node130" href="pose__pdfs_8h.html" title="pose_pdfs.h" alt="" coords="3015,304,3108,331"/><area shape="rect" id="node133" href="graph__tools_8h.html" title="graph_tools.h" alt="" coords="3007,379,3107,405"/><area shape="rect" id="node136" href="_c_metric_map_8h.html" title="CMetricMap.h" alt="" coords="2852,229,2956,256"/><area shape="rect" id="node140" href="_c_beacon_8h.html" title="CBeacon.h" alt="" coords="2741,229,2827,256"/></map>
</div>
</div>
<p><a href="gl__utils_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 &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1gl__utils_1_1_t_render_info.html">mrpt::opengl::gl_utils::TRenderInfo</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Information about the rendering process being issued.  <a href="structmrpt_1_1opengl_1_1gl__utils_1_1_t_render_info.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt.html">mrpt</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><p>This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. </p>
<br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl.html">mrpt::opengl</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><p>The namespace for 3D scene representation and rendering. </p>
<br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1gl__utils.html">mrpt::opengl::gl_utils</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><p>A set of auxiliary functions that can be called to render OpenGL primitives from MRPT or user code. </p>
<br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Miscellaneous rendering methods</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void OPENGL_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1gl__utils.html#a6f44cd8895c79190cc855902bdbd1647">mrpt::opengl::gl_utils::renderSetOfObjects</a> (const <a class="el" href="namespacemrpt_1_1opengl.html#a2a98ed1cbee2bf526d35d6d3cc8ae9f6">mrpt::opengl::CListOpenGLObjects</a> &amp;objs)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">For each object in the list:  <a href="#a6f44cd8895c79190cc855902bdbd1647"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void OPENGL_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1gl__utils.html#a364a7dbde49db4815f8b930d4114871a">mrpt::opengl::gl_utils::checkOpenGLError</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks glGetError and throws an exception if an error situation is found.  <a href="#a364a7dbde49db4815f8b930d4114871a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void OPENGL_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1gl__utils.html#a463454f7058a13593aeb1c78713a2dc6">mrpt::opengl::gl_utils::renderTriangleWithNormal</a> (const <a class="el" href="structmrpt_1_1math_1_1_t_point3_d.html">mrpt::math::TPoint3D</a> &amp;p1, const <a class="el" href="structmrpt_1_1math_1_1_t_point3_d.html">mrpt::math::TPoint3D</a> &amp;p2, const <a class="el" href="structmrpt_1_1math_1_1_t_point3_d.html">mrpt::math::TPoint3D</a> &amp;p3)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Can be used by derived classes to draw a triangle with a normal vector computed automatically - to be called within a glBegin()-glEnd() block.  <a href="#a463454f7058a13593aeb1c78713a2dc6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void OPENGL_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1gl__utils.html#adeeda3c1d38cc177f8bf58b77f2b13e6">mrpt::opengl::gl_utils::getCurrentRenderingInfo</a> (TRenderInfo &amp;ri)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gather useful information on the render parameters.  <a href="#adeeda3c1d38cc177f8bf58b77f2b13e6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void OPENGL_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1gl__utils.html#ac879b1d810641376723af2928c9a5a19">mrpt::opengl::gl_utils::renderMessageBox</a> (const float msg_x, const float msg_y, const float msg_w, const float msg_h, const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;text, float text_scale, const <a class="el" href="structmrpt_1_1utils_1_1_t_color.html">mrpt::utils::TColor</a> back_col=<a class="el" href="structmrpt_1_1utils_1_1_t_color.html">mrpt::utils::TColor</a>(0, 0, 50, 150), const <a class="el" href="structmrpt_1_1utils_1_1_t_color.html">mrpt::utils::TColor</a> border_col=<a class="el" href="structmrpt_1_1utils_1_1_t_color.html">mrpt::utils::TColor</a>(0, 0, 0, 140), const <a class="el" href="structmrpt_1_1utils_1_1_t_color.html">mrpt::utils::TColor</a> text_col=<a class="el" href="structmrpt_1_1utils_1_1_t_color.html">mrpt::utils::TColor</a>(255, 255, 255, 220), const float border_width=4.0f, const std::string &amp;text_font=std::string(&quot;sans&quot;), mrpt::opengl::TOpenGLFontStyle text_style=mrpt::opengl::FILL, const double text_spacing=1.5, const double text_kerning=0.1)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a message box with a centered (possibly multi-lined) text.  <a href="#ac879b1d810641376723af2928c9a5a19"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">OpenGL bitmapped 2D fonts</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void OPENGL_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1gl__utils.html#a765b951c5dfac68de0300b0884327444">mrpt::opengl::gl_utils::renderTextBitmap</a> (const char *str, void *fontStyle)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This method is safe for calling from within ::render() methods.  <a href="#a765b951c5dfac68de0300b0884327444"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int OPENGL_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1gl__utils.html#a9eaa1ac5fcd5347d6a34f257a20bb5db">mrpt::opengl::gl_utils::textBitmapWidth</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;str, <a class="el" href="group__mrpt__opengl__grp.html#ga4e54252970d0b0a6dd251335064a2346">mrpt::opengl::TOpenGLFont</a> font=mrpt::opengl::MRPT_GLUT_BITMAP_TIMES_ROMAN_24)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the exact width in pixels for a given string, as will be rendered by <a class="el" href="namespacemrpt_1_1opengl_1_1gl__utils.html#a765b951c5dfac68de0300b0884327444" title="This method is safe for calling from within ::render() methods.">renderTextBitmap()</a>.  <a href="#a9eaa1ac5fcd5347d6a34f257a20bb5db"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">OpenGL vector 3D fonts</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void OPENGL_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1gl__utils.html#a2fea889ffc3bd42283ce9cd4c922f2ca">mrpt::opengl::gl_utils::glSetFont</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;fontname)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">sets the font to use for future font rendering commands.  <a href="#a2fea889ffc3bd42283ce9cd4c922f2ca"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const OPENGL_IMPEXP <a class="el" href="classstd_1_1string.html">std::string</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1gl__utils.html#ad0749707fbbc6831fa7bf3b7fdb07b09">mrpt::opengl::gl_utils::glGetFont</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the name of the currently active font  <a href="#ad0749707fbbc6831fa7bf3b7fdb07b09"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1utils_1_1_t_pixel_coordf.html">mrpt::utils::TPixelCoordf</a> <br class="typebreak"/>
OPENGL_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1gl__utils.html#adb0f347e8026263cd05fbe3e56631f5d">mrpt::opengl::gl_utils::glDrawText</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;text, const double textScale, enum TOpenGLFontStyle style=NICE, double spacing=1.5, double kerning=0.1)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">renders a string in GL using the current settings.  <a href="#adb0f347e8026263cd05fbe3e56631f5d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrpt_1_1utils_1_1_t_pixel_coordf.html">mrpt::utils::TPixelCoordf</a> <br class="typebreak"/>
OPENGL_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1opengl_1_1gl__utils.html#a6f47f6cabc200bbea57f76265f024161">mrpt::opengl::gl_utils::glGetExtends</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;text, const double textScale, double spacing=1.5, double kerning=0.1)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the size of the bounding box of a text to be rendered, similar to <a class="el" href="namespacemrpt_1_1opengl_1_1gl__utils.html#adb0f347e8026263cd05fbe3e56631f5d">glDrawText</a> but without any visual output  <a href="#a6f47f6cabc200bbea57f76265f024161"></a><br/></td></tr>
</table>
</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>