diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a03293.html | 332 |
1 files changed, 332 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03293.html b/docs/doxygen/nel/a03293.html new file mode 100644 index 00000000..61f680e4 --- /dev/null +++ b/docs/doxygen/nel/a03293.html @@ -0,0 +1,332 @@ +<!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::CQuadTree< T >::CNode 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 Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::CQuadTree< T >::CNode Class Reference</h1><p>Inheritance diagram for NL3D::CQuadTree< T >::CNode: +<p><center><img src="a03293.png" usemap="#NL3D::CQuadTree< T >::CNode_map" border="0" alt=""></center> +<map name="NL3D::CQuadTree< T >::CNode_map"> +<area href="a03290.html" alt="NL3D::CQuadTree< T >::CBaseNode" shape="rect" coords="0,0,220,24"> +</map> +<h3>template<class T><br> + class NL3D::CQuadTree< T >::CNode</h3> + +<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>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodea0">clear</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03293.html#NL3D_1_1CQuadTree_1_1CNodea1">CNode</a> (const T &val)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodea2">isSelected</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03290.html">CBaseNode</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo0">Next</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03290.html">CBaseNode</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo1">Prev</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03290.html">CBaseNode</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo2">QuadNexts</a> [4]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03290.html">CBaseNode</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo3">QuadPrevs</a> [4]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>T </td><td class="memItemRight" valign=bottom><a class="el" href="a03293.html#NL3D_1_1CQuadTree_1_1CNodeo4">Value</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CQuadTree_1_1CNodea1" doxytag="NL3D::CQuadTree::CNode::CNode" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03289.html">NL3D::CQuadTree</a>< T >::CNode::CNode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const T & </td> + <td class="mdname1" valign="top" nowrap> <em>val</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06306.html#l00283">283</a> of file <a class="el" href="a06306.html">quad_tree.h</a>. +<p> +<div class="fragment"><pre>00283 : <a class="code" href="a03293.html#NL3D_1_1CQuadTree_1_1CNodeo4">Value</a>(val) {} +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CQuadTree_1_1CNodea0" doxytag="NL3D::CQuadTree::CNode::clear" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void <a class="el" href="a03289.html">NL3D::CQuadTree</a>< T >::CBaseNode::clear </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06306.html#l00250">250</a> of file <a class="el" href="a06306.html">quad_tree.h</a>. +<p> +References <a class="el" href="a06306.html#l00236">NL3D::CQuadTree< T >::CBaseNode::Next</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06306.html#l00236">NL3D::CQuadTree< T >::CBaseNode::Prev</a>, <a class="el" href="a06306.html#l00239">NL3D::CQuadTree< T >::CBaseNode::QuadNexts</a>, <a class="el" href="a06306.html#l00238">NL3D::CQuadTree< T >::CBaseNode::QuadPrevs</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06306.html#l00322">NL3D::CQuadTree< T >::CQuadNode::clear()</a>, and <a class="el" href="a06306.html#l00723">NL3D::CQuadTree< T >::erase()</a>. +<p> +<div class="fragment"><pre>00251 { +00252 <span class="comment">// On le retire de la selection.</span> +00253 <span class="keywordflow">if</span>(<a class="code" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo1">Prev</a>) <a class="code" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo1">Prev</a>->Next= <a class="code" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo0">Next</a>; +00254 <span class="keywordflow">if</span>(<a class="code" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo0">Next</a>) <a class="code" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo0">Next</a>->Prev= <a class="code" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo1">Prev</a>; +00255 <a class="code" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo1">Prev</a>=<a class="code" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo0">Next</a>=NULL; +00256 <span class="comment">// On le retire des listes dans les quads.</span> +00257 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=0;i<4;i++) +00258 { +00259 <span class="keywordflow">if</span>(<a class="code" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo3">QuadPrevs</a>[i]) {<a class="code" href="a04199.html#a6">nlassert</a>(QuadPrevs[i]->QuadNexts[i]==<span class="keyword">this</span>); <a class="code" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo3">QuadPrevs</a>[i]->QuadNexts[i]= <a class="code" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo2">QuadNexts</a>[i];} +00260 <span class="keywordflow">if</span>(<a class="code" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo2">QuadNexts</a>[i]) {<a class="code" href="a04199.html#a6">nlassert</a>(QuadNexts[i]->QuadPrevs[i]==<span class="keyword">this</span>); <a class="code" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo2">QuadNexts</a>[i]->QuadPrevs[i]= <a class="code" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo3">QuadPrevs</a>[i];} +00261 <a class="code" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo3">QuadPrevs</a>[i]=NULL; +00262 <a class="code" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo2">QuadNexts</a>[i]=NULL; +00263 } +00264 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CQuadTree_1_1CNodea2" doxytag="NL3D::CQuadTree::CNode::isSelected" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a03289.html">NL3D::CQuadTree</a>< T >::CBaseNode::isSelected </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06306.html#l00265">265</a> of file <a class="el" href="a06306.html">quad_tree.h</a>. +<p> +Referenced by <a class="el" href="a06306.html#l00507">NL3D::CQuadTree< T >::CQuadNode::selectLocalNodes()</a>. +<p> +<div class="fragment"><pre>00266 { +00267 <span class="keywordflow">return</span> <a class="code" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo1">Prev</a>!=NULL; +00268 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CQuadTree_1_1CNodeo0" doxytag="NL3D::CQuadTree::CNode::Next" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03290.html">CBaseNode</a> * <a class="el" href="a03289.html">NL3D::CQuadTree</a>< T >::<a class="el" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo0">CBaseNode::Next</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06306.html#l00236">236</a> of file <a class="el" href="a06306.html">quad_tree.h</a>. +<p> +Referenced by <a class="el" href="a06306.html#l00884">NL3D::CQuadTree< T >::begin()</a>, <a class="el" href="a06306.html#l00679">NL3D::CQuadTree< T >::clear()</a>, <a class="el" href="a06306.html#l00250">NL3D::CQuadTree< T >::CBaseNode::clear()</a>, <a class="el" href="a06306.html#l00775">NL3D::CQuadTree< T >::clearSelection()</a>, <a class="el" href="a06306.html#l00658">NL3D::CQuadTree< T >::CQuadTree()</a>, <a class="el" href="a06306.html#l00630">NL3D::CQuadTree< T >::CIterator::operator++()</a>, <a class="el" href="a06306.html#l00601">NL3D::CQuadTree< T >::const_iterator::operator++()</a>, and <a class="el" href="a06306.html#l00507">NL3D::CQuadTree< T >::CQuadNode::selectLocalNodes()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CQuadTree_1_1CNodeo1" doxytag="NL3D::CQuadTree::CNode::Prev" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03290.html">CBaseNode</a>* <a class="el" href="a03289.html">NL3D::CQuadTree</a>< T >::<a class="el" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo1">CBaseNode::Prev</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06306.html#l00236">236</a> of file <a class="el" href="a06306.html">quad_tree.h</a>. +<p> +Referenced by <a class="el" href="a06306.html#l00250">NL3D::CQuadTree< T >::CBaseNode::clear()</a>, <a class="el" href="a06306.html#l00775">NL3D::CQuadTree< T >::clearSelection()</a>, <a class="el" href="a06306.html#l00634">NL3D::CQuadTree< T >::CIterator::operator--()</a>, <a class="el" href="a06306.html#l00605">NL3D::CQuadTree< T >::const_iterator::operator--()</a>, and <a class="el" href="a06306.html#l00507">NL3D::CQuadTree< T >::CQuadNode::selectLocalNodes()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CQuadTree_1_1CNodeo2" doxytag="NL3D::CQuadTree::CNode::QuadNexts" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03290.html">CBaseNode</a>* <a class="el" href="a03289.html">NL3D::CQuadTree</a>< T >::<a class="el" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo2">CBaseNode::QuadNexts</a>[4]<code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06306.html#l00239">239</a> of file <a class="el" href="a06306.html">quad_tree.h</a>. +<p> +Referenced by <a class="el" href="a06306.html#l00432">NL3D::CQuadTree< T >::CQuadNode::addElement()</a>, <a class="el" href="a06306.html#l00243">NL3D::CQuadTree< T >::CBaseNode::CBaseNode()</a>, <a class="el" href="a06306.html#l00322">NL3D::CQuadTree< T >::CQuadNode::clear()</a>, <a class="el" href="a06306.html#l00250">NL3D::CQuadTree< T >::CBaseNode::clear()</a>, and <a class="el" href="a06306.html#l00507">NL3D::CQuadTree< T >::CQuadNode::selectLocalNodes()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CQuadTree_1_1CNodeo3" doxytag="NL3D::CQuadTree::CNode::QuadPrevs" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03290.html">CBaseNode</a>* <a class="el" href="a03289.html">NL3D::CQuadTree</a>< T >::<a class="el" href="a03290.html#NL3D_1_1CQuadTree_1_1CNodeo3">CBaseNode::QuadPrevs</a>[4]<code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06306.html#l00238">238</a> of file <a class="el" href="a06306.html">quad_tree.h</a>. +<p> +Referenced by <a class="el" href="a06306.html#l00432">NL3D::CQuadTree< T >::CQuadNode::addElement()</a>, <a class="el" href="a06306.html#l00243">NL3D::CQuadTree< T >::CBaseNode::CBaseNode()</a>, and <a class="el" href="a06306.html#l00250">NL3D::CQuadTree< T >::CBaseNode::clear()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CQuadTree_1_1CNodeo4" doxytag="NL3D::CQuadTree::CNode::Value" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T <a class="el" href="a03289.html">NL3D::CQuadTree</a>< T >::<a class="el" href="a03293.html#NL3D_1_1CQuadTree_1_1CNodeo4">CNode::Value</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06306.html#l00282">282</a> of file <a class="el" href="a06306.html">quad_tree.h</a>. +<p> +Referenced by <a class="el" href="a06306.html#l00625">NL3D::CQuadTree< T >::CIterator::operator *()</a>, and <a class="el" href="a06306.html#l00596">NL3D::CQuadTree< T >::const_iterator::operator *()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="a06306.html">quad_tree.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:36:03 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> |