Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > e6f1a3debfddb2a6cccaab627266a0ea > files > 3891

mrpt-doc-0.9.0-0.5.fc14.x86_64.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>The MRPT project: mrpt::opengl::CTexturedPlane Class 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.6.2-20100208 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</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">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacemrpt.html">mrpt</a>::<a class="el" href="namespacemrpt_1_1opengl.html">opengl</a>::<a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html">CTexturedPlane</a>
  </div>
</div>
<div class="contents">
<h1>mrpt::opengl::CTexturedPlane Class Reference</h1><!-- doxytag: class="mrpt::opengl::CTexturedPlane" --><!-- doxytag: inherits="mrpt::opengl::CTexturedObject" -->
<p>A 2D plane in the XY plane with a texture image.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_c_textured_plane_8h_source.html">mrpt/opengl/CTexturedPlane.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for mrpt::opengl::CTexturedPlane:</div>
<div class="dynsection">
<div class="center"><img src="classmrpt_1_1opengl_1_1_c_textured_plane__inherit__graph.png" border="0" usemap="#mrpt_1_1opengl_1_1_c_textured_plane_inherit__map" alt="Inheritance graph"/></div>
<map name="mrpt_1_1opengl_1_1_c_textured_plane_inherit__map" id="mrpt_1_1opengl_1_1_c_textured_plane_inherit__map">
<area shape="rect" id="node2" href="classmrpt_1_1opengl_1_1_c_textured_object.html" title="A base class for all OpenGL objects with loadable textures." alt="" coords="5,237,205,267"/><area shape="rect" id="node4" href="classmrpt_1_1opengl_1_1_c_renderizable.html" title="The base class of 3D objects that can be directly rendered through OpenGL." alt="" coords="12,160,199,189"/><area shape="rect" id="node6" href="classmrpt_1_1utils_1_1_c_serializable.html" title="The virtual base class which provides a unified interface for all persistent objects..." alt="" coords="23,83,188,112"/><area shape="rect" id="node8" href="classmrpt_1_1utils_1_1_c_object.html" title="The virtual base class of all MRPT classes with a unified RTTI system." alt="" coords="37,5,173,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for mrpt::opengl::CTexturedPlane:</div>
<div class="dynsection">
<div class="center"><img src="classmrpt_1_1opengl_1_1_c_textured_plane__coll__graph.png" border="0" usemap="#mrpt_1_1opengl_1_1_c_textured_plane_coll__map" alt="Collaboration graph"/></div>
<map name="mrpt_1_1opengl_1_1_c_textured_plane_coll__map" id="mrpt_1_1opengl_1_1_c_textured_plane_coll__map">
<area shape="rect" id="node2" href="classmrpt_1_1opengl_1_1_c_textured_object.html" title="A base class for all OpenGL objects with loadable textures." alt="" coords="1551,141,1751,171"/><area shape="rect" id="node4" href="classmrpt_1_1opengl_1_1_c_renderizable.html" title="The base class of 3D objects that can be directly rendered through OpenGL." alt="" coords="711,141,897,171"/><area shape="rect" id="node6" href="classmrpt_1_1utils_1_1_c_serializable.html" title="The virtual base class which provides a unified interface for all persistent objects..." alt="" coords="328,193,493,223"/><area shape="rect" id="node18" href="classmrpt_1_1utils_1_1_c_image.html" title="A class for storing images as grayscale or RGB bitmaps." alt="" coords="1151,84,1284,113"/><area shape="rect" id="node44" href="classmrpt_1_1poses_1_1_c_pose_or_point.html" title="The base class for 2D points, 3D points, 2D poses and 3D poses." alt="" coords="713,299,895,328"/><area shape="rect" id="node8" href="classmrpt_1_1utils_1_1_c_object.html" title="The virtual base class of all MRPT classes with a unified RTTI system." alt="" coords="21,240,157,269"/><area shape="rect" id="node10" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html" title="A structure that holds runtime class type information." alt="" coords="316,288,505,317"/><area shape="rect" id="node14" title="STL class." alt="" coords="371,79,451,108"/><area shape="rect" id="node21" href="classmrpt_1_1utils_1_1_c_canvas.html" title="This virtual class defines the interface of any object accepting drawing primitives..." alt="" coords="733,5,875,35"/><area shape="rect" id="node16" title="STL class." alt="" coords="7,79,172,108"/><area shape="rect" id="node27" href="classmrpt_1_1math_1_1_t_polygon_with_plane.html" title="Slightly heavyweight type to speed&#45;up calculations with polygons in 3D." alt="" coords="1875,299,2083,328"/><area shape="rect" id="node29" href="classmrpt_1_1math_1_1_t_polygon2_d.html" title="2D polygon, inheriting from std::vector&lt;TPoint2D&gt;." alt="" coords="1568,352,1733,381"/><area shape="rect" id="node31" title="STL class." alt="" coords="1136,352,1299,381"/><area shape="rect" id="node37" title="STL class." alt="" coords="1136,405,1299,435"/><area shape="rect" id="node35" href="classmrpt_1_1math_1_1_t_polygon3_d.html" title="3D polygon, inheriting from std::vector&lt;TPoint3D&gt;" alt="" coords="1568,405,1733,435"/><area shape="rect" id="node40" href="classmrpt_1_1poses_1_1_c_pose3_d.html" title="A class used to store a 3D pose." alt="" coords="1573,245,1728,275"/><area shape="rect" id="node42" href="classmrpt_1_1poses_1_1_c_pose.html" title="A virtual base class to represent a pose in 2D or 3D." alt="" coords="1148,299,1287,328"/><area shape="rect" id="node47" href="classmrpt_1_1math_1_1_c_matrix_fixed_numeric.html" title="mrpt::math::CMatrixFixedNumeric\&lt; double, 4, 4 \&gt;" alt="" coords="1061,245,1373,275"/><area shape="rect" id="node49" href="classmrpt_1_1math_1_1_c_array.html" title="mrpt::math::CArray\&lt; double, NROWS *NCOLS \&gt;" alt="" coords="649,245,959,275"/><area shape="rect" id="node51" href="structmrpt_1_1math_1_1_t_plane.html" title="3D Plane, represented by its equation " alt="" coords="1584,299,1717,328"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classmrpt_1_1opengl_1_1_c_textured_plane-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a6b6dfdba6e7f64165eb313a77de45da7">setTextureCornerCoords</a> (float tex_x_min, float tex_x_max, float tex_y_min, float tex_y_max)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the texture coordinates of the four corners (in the range 0-1).  <a href="#a6b6dfdba6e7f64165eb313a77de45da7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#abdd07971f8aa833db3a4127d369c80ba">setPlaneCorners</a> (float xMin, float xMax, float yMin, float yMax)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the coordinates of the four corners that define the plane on the XY plane.  <a href="#abdd07971f8aa833db3a4127d369c80ba"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a6175c52727b8d7100c9c7863e03ea57a">render</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Render.  <a href="#a6175c52727b8d7100c9c7863e03ea57a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#ac498835fe2ee1d6e2ccb37455904b333">traceRay</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html">mrpt::poses::CPose3D</a> &amp;o, double &amp;dist) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ray trace.  <a href="#ac498835fe2ee1d6e2ccb37455904b333"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static CTexturedPlanePtr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a05fd4de9a2a527fc00398b873cb07b85">Create</a> (float x_min, float x_max, float y_min, float y_max)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class factory.  <a href="#a05fd4de9a2a527fc00398b873cb07b85"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#ad2af083120c2b0dba01d8ee6632be550">updatePoly</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#af8c360d2a721f6a1b27a8f4fd455dd7c">unloadTexture</a> ()</td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#adad785b125972ddd9df78b310c47cf55">m_tex_x_min</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a72cd817df9a2fb6cd1ce46aa5ef8c088">m_tex_x_max</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a6f25b1e5d28ea6dfcadbee558a63b8e3">m_tex_y_min</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a511ba6186c9599fb7573c4a9c7c4e199">m_tex_y_max</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a49815355cddc19c333748d8b1a501329">m_xMin</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#af9049bbfab362bda0d8a35126f614d8c">m_xMax</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a4824ec22271a82864bc9da6340c08110">m_yMin</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a69d5ed2a351e9fddd2fb553101d6d369">m_yMax</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a3520c1bc2071aaeac2e4930ee348f00c">polygonUpToDate</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector<br class="typebreak"/>
&lt; <a class="el" href="classmrpt_1_1math_1_1_t_polygon_with_plane.html">mrpt::math::TPolygonWithPlane</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a2f0fb555c2c0135ab06a26358494f6c1">tmpPoly</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Used for ray-tracing.  <a href="#a2f0fb555c2c0135ab06a26358494f6c1"></a><br/></td></tr>
<tr><td colspan="2"><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a5a9045a3c01dc21f26edc2063832d5a5">CTexturedPlane</a> (float x_min=-1, float x_max=1, float y_min=-1, float y_max=1)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#a5a9045a3c01dc21f26edc2063832d5a5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#aeb314d6a49fc0761c6b2e4b816b53c22">~CTexturedPlane</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Private, virtual destructor: only can be deleted from smart pointers.  <a href="#aeb314d6a49fc0761c6b2e4b816b53c22"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A 2D plane in the XY plane with a texture image. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><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...">opengl::COpenGLScene</a> </dd></dl>

<p>Definition at line <a class="el" href="_c_textured_plane_8h_source.html#l00045">45</a> of file <a class="el" href="_c_textured_plane_8h_source.html">CTexturedPlane.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a5a9045a3c01dc21f26edc2063832d5a5"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::CTexturedPlane" ref="a5a9045a3c01dc21f26edc2063832d5a5" args="(float x_min=&#45;1, float x_max=1, float y_min=&#45;1, float y_max=1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::opengl::CTexturedPlane::CTexturedPlane </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>x_min</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>x_max</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>y_min</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>y_max</em> = <code>1</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>

</div>
</div>
<a class="anchor" id="aeb314d6a49fc0761c6b2e4b816b53c22"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::~CTexturedPlane" ref="aeb314d6a49fc0761c6b2e4b816b53c22" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual mrpt::opengl::CTexturedPlane::~CTexturedPlane </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Private, virtual destructor: only can be deleted from smart pointers. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a05fd4de9a2a527fc00398b873cb07b85"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::Create" ref="a05fd4de9a2a527fc00398b873cb07b85" args="(float x_min, float x_max, float y_min, float y_max)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static CTexturedPlanePtr mrpt::opengl::CTexturedPlane::Create </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>x_min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>x_max</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>y_min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>y_max</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Class factory. </p>

<p>Definition at line <a class="el" href="_c_textured_plane_8h_source.html#l00083">83</a> of file <a class="el" href="_c_textured_plane_8h_source.html">CTexturedPlane.h</a>.</p>

<p>References <a class="el" href="_c_textured_plane_8h_source.html#l00037">mrpt::opengl::CTexturedPlane</a>.</p>

</div>
</div>
<a class="anchor" id="a6175c52727b8d7100c9c7863e03ea57a"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::render" ref="a6175c52727b8d7100c9c7863e03ea57a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::opengl::CTexturedPlane::render </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Render. </p>

<p>Implements <a class="el" href="classmrpt_1_1opengl_1_1_c_renderizable.html#a8f8c65324887dd3cd2c999f110fd213a">mrpt::opengl::CRenderizable</a>.</p>

</div>
</div>
<a class="anchor" id="abdd07971f8aa833db3a4127d369c80ba"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::setPlaneCorners" ref="abdd07971f8aa833db3a4127d369c80ba" args="(float xMin, float xMax, float yMin, float yMax)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::opengl::CTexturedPlane::setPlaneCorners </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>xMin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>xMax</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>yMin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>yMax</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the coordinates of the four corners that define the plane on the XY plane. </p>

<p>Definition at line <a class="el" href="_c_textured_plane_8h_source.html#l00071">71</a> of file <a class="el" href="_c_textured_plane_8h_source.html">CTexturedPlane.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6b6dfdba6e7f64165eb313a77de45da7"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::setTextureCornerCoords" ref="a6b6dfdba6e7f64165eb313a77de45da7" args="(float tex_x_min, float tex_x_max, float tex_y_min, float tex_y_max)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::opengl::CTexturedPlane::setTextureCornerCoords </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>tex_x_min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>tex_x_max</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>tex_y_min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>tex_y_max</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the texture coordinates of the four corners (in the range 0-1). </p>

<p>Definition at line <a class="el" href="_c_textured_plane_8h_source.html#l00062">62</a> of file <a class="el" href="_c_textured_plane_8h_source.html">CTexturedPlane.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac498835fe2ee1d6e2ccb37455904b333"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::traceRay" ref="ac498835fe2ee1d6e2ccb37455904b333" args="(const mrpt::poses::CPose3D &amp;o, double &amp;dist) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool mrpt::opengl::CTexturedPlane::traceRay </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html">mrpt::poses::CPose3D</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>o</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>dist</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Ray trace. </p>

<p>Reimplemented from <a class="el" href="classmrpt_1_1opengl_1_1_c_renderizable.html#af6e108d906a08ebd81da0f16d6ec7241">mrpt::opengl::CRenderizable</a>.</p>

</div>
</div>
<a class="anchor" id="af8c360d2a721f6a1b27a8f4fd455dd7c"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::unloadTexture" ref="af8c360d2a721f6a1b27a8f4fd455dd7c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::opengl::CTexturedPlane::unloadTexture </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="classmrpt_1_1opengl_1_1_c_textured_object.html#a2f6c798c2c960e9b700eda27a2403456">mrpt::opengl::CTexturedObject</a>.</p>

</div>
</div>
<a class="anchor" id="ad2af083120c2b0dba01d8ee6632be550"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::updatePoly" ref="ad2af083120c2b0dba01d8ee6632be550" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::opengl::CTexturedPlane::updatePoly </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a72cd817df9a2fb6cd1ce46aa5ef8c088"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::m_tex_x_max" ref="a72cd817df9a2fb6cd1ce46aa5ef8c088" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a72cd817df9a2fb6cd1ce46aa5ef8c088">mrpt::opengl::CTexturedPlane::m_tex_x_max</a><code> [mutable, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_textured_plane_8h_source.html#l00049">49</a> of file <a class="el" href="_c_textured_plane_8h_source.html">CTexturedPlane.h</a>.</p>

</div>
</div>
<a class="anchor" id="adad785b125972ddd9df78b310c47cf55"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::m_tex_x_min" ref="adad785b125972ddd9df78b310c47cf55" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#adad785b125972ddd9df78b310c47cf55">mrpt::opengl::CTexturedPlane::m_tex_x_min</a><code> [mutable, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_textured_plane_8h_source.html#l00049">49</a> of file <a class="el" href="_c_textured_plane_8h_source.html">CTexturedPlane.h</a>.</p>

</div>
</div>
<a class="anchor" id="a511ba6186c9599fb7573c4a9c7c4e199"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::m_tex_y_max" ref="a511ba6186c9599fb7573c4a9c7c4e199" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a511ba6186c9599fb7573c4a9c7c4e199">mrpt::opengl::CTexturedPlane::m_tex_y_max</a><code> [mutable, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_textured_plane_8h_source.html#l00050">50</a> of file <a class="el" href="_c_textured_plane_8h_source.html">CTexturedPlane.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6f25b1e5d28ea6dfcadbee558a63b8e3"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::m_tex_y_min" ref="a6f25b1e5d28ea6dfcadbee558a63b8e3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a6f25b1e5d28ea6dfcadbee558a63b8e3">mrpt::opengl::CTexturedPlane::m_tex_y_min</a><code> [mutable, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_textured_plane_8h_source.html#l00050">50</a> of file <a class="el" href="_c_textured_plane_8h_source.html">CTexturedPlane.h</a>.</p>

</div>
</div>
<a class="anchor" id="af9049bbfab362bda0d8a35126f614d8c"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::m_xMax" ref="af9049bbfab362bda0d8a35126f614d8c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#af9049bbfab362bda0d8a35126f614d8c">mrpt::opengl::CTexturedPlane::m_xMax</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_textured_plane_8h_source.html#l00052">52</a> of file <a class="el" href="_c_textured_plane_8h_source.html">CTexturedPlane.h</a>.</p>

</div>
</div>
<a class="anchor" id="a49815355cddc19c333748d8b1a501329"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::m_xMin" ref="a49815355cddc19c333748d8b1a501329" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a49815355cddc19c333748d8b1a501329">mrpt::opengl::CTexturedPlane::m_xMin</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_textured_plane_8h_source.html#l00052">52</a> of file <a class="el" href="_c_textured_plane_8h_source.html">CTexturedPlane.h</a>.</p>

</div>
</div>
<a class="anchor" id="a69d5ed2a351e9fddd2fb553101d6d369"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::m_yMax" ref="a69d5ed2a351e9fddd2fb553101d6d369" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a69d5ed2a351e9fddd2fb553101d6d369">mrpt::opengl::CTexturedPlane::m_yMax</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_textured_plane_8h_source.html#l00053">53</a> of file <a class="el" href="_c_textured_plane_8h_source.html">CTexturedPlane.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4824ec22271a82864bc9da6340c08110"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::m_yMin" ref="a4824ec22271a82864bc9da6340c08110" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a4824ec22271a82864bc9da6340c08110">mrpt::opengl::CTexturedPlane::m_yMin</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_textured_plane_8h_source.html#l00053">53</a> of file <a class="el" href="_c_textured_plane_8h_source.html">CTexturedPlane.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3520c1bc2071aaeac2e4930ee348f00c"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::polygonUpToDate" ref="a3520c1bc2071aaeac2e4930ee348f00c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a3520c1bc2071aaeac2e4930ee348f00c">mrpt::opengl::CTexturedPlane::polygonUpToDate</a><code> [mutable, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_textured_plane_8h_source.html#l00055">55</a> of file <a class="el" href="_c_textured_plane_8h_source.html">CTexturedPlane.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2f0fb555c2c0135ab06a26358494f6c1"></a><!-- doxytag: member="mrpt::opengl::CTexturedPlane::tmpPoly" ref="a2f0fb555c2c0135ab06a26358494f6c1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="classmrpt_1_1math_1_1_t_polygon_with_plane.html">mrpt::math::TPolygonWithPlane</a>&gt; <a class="el" href="classmrpt_1_1opengl_1_1_c_textured_plane.html#a2f0fb555c2c0135ab06a26358494f6c1">mrpt::opengl::CTexturedPlane::tmpPoly</a><code> [mutable, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Used for ray-tracing. </p>

<p>Definition at line <a class="el" href="_c_textured_plane_8h_source.html#l00056">56</a> of file <a class="el" href="_c_textured_plane_8h_source.html">CTexturedPlane.h</a>.</p>

</div>
</div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.6.2-20100208</a> for MRPT 0.9.0 SVN: at Wed Jul 14 12:48:09 UTC 2010</td><td></td> <td width="100"> </td> <td width="150">  </td></tr> </table> </body></html>