aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNL3D_1_1CVisualCollisionEntity.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1CVisualCollisionEntity.html')
-rw-r--r--docs/doxygen/nel/classNL3D_1_1CVisualCollisionEntity.html1458
1 files changed, 1458 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CVisualCollisionEntity.html b/docs/doxygen/nel/classNL3D_1_1CVisualCollisionEntity.html
new file mode 100644
index 00000000..fa8c7b9f
--- /dev/null
+++ b/docs/doxygen/nel/classNL3D_1_1CVisualCollisionEntity.html
@@ -0,0 +1,1458 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>NL3D::CVisualCollisionEntity Class Reference</h1>An entity created by <a class="el" href="classNL3D_1_1CVisualCollisionManager.html">CVisualCollisionManager</a>.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>&gt;</code>
+<p>
+<a href="classNL3D_1_1CVisualCollisionEntity-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Landscape part.</h2></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_0">triangleIntersect2DGround</a> (CTriangle &amp;tri, const CVector &amp;pos0)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Fast "2D" test of a triangle against ray P0 P1.</em> <a href="#z911_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_1">triangleIntersect2DCeil</a> (CTriangle &amp;tri, const CVector &amp;pos0)</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_2">triangleIntersect</a> (CTriangle &amp;tri, const CVector &amp;pos0, const CVector &amp;pos1, CVector &amp;hit)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Fast "2D" test of a triangle against ray P0 P1.</em> <a href="#z911_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_3">testComputeLandscape</a> (const CVector &amp;pos)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>test if the new position is outside the preceding setuped bbox, and then compute tiles infos around the position.</em> <a href="#z911_3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_4">doComputeLandscape</a> (const CVector &amp;pos)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>compute tiles infos around the position.</em> <a href="#z911_4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_5">snapToLandscapeCurrentTesselation</a> (CVector &amp;pos, const <a class="el" href="structNL3D_1_1CTrianglePatch.html">CTrianglePatch</a> &amp;tri)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>snap to current rendered tesselation.</em> <a href="#z911_5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="structNL3D_1_1CTrianglePatch.html">CTrianglePatch</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_6">getPatchTriangleUnderUs</a> (const CVector &amp;pos, CVector &amp;<a class="el" href="driver__opengl__extension__def_8h.html#a400">res</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>return the best trianglePatch under what we are.</em> <a href="#z911_6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; <a class="el" href="classNL3D_1_1CPatchQuadBlock.html">CPatchQuadBlock</a> * &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_7">_PatchQuadBlocks</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Array of quadBlock which are around the entity.</em> <a href="#z911_7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CLandscapeCollisionGrid.html">CLandscapeCollisionGrid</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_8">_LandscapeQuadGrid</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>A quadgrid of chainlist of tileId (<a class="el" href="classNL3D_1_1CVisualTileDescNode.html">CVisualTileDescNode</a>), which are around the entity.</em> <a href="#z911_8">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>CAABBox&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_9">_CurrentBBoxValidity</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The current BBox where we don't need to recompute the patchQuadBlocks if the entity is in.</em> <a href="#z911_9">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_10">_LastGPTValid</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Cache for <a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_6">getPatchTriangleUnderUs</a>().</em> <a href="#z911_10">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>CVector&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_11">_LastGPTPosInput</a></td></tr>
+<tr><td nowrap align=right valign=top>CVector&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_12">_LastGPTPosOutput</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="structNL3D_1_1CTrianglePatch.html">CTrianglePatch</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_13">_LastGPTTrianglePatch</a></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_14">computeUvForPos</a> (const <a class="el" href="structNL3D_1_1CTrianglePatch.html">CTrianglePatch</a> &amp;tri, const CVector &amp;pos, CUV &amp;uv)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>given a <a class="el" href="structNL3D_1_1CTrianglePatch.html">CTrianglePatch</a>, compute Patch uv according to position.</em> <a href="#z911_14">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const <a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_15">_StartPatchQuadBlockSize</a> = 64</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Default capacity of _PatchQuadBlocks.</em> <a href="#z911_15">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; <a class="el" href="classNL3D_1_1CPatchBlockIdent.html">CPatchBlockIdent</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_16">_TmpBlockIds</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>This is the temp array of BlockIds filled by landscape search.</em> <a href="#z911_16">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; <a class="el" href="classNL3D_1_1CPatchQuadBlock.html">CPatchQuadBlock</a> * &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_17">_TmpPatchQuadBlocks</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>This is the temp array of PatchBlocks ptr.</em> <a href="#z911_17">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#a0">CVisualCollisionEntity</a> (<a class="el" href="classNL3D_1_1CVisualCollisionManager.html">CVisualCollisionManager</a> *owner)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#a1">~CVisualCollisionEntity</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#a2">snapToGround</a> (CVector &amp;pos)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Snap the entity onto the ground.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#a3">snapToGround</a> (CVector &amp;pos, CVector &amp;normal)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Snap the entity onto the ground.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#a4">setGroundMode</a> (bool groundMode)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>If groundMode is true, the entity is snapped on faces with normal.z &gt; 0.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#a5">setCeilMode</a> (bool ceilMode)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>If ceilMode is true, the entity is snapped on faces with normal.z &lt; 0.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#a6">getGroundMode</a> () const</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#a7">getCeilMode</a> () const</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#a8">setSnapToRenderedTesselation</a> (bool snapMode)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>By default, the visual collision entity is snapped on rendered/geomorphed tesselation (true).</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#a9">getSnapToRenderedTesselation</a> () const</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#a10">getSurfaceInfo</a> (const CVector &amp;pos, <a class="el" href="structNL3D_1_1CSurfaceInfo.html">CSurfaceInfo</a> &amp;info)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get surface informations.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Static Lighting</div></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z909_0">getStaticLightSetup</a> (const CVector &amp;pos, std::vector&lt; <a class="el" href="classNL3D_1_1CPointLightInfluence.html">CPointLightInfluence</a> &gt; &amp;pointLightList, <a class="el" href="memory__common_8h.html#a7">uint8</a> &amp;sunContribution, <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;localAmbient)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the static Light Setup, using landscape under us.</em> <a href="#z909_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Debug display</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z910_0">displayDebugGrid</a> (<a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> &amp;drv) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Draw lines for the landscape quadgrid collision faces under us.</em> <a href="#z910_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Parameters.</div></td></tr>
+<tr><td nowrap align=right valign=top>const float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z908_0">BBoxRadius</a> = 10</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>This is the radius of the bbox around the entity where we have correct collisions: 10m.</em> <a href="#z908_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z908_1">BBoxRadiusZ</a> = 20</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Same as BBoxRadius, but for z value.</em> <a href="#z908_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVisualCollisionManager.html">CVisualCollisionManager</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#o0">_Owner</a></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#o1">_CeilMode</a></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#o2">_GroundMode</a></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#o3">_SnapToRenderedTesselation</a></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+An entity created by <a class="el" href="classNL3D_1_1CVisualCollisionManager.html">CVisualCollisionManager</a>.
+<p>
+<dl compact><dt><b>
+Author: </b><dd>
+Lionel Berenguier , Nevrax France </dl><dl compact><dt><b>
+Date: </b><dd>
+2001 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00050">50</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NL3D::CVisualCollisionEntity::CVisualCollisionEntity"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CVisualCollisionEntity::CVisualCollisionEntity </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CVisualCollisionManager.html">CVisualCollisionManager</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>owner</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00055">55</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+References <a class="el" href="visual__collision__entity_8h-source.html#l00149">_CeilMode</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00171">_CurrentBBoxValidity</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00150">_GroundMode</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00173">_LastGPTValid</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00147">_Owner</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00167">_PatchQuadBlocks</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00151">_SnapToRenderedTesselation</a>, and <a class="el" href="visual__collision__entity_8cpp-source.html#l00049">_StartPatchQuadBlockSize</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NL3D::CVisualCollisionEntity::~CVisualCollisionEntity"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CVisualCollisionEntity::~CVisualCollisionEntity </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00071">71</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+References <a class="el" href="visual__collision__entity_8h-source.html#l00169">_LandscapeQuadGrid</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00147">_Owner</a>, and <a class="el" href="visual__collision__entity_8h-source.html#l00167">_PatchQuadBlocks</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="z911_14" doxytag="NL3D::CVisualCollisionEntity::computeUvForPos"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CVisualCollisionEntity::computeUvForPos </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="structNL3D_1_1CTrianglePatch.html">CTrianglePatch</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>tri</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CVector &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>pos</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CUV &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>uv</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static, private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+given a <a class="el" href="structNL3D_1_1CTrianglePatch.html">CTrianglePatch</a>, compute Patch uv according to position.
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00239">239</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00516">getStaticLightSetup</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00554">getSurfaceInfo</a>, and <a class="el" href="visual__collision__entity_8cpp-source.html#l00253">snapToLandscapeCurrentTesselation</a>. </td>
+ </tr>
+</table>
+<a name="z910_0" doxytag="NL3D::CVisualCollisionEntity::displayDebugGrid"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CVisualCollisionEntity::displayDebugGrid </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>drv</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Draw lines for the landscape quadgrid collision faces under us.
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00600">600</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+References <a class="el" href="visual__collision__entity_8h-source.html#l00167">_PatchQuadBlocks</a>, <a class="el" href="patch_8h-source.html#l00063">NL_PATCH_BLOCK_MAX_VERTEX</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00673">s</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00681">t</a>. </td>
+ </tr>
+</table>
+<a name="z911_4" doxytag="NL3D::CVisualCollisionEntity::doComputeLandscape"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CVisualCollisionEntity::doComputeLandscape </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CVector &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>pos</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+compute tiles infos around the position.
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00403">403</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+References <a class="el" href="visual__collision__entity_8h-source.html#l00171">_CurrentBBoxValidity</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00169">_LandscapeQuadGrid</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00147">_Owner</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00167">_PatchQuadBlocks</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00050">_TmpBlockIds</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00051">_TmpPatchQuadBlocks</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00047">BBoxRadius</a>, and <a class="el" href="visual__collision__entity_8cpp-source.html#l00048">BBoxRadiusZ</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00392">testComputeLandscape</a>. </td>
+ </tr>
+</table>
+<a name="a7" doxytag="NL3D::CVisualCollisionEntity::getCeilMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CVisualCollisionEntity::getCeilMode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00090">90</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.
+<p>
+References <a class="el" href="visual__collision__entity_8h-source.html#l00149">_CeilMode</a>. </td>
+ </tr>
+</table>
+<a name="a6" doxytag="NL3D::CVisualCollisionEntity::getGroundMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CVisualCollisionEntity::getGroundMode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00089">89</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.
+<p>
+References <a class="el" href="visual__collision__entity_8h-source.html#l00150">_GroundMode</a>. </td>
+ </tr>
+</table>
+<a name="z911_6" doxytag="NL3D::CVisualCollisionEntity::getPatchTriangleUnderUs"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="structNL3D_1_1CTrianglePatch.html">CTrianglePatch</a> * NL3D::CVisualCollisionEntity::getPatchTriangleUnderUs </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CVector &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>pos</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CVector &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>res</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return the best trianglePatch under what we are.
+<p>
+NULL if not found. Ptr is valid until next call to <a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_6">getPatchTriangleUnderUs</a>() Actually return NULL or &amp;_LastTrianglePatch;
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00095">95</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+References <a class="el" href="visual__collision__entity_8h-source.html#l00169">_LandscapeQuadGrid</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00174">_LastGPTPosInput</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00175">_LastGPTPosOutput</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00176">_LastGPTTrianglePatch</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00173">_LastGPTValid</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00147">_Owner</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00167">_PatchQuadBlocks</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00815">res</a>, <a class="el" href="common_8h-source.html#l00143">NLMISC::sqr</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00392">testComputeLandscape</a>, and <a class="el" href="visual__collision__entity_8cpp-source.html#l00358">triangleIntersect</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00516">getStaticLightSetup</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00554">getSurfaceInfo</a>, and <a class="el" href="visual__collision__entity_8cpp-source.html#l00204">snapToGround</a>. </td>
+ </tr>
+</table>
+<a name="a9" doxytag="NL3D::CVisualCollisionEntity::getSnapToRenderedTesselation"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CVisualCollisionEntity::getSnapToRenderedTesselation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00098">98</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.
+<p>
+References <a class="el" href="visual__collision__entity_8h-source.html#l00151">_SnapToRenderedTesselation</a>. </td>
+ </tr>
+</table>
+<a name="z909_0" doxytag="NL3D::CVisualCollisionEntity::getStaticLightSetup"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CVisualCollisionEntity::getStaticLightSetup </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CVector &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>pos</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>std::vector&lt; <a class="el" href="classNL3D_1_1CPointLightInfluence.html">CPointLightInfluence</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>pointLightList</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>sunContribution</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>localAmbient</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the static Light Setup, using landscape under us.
+<p>
+append lights to pointLightList. NB: if find no landscape faces, don't modify pointLightList, set sunContribution=255, and return false Else, use <a class="el" href="classNL3D_1_1CPatch.html#m6">CPatch::TileLightInfluences</a> to get lights, and use CPatch::Lumels to get sunContribution. NB: because CPatch::Lumels encode the gouraud shading on the surface, returning lumelValue will darken the object too much. To avoid this, the sunContribution is raised to a power (0..1). See <a class="el" href="classNL3D_1_1CVisualCollisionManager.html#a5">CVisualCollisionManager::setSunContributionPower</a>(). Default is 0.5
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00516">516</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+References <a class="el" href="visual__collision__entity_8h-source.html#l00147">_Owner</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00239">computeUvForPos</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00095">getPatchTriangleUnderUs</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00815">res</a>, and <a class="el" href="rgba_8cpp-source.html#l00066">NLMISC::CRGBA::set</a>. </td>
+ </tr>
+</table>
+<a name="a10" doxytag="NL3D::CVisualCollisionEntity::getSurfaceInfo"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CVisualCollisionEntity::getSurfaceInfo </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CVector &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>pos</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="structNL3D_1_1CSurfaceInfo.html">CSurfaceInfo</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>info</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get surface informations.
+<p>
+pos is checked with polygons that are at least (cache dependent) at +- 10m in altitude. <dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>info</em>&nbsp;</td><td>
+will be filled with surface informations if the method returns true. </td></tr>
+</table>
+</dl><dl compact><dt><b>
+Returns: </b><dd>
+true if the surface has been found and informations has been filled. </dl>
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00554">554</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+References <a class="el" href="visual__collision__entity_8h-source.html#l00147">_Owner</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00239">computeUvForPos</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00095">getPatchTriangleUnderUs</a>, <a class="el" href="tile__element_8h-source.html#l00053">NL_TILE_ELM_LAYER_EMPTY</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00815">res</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00241">type</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NL3D::CVisualCollisionEntity::setCeilMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CVisualCollisionEntity::setCeilMode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>ceilMode</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+If ceilMode is true, the entity is snapped on faces with normal.z &lt; 0.
+<p>
+Default is false. NB: if both groundMode and ceilMode are false, snapToGround is a no-op.
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00086">86</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.
+<p>
+References <a class="el" href="visual__collision__entity_8h-source.html#l00149">_CeilMode</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NL3D::CVisualCollisionEntity::setGroundMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CVisualCollisionEntity::setGroundMode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>groundMode</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+If groundMode is true, the entity is snapped on faces with normal.z &gt; 0.
+<p>
+Default is true. NB: if both groundMode and ceilMode are false, snapToGround is a no-op.
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00080">80</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.
+<p>
+References <a class="el" href="visual__collision__entity_8h-source.html#l00150">_GroundMode</a>. </td>
+ </tr>
+</table>
+<a name="a8" doxytag="NL3D::CVisualCollisionEntity::setSnapToRenderedTesselation"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CVisualCollisionEntity::setSnapToRenderedTesselation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>snapMode</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+By default, the visual collision entity is snapped on rendered/geomorphed tesselation (true).
+<p>
+Use this method to change this behavior. if false, the entity is snapped to the tile level tesselation according to noise etc...
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00097">97</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.
+<p>
+References <a class="el" href="visual__collision__entity_8h-source.html#l00151">_SnapToRenderedTesselation</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NL3D::CVisualCollisionEntity::snapToGround"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CVisualCollisionEntity::snapToGround </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CVector &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>pos</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CVector &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>normal</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Snap the entity onto the ground.
+<p>
+pos.z is modified so that it lies on the ground, according to rendered landscapes and meshes. pos is checked with polygons that are at least (cache dependent) at +- 10m in altitude. <dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>normal</em>&nbsp;</td><td>
+the ret normal of where it is snapped. NB: if return false, not modified. </td></tr>
+</table>
+</dl><dl compact><dt><b>
+Returns: </b><dd>
+true if pos.z has been modified (sometimes it may not find a solution). </dl>
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00204">204</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+References <a class="el" href="visual__collision__entity_8cpp-source.html#l00095">getPatchTriangleUnderUs</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00815">res</a>, and <a class="el" href="visual__collision__entity_8cpp-source.html#l00253">snapToLandscapeCurrentTesselation</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NL3D::CVisualCollisionEntity::snapToGround"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CVisualCollisionEntity::snapToGround </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CVector &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>pos</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Snap the entity onto the ground.
+<p>
+pos.z is modified so that it lies on the ground, according to rendered landscapes and meshes. see <a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#a8">setSnapToRenderedTesselation</a>() option. pos is checked with polygons that are at least (cache dependent) at +- 10m in altitude. <dl compact><dt><b>
+Returns: </b><dd>
+true if pos.z has been modified (sometimes it may not find a solution). </dl>
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00086">86</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>. </td>
+ </tr>
+</table>
+<a name="z911_5" doxytag="NL3D::CVisualCollisionEntity::snapToLandscapeCurrentTesselation"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CVisualCollisionEntity::snapToLandscapeCurrentTesselation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CVector &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>pos</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="structNL3D_1_1CTrianglePatch.html">CTrianglePatch</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>tri</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+snap to current rendered tesselation.
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00253">253</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+References <a class="el" href="visual__collision__entity_8h-source.html#l00147">_Owner</a>, and <a class="el" href="visual__collision__entity_8cpp-source.html#l00239">computeUvForPos</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00204">snapToGround</a>. </td>
+ </tr>
+</table>
+<a name="z911_3" doxytag="NL3D::CVisualCollisionEntity::testComputeLandscape"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CVisualCollisionEntity::testComputeLandscape </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CVector &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>pos</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+test if the new position is outside the preceding setuped bbox, and then compute tiles infos around the position.
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00392">392</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+References <a class="el" href="visual__collision__entity_8h-source.html#l00171">_CurrentBBoxValidity</a>, and <a class="el" href="visual__collision__entity_8cpp-source.html#l00403">doComputeLandscape</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00095">getPatchTriangleUnderUs</a>. </td>
+ </tr>
+</table>
+<a name="z911_2" doxytag="NL3D::CVisualCollisionEntity::triangleIntersect"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CVisualCollisionEntity::triangleIntersect </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CTriangle &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>tri</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CVector &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>pos0</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CVector &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>pos1</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CVector &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>hit</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Fast "2D" test of a triangle against ray P0 P1.
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00358">358</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+References <a class="el" href="visual__collision__entity_8h-source.html#l00149">_CeilMode</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00150">_GroundMode</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00328">triangleIntersect2DCeil</a>, and <a class="el" href="visual__collision__entity_8cpp-source.html#l00291">triangleIntersect2DGround</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00095">getPatchTriangleUnderUs</a>. </td>
+ </tr>
+</table>
+<a name="z911_1" doxytag="NL3D::CVisualCollisionEntity::triangleIntersect2DCeil"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CVisualCollisionEntity::triangleIntersect2DCeil </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CTriangle &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>tri</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CVector &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>pos0</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00328">328</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00358">triangleIntersect</a>. </td>
+ </tr>
+</table>
+<a name="z911_0" doxytag="NL3D::CVisualCollisionEntity::triangleIntersect2DGround"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CVisualCollisionEntity::triangleIntersect2DGround </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CTriangle &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>tri</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CVector &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>pos0</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Fast "2D" test of a triangle against ray P0 P1.
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00291">291</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00358">triangleIntersect</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="o1" doxytag="NL3D::CVisualCollisionEntity::_CeilMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CVisualCollisionEntity::_CeilMode<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00149">149</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00055">CVisualCollisionEntity</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00090">getCeilMode</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00086">setCeilMode</a>, and <a class="el" href="visual__collision__entity_8cpp-source.html#l00358">triangleIntersect</a>. </td>
+ </tr>
+</table>
+<a name="z911_9" doxytag="NL3D::CVisualCollisionEntity::_CurrentBBoxValidity"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CAABBox NL3D::CVisualCollisionEntity::_CurrentBBoxValidity<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The current BBox where we don't need to recompute the patchQuadBlocks if the entity is in.
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00171">171</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00055">CVisualCollisionEntity</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00403">doComputeLandscape</a>, and <a class="el" href="visual__collision__entity_8cpp-source.html#l00392">testComputeLandscape</a>. </td>
+ </tr>
+</table>
+<a name="o2" doxytag="NL3D::CVisualCollisionEntity::_GroundMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CVisualCollisionEntity::_GroundMode<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00150">150</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00055">CVisualCollisionEntity</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00089">getGroundMode</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00080">setGroundMode</a>, and <a class="el" href="visual__collision__entity_8cpp-source.html#l00358">triangleIntersect</a>. </td>
+ </tr>
+</table>
+<a name="z911_8" doxytag="NL3D::CVisualCollisionEntity::_LandscapeQuadGrid"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CLandscapeCollisionGrid.html">CLandscapeCollisionGrid</a> NL3D::CVisualCollisionEntity::_LandscapeQuadGrid<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+A quadgrid of chainlist of tileId (<a class="el" href="classNL3D_1_1CVisualTileDescNode.html">CVisualTileDescNode</a>), which are around the entity.
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00169">169</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00403">doComputeLandscape</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00095">getPatchTriangleUnderUs</a>, and <a class="el" href="visual__collision__entity_8cpp-source.html#l00071">~CVisualCollisionEntity</a>. </td>
+ </tr>
+</table>
+<a name="z911_11" doxytag="NL3D::CVisualCollisionEntity::_LastGPTPosInput"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CVector NL3D::CVisualCollisionEntity::_LastGPTPosInput<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00174">174</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00095">getPatchTriangleUnderUs</a>. </td>
+ </tr>
+</table>
+<a name="z911_12" doxytag="NL3D::CVisualCollisionEntity::_LastGPTPosOutput"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CVector NL3D::CVisualCollisionEntity::_LastGPTPosOutput<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00175">175</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00095">getPatchTriangleUnderUs</a>. </td>
+ </tr>
+</table>
+<a name="z911_13" doxytag="NL3D::CVisualCollisionEntity::_LastGPTTrianglePatch"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="structNL3D_1_1CTrianglePatch.html">CTrianglePatch</a> NL3D::CVisualCollisionEntity::_LastGPTTrianglePatch<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00176">176</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00095">getPatchTriangleUnderUs</a>. </td>
+ </tr>
+</table>
+<a name="z911_10" doxytag="NL3D::CVisualCollisionEntity::_LastGPTValid"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CVisualCollisionEntity::_LastGPTValid<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Cache for <a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#z911_6">getPatchTriangleUnderUs</a>().
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00173">173</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00055">CVisualCollisionEntity</a>, and <a class="el" href="visual__collision__entity_8cpp-source.html#l00095">getPatchTriangleUnderUs</a>. </td>
+ </tr>
+</table>
+<a name="o0" doxytag="NL3D::CVisualCollisionEntity::_Owner"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CVisualCollisionManager.html">CVisualCollisionManager</a>* NL3D::CVisualCollisionEntity::_Owner<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00147">147</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00055">CVisualCollisionEntity</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00403">doComputeLandscape</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00095">getPatchTriangleUnderUs</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00516">getStaticLightSetup</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00554">getSurfaceInfo</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00253">snapToLandscapeCurrentTesselation</a>, and <a class="el" href="visual__collision__entity_8cpp-source.html#l00071">~CVisualCollisionEntity</a>. </td>
+ </tr>
+</table>
+<a name="z911_7" doxytag="NL3D::CVisualCollisionEntity::_PatchQuadBlocks"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::vector&lt;<a class="el" href="classNL3D_1_1CPatchQuadBlock.html">CPatchQuadBlock</a>*&gt; NL3D::CVisualCollisionEntity::_PatchQuadBlocks<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Array of quadBlock which are around the entity.
+<p>
+NB: plain vector, because not so big (ptrs). NB: reserve to a big size (64), so reallocation rarely occurs. NB: this array is sorted in ascending order (comparison of <a class="el" href="classNL3D_1_1CPatchBlockIdent.html">CPatchBlockIdent</a>).
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00167">167</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00055">CVisualCollisionEntity</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00600">displayDebugGrid</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00403">doComputeLandscape</a>, <a class="el" href="visual__collision__entity_8cpp-source.html#l00095">getPatchTriangleUnderUs</a>, and <a class="el" href="visual__collision__entity_8cpp-source.html#l00071">~CVisualCollisionEntity</a>. </td>
+ </tr>
+</table>
+<a name="o3" doxytag="NL3D::CVisualCollisionEntity::_SnapToRenderedTesselation"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CVisualCollisionEntity::_SnapToRenderedTesselation<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8h-source.html#l00151">151</a> of file <a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00055">CVisualCollisionEntity</a>, <a class="el" href="visual__collision__entity_8h-source.html#l00098">getSnapToRenderedTesselation</a>, and <a class="el" href="visual__collision__entity_8h-source.html#l00097">setSnapToRenderedTesselation</a>. </td>
+ </tr>
+</table>
+<a name="z911_15" doxytag="NL3D::CVisualCollisionEntity::_StartPatchQuadBlockSize"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="memory__common_8h.html#a11">uint32</a> NL3D::CVisualCollisionEntity::_StartPatchQuadBlockSize = 64<code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Default capacity of _PatchQuadBlocks.
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00049">49</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00055">CVisualCollisionEntity</a>. </td>
+ </tr>
+</table>
+<a name="z911_16" doxytag="NL3D::CVisualCollisionEntity::_TmpBlockIds"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> vector&lt; <a class="el" href="classNL3D_1_1CPatchBlockIdent.html">CPatchBlockIdent</a> &gt; NL3D::CVisualCollisionEntity::_TmpBlockIds<code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This is the temp array of BlockIds filled by landscape search.
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00050">50</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00403">doComputeLandscape</a>. </td>
+ </tr>
+</table>
+<a name="z911_17" doxytag="NL3D::CVisualCollisionEntity::_TmpPatchQuadBlocks"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> vector&lt; <a class="el" href="classNL3D_1_1CPatchQuadBlock.html">CPatchQuadBlock</a> * &gt; NL3D::CVisualCollisionEntity::_TmpPatchQuadBlocks<code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This is the temp array of PatchBlocks ptr.
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00051">51</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00403">doComputeLandscape</a>. </td>
+ </tr>
+</table>
+<a name="z908_0" doxytag="NL3D::CVisualCollisionEntity::BBoxRadius"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const float NL3D::CVisualCollisionEntity::BBoxRadius = 10<code> [static]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This is the radius of the bbox around the entity where we have correct collisions: 10m.
+<p>
+
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00047">47</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00403">doComputeLandscape</a>. </td>
+ </tr>
+</table>
+<a name="z908_1" doxytag="NL3D::CVisualCollisionEntity::BBoxRadiusZ"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const float NL3D::CVisualCollisionEntity::BBoxRadiusZ = 20<code> [static]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Same as BBoxRadius, but for z value.
+<p>
+This later should be greater because of <a class="el" href="namespaceNLPACS.html">NLPACS</a> surface quadtree imprecision. 20m NB: Because of caching, if the pos.z passed to <a class="el" href="classNL3D_1_1CVisualCollisionEntity.html#a2">snapToGround</a>() is outside of the currentBBox with BBoxRadiuZ/2 (=&gt; 10m), then the bbox is recomputed. Hence, this actually means that a pos is checked with patchs that are at least at +- 10m in altitude.
+<p>
+Definition at line <a class="el" href="visual__collision__entity_8cpp-source.html#l00048">48</a> of file <a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a>.
+<p>
+Referenced by <a class="el" href="visual__collision__entity_8cpp-source.html#l00403">doComputeLandscape</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="visual__collision__entity_8h-source.html">visual_collision_entity.h</a><li><a class="el" href="visual__collision__entity_8cpp-source.html">visual_collision_entity.cpp</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>