aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03712.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/a03712.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a03712.html')
-rw-r--r--docs/doxygen/nel/a03712.html511
1 files changed, 511 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03712.html b/docs/doxygen/nel/a03712.html
new file mode 100644
index 00000000..51138804
--- /dev/null
+++ b/docs/doxygen/nel/a03712.html
@@ -0,0 +1,511 @@
+<!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::CVisualCollisionManagerUser 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::CVisualCollisionManagerUser Class Reference</h1><code>#include &lt;<a class="el" href="a06732.html">visual_collision_manager_user.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CVisualCollisionManagerUser:
+<p><center><img src="a03712.png" usemap="#NL3D::CVisualCollisionManagerUser_map" border="0" alt=""></center>
+<map name="NL3D::CVisualCollisionManagerUser_map">
+<area href="a03954.html" alt="NL3D::UVisualCollisionManager" shape="rect" coords="0,0,219,24">
+</map>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<a class="el" href="a03954.html">UVisualCollisionManager</a> implementation. <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="a06732.html#l00048">48</a> of file <a class="el" href="a06732.html">visual_collision_manager_user.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>virtual <a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03712.html#NL3D_1_1CVisualCollisionManagerUsera0">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>virtual <a class="el" href="a03953.html">UVisualCollisionEntity</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03712.html#NL3D_1_1CVisualCollisionManagerUsera1">createEntity</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03712.html#NL3D_1_1CVisualCollisionManagerUsera2">CVisualCollisionManagerUser</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CVisualCollisionManagerUsera2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03712.html#NL3D_1_1CVisualCollisionManagerUsera3">deleteEntity</a> (<a class="el" href="a03953.html">UVisualCollisionEntity</a> *entity)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03712.html#NL3D_1_1CVisualCollisionManagerUsera4">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>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03712.html#NL3D_1_1CVisualCollisionManagerUsera5">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>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03712.html#NL3D_1_1CVisualCollisionManagerUsera6">setLandscape</a> (<a class="el" href="a03931.html">ULandscape</a> *landscape)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03712.html#NL3D_1_1CVisualCollisionManagerUsera7">setSunContributionPower</a> (float power, float maxThreshold)</td></tr>
+
+<tr><td colspan=2><br><h2>Protected Types</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="a03262.html">CPtrSet</a>&lt; <a class="el" href="a03706.html">CVisualCollisionEntityUser</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03712.html#NL3D_1_1CVisualCollisionManagerUserx0">TVisualCollisionEntitySet</a></td></tr>
+
+<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03262.html">TVisualCollisionEntitySet</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03712.html#NL3D_1_1CVisualCollisionManagerUserp0">_Entities</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03707.html">CVisualCollisionManager</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03712.html#NL3D_1_1CVisualCollisionManagerUserp1">_Manager</a></td></tr>
+
+</table>
+<hr><h2>Member Typedef Documentation</h2>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerUserx0" doxytag="NL3D::CVisualCollisionManagerUser::TVisualCollisionEntitySet" ></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 <a class="el" href="a03262.html">CPtrSet</a>&lt;<a class="el" href="a03706.html">CVisualCollisionEntityUser</a>&gt; <a class="el" href="a03262.html">NL3D::CVisualCollisionManagerUser::TVisualCollisionEntitySet</a><code> [protected]</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="a06732.html#l00103">103</a> of file <a class="el" href="a06732.html">visual_collision_manager_user.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerUsera2" doxytag="NL3D::CVisualCollisionManagerUser::CVisualCollisionManagerUser" ></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::CVisualCollisionManagerUser::CVisualCollisionManagerUser </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> [inline]</code></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="a06732.html#l00053">53</a> of file <a class="el" href="a06732.html">visual_collision_manager_user.h</a>.
+<p>
+References <a class="el" href="a04929.html#a16">NL3D_MEM_VISUAL_COLLISION</a>.
+<p>
+<div class="fragment"><pre>00054 {
+00055 <a class="code" href="a04929.html#a16">NL3D_MEM_VISUAL_COLLISION</a>
+00056 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerUsera0" doxytag="NL3D::CVisualCollisionManagerUser::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"> virtual <a class="el" href="a04558.html#a15">uint</a> NL3D::CVisualCollisionManagerUser::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"><code> [inline, virtual]</code></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>
+Implements <a class="el" href="a03954.html#NL3D_1_1UVisualCollisionManagera0">NL3D::UVisualCollisionManager</a>.
+<p>
+Definition at line <a class="el" href="a06732.html#l00089">89</a> of file <a class="el" href="a06732.html">visual_collision_manager_user.h</a>.
+<p>
+References <a class="el" href="a06729.html#l00401">NL3D::CVisualCollisionManager::addMeshCollision()</a>, <a class="el" href="a06732.html#l00037">NL3D_MEM_CAMERA_COLLISION</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00090 {
+00091 <a class="code" href="a05309.html#a1">NL3D_MEM_CAMERA_COLLISION</a>
+00092 <span class="keywordflow">return</span> <a class="code" href="a03712.html#NL3D_1_1CVisualCollisionManagerUserp1">_Manager</a>.addMeshCollision(vertices, triangles);
+00093 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerUsera1" doxytag="NL3D::CVisualCollisionManagerUser::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"> virtual <a class="el" href="a03953.html">UVisualCollisionEntity</a>* NL3D::CVisualCollisionManagerUser::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><code> [inline, virtual]</code></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> owns this ptr, and you must delete it with <a class="el" href="a03712.html#NL3D_1_1CVisualCollisionManagerUsera3">deleteEntity()</a>. NB: all <a class="el" href="a03705.html">CVisualCollisionEntity</a> are deleted when this manager is deleted.
+<p>
+Implements <a class="el" href="a03954.html#NL3D_1_1UVisualCollisionManagera1">NL3D::UVisualCollisionManager</a>.
+<p>
+Definition at line <a class="el" href="a06732.html#l00065">65</a> of file <a class="el" href="a06732.html">visual_collision_manager_user.h</a>.
+<p>
+References <a class="el" href="a06732.html#l00104">_Entities</a>, <a class="el" href="a06290.html#l00064">NL3D::CPtrSet&lt; T &gt;::insert()</a>, and <a class="el" href="a04929.html#a16">NL3D_MEM_VISUAL_COLLISION</a>.
+<p>
+<div class="fragment"><pre>00066 {
+00067 <a class="code" href="a04929.html#a16">NL3D_MEM_VISUAL_COLLISION</a>
+00068 <span class="keywordflow">return</span> <a class="code" href="a03712.html#NL3D_1_1CVisualCollisionManagerUserp0">_Entities</a>.<a class="code" href="a03262.html#NL3D_1_1CPtrSetz770_2">insert</a>(<span class="keyword">new</span> CVisualCollisionEntityUser(&amp;_Manager));
+00069 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerUsera3" doxytag="NL3D::CVisualCollisionManagerUser::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"> virtual void NL3D::CVisualCollisionManagerUser::deleteEntity </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03953.html">UVisualCollisionEntity</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><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+delete an entity.
+<p>
+Implements <a class="el" href="a03954.html#NL3D_1_1UVisualCollisionManagera2">NL3D::UVisualCollisionManager</a>.
+<p>
+Definition at line <a class="el" href="a06732.html#l00071">71</a> of file <a class="el" href="a06732.html">visual_collision_manager_user.h</a>.
+<p>
+References <a class="el" href="a06732.html#l00104">_Entities</a>, <a class="el" href="a06290.html#l00072">NL3D::CPtrSet&lt; T &gt;::erase()</a>, and <a class="el" href="a04929.html#a16">NL3D_MEM_VISUAL_COLLISION</a>.
+<p>
+<div class="fragment"><pre>00072 {
+00073 <a class="code" href="a04929.html#a16">NL3D_MEM_VISUAL_COLLISION</a>
+00074 <a class="code" href="a03712.html#NL3D_1_1CVisualCollisionManagerUserp0">_Entities</a>.<a class="code" href="a03262.html#NL3D_1_1CPtrSetz770_1">erase</a>(dynamic_cast&lt;CVisualCollisionEntityUser*&gt;(entity));
+00075 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerUsera4" doxytag="NL3D::CVisualCollisionManagerUser::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"> virtual float NL3D::CVisualCollisionManagerUser::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"><code> [inline, virtual]</code></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>
+Implements <a class="el" href="a03954.html#NL3D_1_1UVisualCollisionManagera3">NL3D::UVisualCollisionManager</a>.
+<p>
+Definition at line <a class="el" href="a06732.html#l00083">83</a> of file <a class="el" href="a06732.html">visual_collision_manager_user.h</a>.
+<p>
+References <a class="el" href="a06729.html#l00144">NL3D::CVisualCollisionManager::getCameraCollision()</a>, and <a class="el" href="a06732.html#l00037">NL3D_MEM_CAMERA_COLLISION</a>.
+<p>
+<div class="fragment"><pre>00084 {
+00085 <a class="code" href="a05309.html#a1">NL3D_MEM_CAMERA_COLLISION</a>
+00086 <span class="keywordflow">return</span> <a class="code" href="a03712.html#NL3D_1_1CVisualCollisionManagerUserp1">_Manager</a>.getCameraCollision (start, end, radius, cone);
+00087 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerUsera5" doxytag="NL3D::CVisualCollisionManagerUser::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"> virtual void NL3D::CVisualCollisionManagerUser::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><code> [inline, virtual]</code></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>
+Implements <a class="el" href="a03954.html#NL3D_1_1UVisualCollisionManagera4">NL3D::UVisualCollisionManager</a>.
+<p>
+Definition at line <a class="el" href="a06732.html#l00095">95</a> of file <a class="el" href="a06732.html">visual_collision_manager_user.h</a>.
+<p>
+References <a class="el" href="a06732.html#l00037">NL3D_MEM_CAMERA_COLLISION</a>, <a class="el" href="a06729.html#l00425">NL3D::CVisualCollisionManager::removeMeshCollision()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00096 {
+00097 <a class="code" href="a05309.html#a1">NL3D_MEM_CAMERA_COLLISION</a>
+00098 <a class="code" href="a03712.html#NL3D_1_1CVisualCollisionManagerUserp1">_Manager</a>.removeMeshCollision(<span class="keywordtype">id</span>);
+00099 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerUsera6" doxytag="NL3D::CVisualCollisionManagerUser::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"> virtual void NL3D::CVisualCollisionManagerUser::setLandscape </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03931.html">ULandscape</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><code> [inline, virtual]</code></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 must be cleared when the landscape is deleted.
+<p>
+Implements <a class="el" href="a03954.html#NL3D_1_1UVisualCollisionManagera5">NL3D::UVisualCollisionManager</a>.
+<p>
+Definition at line <a class="el" href="a06732.html#l00059">59</a> of file <a class="el" href="a06732.html">visual_collision_manager_user.h</a>.
+<p>
+References <a class="el" href="a04929.html#a16">NL3D_MEM_VISUAL_COLLISION</a>, and <a class="el" href="a06729.html#l00075">NL3D::CVisualCollisionManager::setLandscape()</a>.
+<p>
+<div class="fragment"><pre>00060 {
+00061 <a class="code" href="a04929.html#a16">NL3D_MEM_VISUAL_COLLISION</a>
+00062 <a class="code" href="a03712.html#NL3D_1_1CVisualCollisionManagerUserp1">_Manager</a>.setLandscape(&amp;(dynamic_cast&lt;CLandscapeUser*&gt;(landscape)-&gt;getLandscape()-&gt;Landscape));
+00063 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerUsera7" doxytag="NL3D::CVisualCollisionManagerUser::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"> virtual void NL3D::CVisualCollisionManagerUser::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"><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+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>
+Implements <a class="el" href="a03954.html#NL3D_1_1UVisualCollisionManagera6">NL3D::UVisualCollisionManager</a>.
+<p>
+Definition at line <a class="el" href="a06732.html#l00077">77</a> of file <a class="el" href="a06732.html">visual_collision_manager_user.h</a>.
+<p>
+References <a class="el" href="a04929.html#a16">NL3D_MEM_VISUAL_COLLISION</a>, and <a class="el" href="a06729.html#l00121">NL3D::CVisualCollisionManager::setSunContributionPower()</a>.
+<p>
+<div class="fragment"><pre>00078 {
+00079 <a class="code" href="a04929.html#a16">NL3D_MEM_VISUAL_COLLISION</a>
+00080 <a class="code" href="a03712.html#NL3D_1_1CVisualCollisionManagerUserp1">_Manager</a>.setSunContributionPower (power, maxThreshold);
+00081 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerUserp0" doxytag="NL3D::CVisualCollisionManagerUser::_Entities" ></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="a03262.html">TVisualCollisionEntitySet</a> <a class="el" href="a03712.html#NL3D_1_1CVisualCollisionManagerUserp0">NL3D::CVisualCollisionManagerUser::_Entities</a><code> [protected]</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="a06732.html#l00104">104</a> of file <a class="el" href="a06732.html">visual_collision_manager_user.h</a>.
+<p>
+Referenced by <a class="el" href="a06732.html#l00065">createEntity()</a>, and <a class="el" href="a06732.html#l00071">deleteEntity()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVisualCollisionManagerUserp1" doxytag="NL3D::CVisualCollisionManagerUser::_Manager" ></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">CVisualCollisionManager</a> <a class="el" href="a03712.html#NL3D_1_1CVisualCollisionManagerUserp1">NL3D::CVisualCollisionManagerUser::_Manager</a><code> [protected]</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="a06732.html#l00102">102</a> of file <a class="el" href="a06732.html">visual_collision_manager_user.h</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="a06732.html">visual_collision_manager_user.h</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:27:11 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>