aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03707.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a03707.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a03707.html')
-rw-r--r--docs/doxygen/nel/a03707.html973
1 files changed, 973 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03707.html b/docs/doxygen/nel/a03707.html
new file mode 100644
index 00000000..e9203562
--- /dev/null
+++ b/docs/doxygen/nel/a03707.html
@@ -0,0 +1,973 @@
+<!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>NeL: NL3D::CVisualCollisionManager class Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NL3D::CVisualCollisionManager Class Reference</h1><code>#include &lt;<a class="el" href="a06730.html">visual_collision_manager.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Server to Client collision manager. Snap logic position to Visual position. <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06730.html#l00070">70</a> of file <a class="el" href="a06730.html">visual_collision_manager.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagera0">addMeshCollision</a> (const std::vector&lt; <a class="el" href="a03128.html">CVector</a> &gt; &amp;vertices, const std::vector&lt; <a class="el" href="a04558.html#a9">uint16</a> &gt; &amp;triangles)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03705.html">CVisualCollisionEntity</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagera1">createEntity</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagera2">CVisualCollisionManager</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CVisualCollisionManagera2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagera3">deleteEntity</a> (<a class="el" href="a03705.html">CVisualCollisionEntity</a> *entity)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagera4">getCameraCollision</a> (const <a class="el" href="a03128.html">CVector</a> &amp;start, const <a class="el" href="a03128.html">CVector</a> &amp;end, float radius, bool cone)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagera5">removeMeshCollision</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagera6">setLandscape</a> (<a class="el" href="a02702.html">CLandscape</a> *landscape)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagera7">setSunContributionPower</a> (float power, float maxThreshold)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagera8">~CVisualCollisionManager</a> ()</td></tr>
+
+<tr><td colspan=2><br><h2>Private Types</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="a04558.html#a11">uint32</a>,<br>
+ <a class="el" href="a03708.html">CMeshCol</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagery0">TMeshColMap</a></td></tr>
+
+<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerd0">deletePatchQuadBlock</a> (<a class="el" href="a03068.html">CPatchQuadBlock</a> *ptr)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerd1">deleteVisualTileDescNode</a> (<a class="el" href="a03713.html">CVisualTileDescNode</a> *ptr)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03068.html">CPatchQuadBlock</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerd2">newPatchQuadBlock</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03713.html">CVisualTileDescNode</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerd3">newVisualTileDescNode</a> ()</td></tr>
+
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03321.html">NLMISC::CRefPtr</a>&lt; <a class="el" href="a02702.html">CLandscape</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerr0">_Landscape</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The landscape used to generate tiles, and to snap position to tesselated ground. <a href="#NL3D_1_1CVisualCollisionManagerr0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerr1">_MeshIdPool</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03273.html">CQuadGrid</a>&lt; <a class="el" href="a03708.html">CMeshCol</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerr2">_MeshQuadGrid</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagery0">TMeshColMap</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerr3">_Meshs</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02274.html">CBlockMemory</a>&lt; <a class="el" href="a03068.html">CPatchQuadBlock</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerr4">_PatchQuadBlockAllocator</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerr5">_SunContributionLUT</a> [256]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02274.html">CBlockMemory</a>&lt; <a class="el" href="a03713.html">CVisualTileDescNode</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerr6">_TileDescNodeAllocator</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allocators. <a href="#NL3D_1_1CVisualCollisionManagerr6"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Friends</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>class&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagern0">CLandscapeCollisionGrid</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagern1">CVisualCollisionEntity</a></td></tr>
+
+</table>
+<hr><h2>Member Typedef Documentation</h2>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagery0" doxytag="NL3D::CVisualCollisionManager::TMeshColMap" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> typedef std::map&lt;<a class="el" href="a04558.html#a11">uint32</a>, <a class="el" href="a03708.html">CMeshCol</a>&gt; <a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagery0">NL3D::CVisualCollisionManager::TMeshColMap</a><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="a06730.html#l00201">201</a> of file <a class="el" href="a06730.html">visual_collision_manager.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagera2" doxytag="NL3D::CVisualCollisionManager::CVisualCollisionManager" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CVisualCollisionManager::CVisualCollisionManager </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&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="a06729.html#l00053">53</a> of file <a class="el" href="a06729.html">visual_collision_manager.cpp</a>.
+<p>
+References <a class="el" href="a06730.html#l00206">_MeshIdPool</a>, <a class="el" href="a06730.html#l00204">_MeshQuadGrid</a>, <a class="el" href="a03273.html#NL3D_1_1CQuadGridz772_1">NL3D::CQuadGrid&lt; CMeshCol * &gt;::create()</a>, <a class="el" href="a06729.html#l00049">NL3D::MeshColQuadGridEltSize</a>, <a class="el" href="a06729.html#l00048">NL3D::MeshColQuadGridSize</a>, <a class="el" href="a06729.html#l00046">NL3D::PatchQuadBlockAllocatorBlockSize</a>, <a class="el" href="a06729.html#l00121">setSunContributionPower()</a>, and <a class="el" href="a06729.html#l00045">NL3D::TileDescNodeAllocatorBlockSize</a>.
+<p>
+<div class="fragment"><pre>00053 :
+00054 <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr6">_TileDescNodeAllocator</a>(TileDescNodeAllocatorBlockSize),
+00055 <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr4">_PatchQuadBlockAllocator</a>(PatchQuadBlockAllocatorBlockSize)
+00056 {
+00057 <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr0">_Landscape</a>= NULL;
+00058
+00059 <span class="comment">// Default.</span>
+00060 <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagera7">setSunContributionPower</a>(0.5f, 0.5f);
+00061
+00062 <span class="comment">// init the mesh quadGrid</span>
+00063 <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr2">_MeshQuadGrid</a>.create(MeshColQuadGridSize, MeshColQuadGridEltSize);
+00064 <span class="comment">// valid id start at 1</span>
+00065 <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr1">_MeshIdPool</a>= 1;
+00066 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagera8" doxytag="NL3D::CVisualCollisionManager::~CVisualCollisionManager" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CVisualCollisionManager::~<a class="el" href="a03707.html">CVisualCollisionManager</a> </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&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="a06729.html#l00068">68</a> of file <a class="el" href="a06729.html">visual_collision_manager.cpp</a>.
+<p>
+<div class="fragment"><pre>00069 {
+00070 <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr0">_Landscape</a>= NULL;
+00071 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagera0" doxytag="NL3D::CVisualCollisionManager::addMeshCollision" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> NL3D::CVisualCollisionManager::addMeshCollision </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::vector&lt; <a class="el" href="a03128.html">CVector</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>vertices</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const std::vector&lt; <a class="el" href="a04558.html#a9">uint16</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>triangles</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>
+Add a Mesh to the collision manager. For now it is used only for Camera Collision number of vertices and number of triangles must not exceed 65535 <dl compact><dt><b>Returns:</b></dt><dd>the id used for remove, 0 if not succeed</dd></dl>
+
+<p>
+Definition at line <a class="el" href="a06729.html#l00401">401</a> of file <a class="el" href="a06729.html">visual_collision_manager.cpp</a>.
+<p>
+References <a class="el" href="a06730.html#l00206">_MeshIdPool</a>, <a class="el" href="a06730.html#l00204">_MeshQuadGrid</a>, <a class="el" href="a06730.html#l00202">_Meshs</a>, <a class="el" href="a06730.html#l00188">NL3D::CVisualCollisionManager::CMeshCol::BBox</a>, <a class="el" href="a06729.html#l00370">NL3D::CVisualCollisionManager::CMeshCol::build()</a>, <a class="el" href="a05385.html#l00087">NLMISC::CAABBox::getMax()</a>, <a class="el" href="a05385.html#l00086">NLMISC::CAABBox::getMin()</a>, <a class="el" href="a03273.html#NL3D_1_1CQuadGridz774_2">NL3D::CQuadGrid&lt; CMeshCol * &gt;::insert()</a>, <a class="el" href="a06730.html#l00190">NL3D::CVisualCollisionManager::CMeshCol::QuadGridIt</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a06732.html#l00089">NL3D::CVisualCollisionManagerUser::addMeshCollision()</a>.
+<p>
+<div class="fragment"><pre>00402 {
+00403 <span class="keywordflow">if</span>(vertices.empty() || triangles.empty())
+00404 <span class="keywordflow">return</span> 0;
+00405 <span class="comment">// triangles id are stored in uint16 form. so their should not be more than 65535*3 indices</span>
+00406 <span class="keywordflow">if</span>(vertices.size()&gt;65535 || triangles.size()&gt;65535*3)
+00407 <span class="keywordflow">return</span> 0;
+00408
+00409 <span class="comment">// allocate a new id</span>
+00410 <a class="code" href="a04558.html#a11">uint32</a> <span class="keywordtype">id</span>= <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr1">_MeshIdPool</a>++;
+00411
+00412 <span class="comment">// insert in map</span>
+00413 CMeshCol &amp;mesh= <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr3">_Meshs</a>[<span class="keywordtype">id</span>];
+00414
+00415 <span class="comment">// Build the col mesh</span>
+00416 mesh.build(vertices, triangles);
+00417
+00418 <span class="comment">// insert in quadGrid</span>
+00419 mesh.QuadGridIt= <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr2">_MeshQuadGrid</a>.insert(mesh.BBox.getMin(), mesh.BBox.getMax(), &amp;mesh);
+00420
+00421 <span class="keywordflow">return</span> <span class="keywordtype">id</span>;
+00422 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagera1" doxytag="NL3D::CVisualCollisionManager::createEntity" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03705.html">CVisualCollisionEntity</a> * NL3D::CVisualCollisionManager::createEntity </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&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>
+create an entity. NB: <a class="el" href="a03707.html">CVisualCollisionManager</a> do not owns this ptr for now, and you must delete it with <a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagera3">deleteEntity()</a>. NB: <a class="el" href="a03705.html">CVisualCollisionEntity</a> are no more valid when this manager is deleted.
+<p>
+Definition at line <a class="el" href="a06729.html#l00082">82</a> of file <a class="el" href="a06729.html">visual_collision_manager.cpp</a>.
+<p>
+References <a class="el" href="a06730.html#l00210">CVisualCollisionEntity</a>.
+<p>
+Referenced by <a class="el" href="a05824.html#l00633">NL3D::CInstanceLighter::computeSunContribution()</a>.
+<p>
+<div class="fragment"><pre>00083 {
+00084 <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagern1">CVisualCollisionEntity</a>(<span class="keyword">this</span>);
+00085 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagera3" doxytag="NL3D::CVisualCollisionManager::deleteEntity" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CVisualCollisionManager::deleteEntity </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03705.html">CVisualCollisionEntity</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>entity</em> </td>
+ <td class="md" valign="top">&nbsp;)&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>
+delete an entity.
+<p>
+Definition at line <a class="el" href="a06729.html#l00089">89</a> of file <a class="el" href="a06729.html">visual_collision_manager.cpp</a>.
+<p>
+Referenced by <a class="el" href="a05824.html#l00633">NL3D::CInstanceLighter::computeSunContribution()</a>, and <a class="el" href="a06728.html#l00058">NL3D::CVisualCollisionEntityUser::~CVisualCollisionEntityUser()</a>.
+<p>
+<div class="fragment"><pre>00090 {
+00091 <span class="keyword">delete</span> entity;
+00092 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerd0" doxytag="NL3D::CVisualCollisionManager::deletePatchQuadBlock" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CVisualCollisionManager::deletePatchQuadBlock </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03068.html">CPatchQuadBlock</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>ptr</em> </td>
+ <td class="md" valign="top">&nbsp;)&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>
+
+<p>
+Definition at line <a class="el" href="a06729.html#l00114">114</a> of file <a class="el" href="a06729.html">visual_collision_manager.cpp</a>.
+<p>
+References <a class="el" href="a06730.html#l00134">_PatchQuadBlockAllocator</a>, and <a class="el" href="a05490.html#l00147">NLMISC::CBlockMemory&lt; CPatchQuadBlock &gt;::free()</a>.
+<p>
+Referenced by <a class="el" href="a06725.html#l00414">NL3D::CVisualCollisionEntity::doComputeLandscape()</a>, and <a class="el" href="a06725.html#l00072">NL3D::CVisualCollisionEntity::~CVisualCollisionEntity()</a>.
+<p>
+<div class="fragment"><pre>00115 {
+00116 <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr4">_PatchQuadBlockAllocator</a>.<a class="code" href="a02274.html#NLMISC_1_1CBlockMemorya5">free</a>(ptr);
+00117 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerd1" doxytag="NL3D::CVisualCollisionManager::deleteVisualTileDescNode" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CVisualCollisionManager::deleteVisualTileDescNode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03713.html">CVisualTileDescNode</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>ptr</em> </td>
+ <td class="md" valign="top">&nbsp;)&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>
+
+<p>
+Definition at line <a class="el" href="a06729.html#l00102">102</a> of file <a class="el" href="a06729.html">visual_collision_manager.cpp</a>.
+<p>
+References <a class="el" href="a06730.html#l00133">_TileDescNodeAllocator</a>, and <a class="el" href="a05490.html#l00147">NLMISC::CBlockMemory&lt; CVisualTileDescNode &gt;::free()</a>.
+<p>
+Referenced by <a class="el" href="a05864.html#l00059">NL3D::CLandscapeCollisionGrid::clear()</a>.
+<p>
+<div class="fragment"><pre>00103 {
+00104 <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr6">_TileDescNodeAllocator</a>.<a class="code" href="a02274.html#NLMISC_1_1CBlockMemorya5">free</a>(ptr);
+00105 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagera4" doxytag="NL3D::CVisualCollisionManager::getCameraCollision" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CVisualCollisionManager::getCameraCollision </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>start</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>end</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>radius</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap> <em>cone</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 Typical Camera 3rd person collision. For landscape, it is done only against TileFaces (ie only under approx 50 m) return a [0,1] value. 0 =&gt; collision at start. 1 =&gt; no collision. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>radius</em>&nbsp;</td><td>is the radius of the 'cylinder' </td></tr>
+ <tr><td valign=top><em>cone</em>&nbsp;</td><td>if true, the object tested is a cone (radius goes to end)</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06729.html#l00144">144</a> of file <a class="el" href="a06729.html">visual_collision_manager.cpp</a>.
+<p>
+References <a class="el" href="a06730.html#l00204">_MeshQuadGrid</a>, <a class="el" href="a05533.html#l00057">NL3D::CCameraCol::BBox</a>, <a class="el" href="a03273.html#NL3D_1_1CQuadGridz776_0">NL3D::CQuadGrid&lt; CMeshCol * &gt;::begin()</a>, <a class="el" href="a05532.html#l00048">NL3D::CCameraCol::build()</a>, <a class="el" href="a03273.html#NL3D_1_1CQuadGridz776_2">NL3D::CQuadGrid&lt; CMeshCol * &gt;::end()</a>, <a class="el" href="a05385.html#l00087">NLMISC::CAABBox::getMax()</a>, <a class="el" href="a05385.html#l00086">NLMISC::CAABBox::getMin()</a>, <a class="el" href="a05484.html#l00038">min</a>, and <a class="el" href="a03273.html#NL3D_1_1CQuadGridz776_3">NL3D::CQuadGrid&lt; CMeshCol * &gt;::select()</a>.
+<p>
+Referenced by <a class="el" href="a06732.html#l00083">NL3D::CVisualCollisionManagerUser::getCameraCollision()</a>.
+<p>
+<div class="fragment"><pre>00145 {
+00146 <span class="keywordtype">float</span> minCol= 1;
+00147
+00148 <span class="comment">// try col with landscape</span>
+00149 <span class="keywordflow">if</span>(<a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr0">_Landscape</a>)
+00150 {
+00151 minCol= <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr0">_Landscape</a>-&gt;getCameraCollision(start, end, radius, cone);
+00152 }
+00153
+00154 <span class="comment">// try col with meshes</span>
+00155 CCameraCol camCol;
+00156 camCol.build(start, end, radius, cone);
+00157 <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr2">_MeshQuadGrid</a>.select(camCol.BBox.getMin(), camCol.BBox.getMax());
+00158 <span class="comment">// try to intersect with any meshs</span>
+00159 CQuadGrid&lt;CMeshCol*&gt;::CIterator it;
+00160 <span class="keywordflow">for</span>(it= <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr2">_MeshQuadGrid</a>.begin();it!=<a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr2">_MeshQuadGrid</a>.end();it++)
+00161 {
+00162 <span class="keywordtype">float</span> meshCol= (*it)-&gt;getCameraCollision(camCol);
+00163 <span class="comment">// Keep only yhe smallest value</span>
+00164 minCol= <a class="code" href="a04061.html#a0">min</a>(minCol, meshCol);
+00165 }
+00166
+00167 <span class="keywordflow">return</span> minCol;
+00168 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerd2" doxytag="NL3D::CVisualCollisionManager::newPatchQuadBlock" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03068.html">CPatchQuadBlock</a> * NL3D::CVisualCollisionManager::newPatchQuadBlock </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&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>
+
+<p>
+Definition at line <a class="el" href="a06729.html#l00108">108</a> of file <a class="el" href="a06729.html">visual_collision_manager.cpp</a>.
+<p>
+References <a class="el" href="a06730.html#l00134">_PatchQuadBlockAllocator</a>, and <a class="el" href="a05490.html#l00097">NLMISC::CBlockMemory&lt; CPatchQuadBlock &gt;::allocate()</a>.
+<p>
+Referenced by <a class="el" href="a06725.html#l00414">NL3D::CVisualCollisionEntity::doComputeLandscape()</a>.
+<p>
+<div class="fragment"><pre>00109 {
+00110 <span class="keywordflow">return</span> <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr4">_PatchQuadBlockAllocator</a>.<a class="code" href="a02274.html#NLMISC_1_1CBlockMemorya2">allocate</a>();
+00111 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerd3" doxytag="NL3D::CVisualCollisionManager::newVisualTileDescNode" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03713.html">CVisualTileDescNode</a> * NL3D::CVisualCollisionManager::newVisualTileDescNode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&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>
+
+<p>
+Definition at line <a class="el" href="a06729.html#l00096">96</a> of file <a class="el" href="a06729.html">visual_collision_manager.cpp</a>.
+<p>
+References <a class="el" href="a06730.html#l00133">_TileDescNodeAllocator</a>, and <a class="el" href="a05490.html#l00097">NLMISC::CBlockMemory&lt; CVisualTileDescNode &gt;::allocate()</a>.
+<p>
+Referenced by <a class="el" href="a05864.html#l00213">NL3D::CLandscapeCollisionGrid::addQuadToGrid()</a>.
+<p>
+<div class="fragment"><pre>00097 {
+00098 <span class="keywordflow">return</span> <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr6">_TileDescNodeAllocator</a>.<a class="code" href="a02274.html#NLMISC_1_1CBlockMemorya2">allocate</a>();
+00099 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagera5" doxytag="NL3D::CVisualCollisionManager::removeMeshCollision" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CVisualCollisionManager::removeMeshCollision </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>id</em> </td>
+ <td class="md" valign="top">&nbsp;)&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>
+Remove a Mesh from the collision manager.
+<p>
+Definition at line <a class="el" href="a06729.html#l00425">425</a> of file <a class="el" href="a06729.html">visual_collision_manager.cpp</a>.
+<p>
+References <a class="el" href="a06730.html#l00204">_MeshQuadGrid</a>, <a class="el" href="a06730.html#l00202">_Meshs</a>, <a class="el" href="a03273.html#NL3D_1_1CQuadGridz774_1">NL3D::CQuadGrid&lt; CMeshCol * &gt;::erase()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06732.html#l00095">NL3D::CVisualCollisionManagerUser::removeMeshCollision()</a>.
+<p>
+<div class="fragment"><pre>00426 {
+00427 <span class="comment">// find in map</span>
+00428 TMeshColMap::iterator it= <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr3">_Meshs</a>.find(<span class="keywordtype">id</span>);
+00429 <span class="keywordflow">if</span>(it!=<a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr3">_Meshs</a>.end())
+00430 {
+00431 <span class="comment">// remove from the quadgrid</span>
+00432 <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr2">_MeshQuadGrid</a>.erase(it-&gt;second.QuadGridIt);
+00433 <span class="comment">// remove from the map</span>
+00434 <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr3">_Meshs</a>.erase(it);
+00435 }
+00436 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagera6" doxytag="NL3D::CVisualCollisionManager::setLandscape" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CVisualCollisionManager::setLandscape </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02702.html">CLandscape</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>landscape</em> </td>
+ <td class="md" valign="top">&nbsp;)&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>
+setup the landscape used for this collision manager. ptr is kept, and manager and all entities must be cleared when the landscape is deleted.
+<p>
+Definition at line <a class="el" href="a06729.html#l00075">75</a> of file <a class="el" href="a06729.html">visual_collision_manager.cpp</a>.
+<p>
+Referenced by <a class="el" href="a05824.html#l00633">NL3D::CInstanceLighter::computeSunContribution()</a>, and <a class="el" href="a06732.html#l00059">NL3D::CVisualCollisionManagerUser::setLandscape()</a>.
+<p>
+<div class="fragment"><pre>00076 {
+00077 <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr0">_Landscape</a>= landscape;
+00078 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagera7" doxytag="NL3D::CVisualCollisionManager::setSunContributionPower" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CVisualCollisionManager::setSunContributionPower </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname" nowrap> <em>power</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>maxThreshold</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>
+for <a class="el" href="a03705.html#NL3D_1_1CVisualCollisionEntityz1170_0">CVisualCollisionEntity::getStaticLightSetup()</a>. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03705.html#NL3D_1_1CVisualCollisionEntityz1170_0">CVisualCollisionEntity::getStaticLightSetup()</a></dd></dl>
+Build a lighting table to remap sun contribution from landscape to sun contribution for objects. The value remap the landscape sun contribution (0 ~ 1) to an object sun contribution (0 ~1) using the following formula:<p>
+objectSunContribution = min ( powf ( landscapeSunContribution / maxThreshold, power ), 1 );<p>
+Default is 0.5 (=&gt; sqrt) for power and 0.5 for maxThreshold.
+<p>
+Definition at line <a class="el" href="a06729.html#l00121">121</a> of file <a class="el" href="a06729.html">visual_collision_manager.cpp</a>.
+<p>
+References <a class="el" href="a06730.html#l00222">_SunContributionLUT</a>, <a class="el" href="a05587.html#l00115">NLMISC::clamp()</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06729.html#l00053">CVisualCollisionManager()</a>, and <a class="el" href="a06732.html#l00077">NL3D::CVisualCollisionManagerUser::setSunContributionPower()</a>.
+<p>
+<div class="fragment"><pre>00122 {
+00123 <a class="code" href="a05378.html#a374">NLMISC::clamp</a>(power, 0.f, 1.f);
+00124
+00125 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=0; i&lt;256; i++)
+00126 {
+00127 <span class="keywordtype">float</span> f= i/255.f;
+00128 f = powf(f/maxThreshold, power);
+00129 <a class="code" href="a04558.html#a14">sint</a> uf= (<a class="code" href="a04558.html#a14">sint</a>)floor(255*f);
+00130 <a class="code" href="a05378.html#a374">NLMISC::clamp</a>(uf, 0, 255);
+00131 <a class="code" href="a03707.html#NL3D_1_1CVisualCollisionManagerr5">_SunContributionLUT</a>[i]= uf;
+00132 }
+00133
+00134 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagern0" doxytag="NL3D::CVisualCollisionManager::CLandscapeCollisionGrid" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> friend class <a class="el" href="a02708.html">CLandscapeCollisionGrid</a><code> [friend]</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="a06730.html#l00211">211</a> of file <a class="el" href="a06730.html">visual_collision_manager.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagern1" doxytag="NL3D::CVisualCollisionManager::CVisualCollisionEntity" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> friend class <a class="el" href="a03705.html">CVisualCollisionEntity</a><code> [friend]</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="a06730.html#l00210">210</a> of file <a class="el" href="a06730.html">visual_collision_manager.h</a>.
+<p>
+Referenced by <a class="el" href="a06729.html#l00082">createEntity()</a>. </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerr0" doxytag="NL3D::CVisualCollisionManager::_Landscape" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03321.html">NLMISC::CRefPtr</a>&lt;<a class="el" href="a02702.html">CLandscape</a>&gt; <a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerr0">NL3D::CVisualCollisionManager::_Landscape</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The landscape used to generate tiles, and to snap position to tesselated ground.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06730.html#l00130">130</a> of file <a class="el" href="a06730.html">visual_collision_manager.h</a>.
+<p>
+Referenced by <a class="el" href="a06725.html#l00414">NL3D::CVisualCollisionEntity::doComputeLandscape()</a>, <a class="el" href="a06725.html#l00096">NL3D::CVisualCollisionEntity::getPatchTriangleUnderUs()</a>, <a class="el" href="a06725.html#l00527">NL3D::CVisualCollisionEntity::getStaticLightSetup()</a>, <a class="el" href="a06725.html#l00565">NL3D::CVisualCollisionEntity::getSurfaceInfo()</a>, and <a class="el" href="a06725.html#l00261">NL3D::CVisualCollisionEntity::snapToLandscapeCurrentTesselation()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerr1" doxytag="NL3D::CVisualCollisionManager::_MeshIdPool" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerr1">NL3D::CVisualCollisionManager::_MeshIdPool</a><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="a06730.html#l00206">206</a> of file <a class="el" href="a06730.html">visual_collision_manager.h</a>.
+<p>
+Referenced by <a class="el" href="a06729.html#l00401">addMeshCollision()</a>, and <a class="el" href="a06729.html#l00053">CVisualCollisionManager()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerr2" doxytag="NL3D::CVisualCollisionManager::_MeshQuadGrid" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03273.html">CQuadGrid</a>&lt;<a class="el" href="a03708.html">CMeshCol</a>*&gt; <a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerr2">NL3D::CVisualCollisionManager::_MeshQuadGrid</a><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="a06730.html#l00204">204</a> of file <a class="el" href="a06730.html">visual_collision_manager.h</a>.
+<p>
+Referenced by <a class="el" href="a06729.html#l00401">addMeshCollision()</a>, <a class="el" href="a06729.html#l00053">CVisualCollisionManager()</a>, <a class="el" href="a06729.html#l00144">getCameraCollision()</a>, and <a class="el" href="a06729.html#l00425">removeMeshCollision()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerr3" doxytag="NL3D::CVisualCollisionManager::_Meshs" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagery0">TMeshColMap</a> <a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerr3">NL3D::CVisualCollisionManager::_Meshs</a><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="a06730.html#l00202">202</a> of file <a class="el" href="a06730.html">visual_collision_manager.h</a>.
+<p>
+Referenced by <a class="el" href="a06729.html#l00401">addMeshCollision()</a>, and <a class="el" href="a06729.html#l00425">removeMeshCollision()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerr4" doxytag="NL3D::CVisualCollisionManager::_PatchQuadBlockAllocator" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02274.html">CBlockMemory</a>&lt;<a class="el" href="a03068.html">CPatchQuadBlock</a>&gt; <a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerr4">NL3D::CVisualCollisionManager::_PatchQuadBlockAllocator</a><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="a06730.html#l00134">134</a> of file <a class="el" href="a06730.html">visual_collision_manager.h</a>.
+<p>
+Referenced by <a class="el" href="a06729.html#l00114">deletePatchQuadBlock()</a>, and <a class="el" href="a06729.html#l00108">newPatchQuadBlock()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerr5" doxytag="NL3D::CVisualCollisionManager::_SunContributionLUT" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a7">uint8</a> <a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerr5">NL3D::CVisualCollisionManager::_SunContributionLUT</a>[256]<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="a06730.html#l00222">222</a> of file <a class="el" href="a06730.html">visual_collision_manager.h</a>.
+<p>
+Referenced by <a class="el" href="a06725.html#l00527">NL3D::CVisualCollisionEntity::getStaticLightSetup()</a>, and <a class="el" href="a06729.html#l00121">setSunContributionPower()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerr6" doxytag="NL3D::CVisualCollisionManager::_TileDescNodeAllocator" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02274.html">CBlockMemory</a>&lt;<a class="el" href="a03713.html">CVisualTileDescNode</a>&gt; <a class="el" href="a03707.html#NL3D_1_1CVisualCollisionManagerr6">NL3D::CVisualCollisionManager::_TileDescNodeAllocator</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Allocators.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06730.html#l00133">133</a> of file <a class="el" href="a06730.html">visual_collision_manager.h</a>.
+<p>
+Referenced by <a class="el" href="a06729.html#l00102">deleteVisualTileDescNode()</a>, and <a class="el" href="a06729.html#l00096">newVisualTileDescNode()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a06730.html">visual_collision_manager.h</a><li><a class="el" href="a06729.html">visual_collision_manager.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:26:52 2004 for NeL by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
+</a>1.3.6 </small></address>
+</body>
+</html>