diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a03064.html | 379 |
1 files changed, 379 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03064.html b/docs/doxygen/nel/a03064.html new file mode 100644 index 00000000..8fe520b1 --- /dev/null +++ b/docs/doxygen/nel/a03064.html @@ -0,0 +1,379 @@ +<!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: TemplateNL3D::CTessList< T > 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::CTessList< T > Class Template Reference</h1><code>#include <<a class="el" href="a06496.html">tess_list.h</a>></code> +<p> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<h3>template<class T><br> + class NL3D::CTessList< T ></h3> + +A basic speed list gestion, to add/remove already created Object. Object must herit from <a class="el" href="a02718.html">CTessNodeList</a>. Also, provide a fast <a class="el" href="a03064.html#NL3D_1_1CTessLista5">size()</a>. <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2000 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06496.html#l00061">61</a> of file <a class="el" href="a06496.html">tess_list.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>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03064.html#NL3D_1_1CTessLista0">append</a> (T *node)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>T * </td><td class="memItemRight" valign=bottom><a class="el" href="a03064.html#NL3D_1_1CTessLista1">begin</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03064.html#NL3D_1_1CTessLista2">clear</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03064.html#NL3D_1_1CTessLista3">CTessList</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03064.html#NL3D_1_1CTessLista4">remove</a> (T *node)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03064.html#NL3D_1_1CTessLista5">size</a> () const </td></tr> + +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>T * </td><td class="memItemRight" valign=bottom><a class="el" href="a03064.html#NL3D_1_1CTessListr0">Root</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03064.html#NL3D_1_1CTessListr1">Size</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CTessLista3" doxytag="NL3D::CTessList::CTessList" ></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="a03064.html">NL3D::CTessList</a>< T >::<a class="el" href="a03064.html">CTessList</a> </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]</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="a06496.html#l00068">68</a> of file <a class="el" href="a06496.html">tess_list.h</a>. +<p> +<div class="fragment"><pre>00068 {<a class="code" href="a03064.html#NL3D_1_1CTessListr0">Root</a>= NULL; <a class="code" href="a03064.html#NL3D_1_1CTessListr1">Size</a>= 0;} +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CTessLista0" doxytag="NL3D::CTessList::append" ></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="a03064.html">NL3D::CTessList</a>< T >::append </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T * </td> + <td class="mdname1" valign="top" nowrap> <em>node</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="a06496.html#l00073">73</a> of file <a class="el" href="a06496.html">tess_list.h</a>. +<p> +Referenced by <a class="el" href="a05876.html#l00089">NL3D::CLandscapeVegetableBlock::init()</a>. +<p> +<div class="fragment"><pre>00074 { +00075 <a class="code" href="a03064.html#NL3D_1_1CTessListr1">Size</a>++; +00076 <a class="code" href="a04199.html#a6">nlassert</a>(node); +00077 <span class="comment">// inserted???</span> +00078 <a class="code" href="a04199.html#a6">nlassert</a>(node->Prec==NULL && Root!=node); +00079 <span class="comment">// update Next.</span> +00080 node->Next= <a class="code" href="a03064.html#NL3D_1_1CTessListr0">Root</a>; +00081 <span class="keywordflow">if</span>(<a class="code" href="a03064.html#NL3D_1_1CTessListr0">Root</a>) +00082 <a class="code" href="a03064.html#NL3D_1_1CTessListr0">Root</a>->Prec= node; +00083 <span class="comment">// update Prec.</span> +00084 node->Prec= NULL; +00085 <a class="code" href="a03064.html#NL3D_1_1CTessListr0">Root</a>= node; +00086 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessLista1" doxytag="NL3D::CTessList::begin" ></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="a03064.html">NL3D::CTessList</a>< T >::begin </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]</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="a06496.html#l00071">71</a> of file <a class="el" href="a06496.html">tess_list.h</a>. +<p> +Referenced by <a class="el" href="a06161.html#l01329">NL3D::CPatch::computeGeomorphAlphaFar1VertexListVB()</a>, <a class="el" href="a06161.html#l01311">NL3D::CPatch::computeGeomorphFar0VertexListVB()</a>, <a class="el" href="a06161.html#l01359">NL3D::CPatch::computeGeomorphTileVertexListVB()</a>, <a class="el" href="a06161.html#l01298">NL3D::CPatch::computeGeomorphVertexList()</a>, <a class="el" href="a06161.html#l00893">NL3D::CPatch::debugAllocationMarkIndicesFarList()</a>, <a class="el" href="a06161.html#l00904">NL3D::CPatch::debugAllocationMarkIndicesNearList()</a>, <a class="el" href="a06161.html#l01609">NL3D::CPatch::fillFar0DLMUvOnlyVertexListVB()</a>, <a class="el" href="a06161.html#l01161">NL3D::CPatch::fillFar0VertexListVB()</a>, <a class="el" href="a06161.html#l01664">NL3D::CPatch::fillFar1DLMUvOnlyVertexListVB()</a>, <a class="el" href="a06161.html#l01173">NL3D::CPatch::fillFar1VertexListVB()</a>, <a class="el" href="a06161.html#l01185">NL3D::CPatch::fillTileVertexListVB()</a>, <a class="el" href="a06491.html#l00267">NL3D::CTessBlock::refillFaceVectorTile()</a>, <a class="el" href="a06161.html#l00744">NL3D::CPatch::updateFar0VBAlloc()</a>, <a class="el" href="a06161.html#l00759">NL3D::CPatch::updateFar1VBAlloc()</a>, and <a class="el" href="a06161.html#l00774">NL3D::CPatch::updateTileVBAlloc()</a>. +<p> +<div class="fragment"><pre>00071 {<span class="keywordflow">return</span> <a class="code" href="a03064.html#NL3D_1_1CTessListr0">Root</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessLista2" doxytag="NL3D::CTessList::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="a03064.html">NL3D::CTessList</a>< T >::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]</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="a06496.html#l00112">112</a> of file <a class="el" href="a06496.html">tess_list.h</a>. +<p> +<div class="fragment"><pre>00113 { +00114 <a class="code" href="a03064.html#NL3D_1_1CTessListr0">Root</a>= NULL; +00115 <a class="code" href="a03064.html#NL3D_1_1CTessListr1">Size</a>= 0; +00116 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessLista4" doxytag="NL3D::CTessList::remove" ></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="a03064.html">NL3D::CTessList</a>< T >::remove </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T * </td> + <td class="mdname1" valign="top" nowrap> <em>node</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="a06496.html#l00087">87</a> of file <a class="el" href="a06496.html">tess_list.h</a>. +<p> +Referenced by <a class="el" href="a05876.html#l00124">NL3D::CLandscapeVegetableBlock::release()</a>. +<p> +<div class="fragment"><pre>00088 { +00089 <a class="code" href="a03064.html#NL3D_1_1CTessListr1">Size</a>--; +00090 <a class="code" href="a04199.html#a6">nlassert</a>(node); +00091 <span class="comment">// inserted???</span> +00092 <a class="code" href="a04199.html#a6">nlassert</a>(node->Prec!=NULL || Root==node); +00093 <a class="code" href="a04199.html#a6">nlassert</a>(Size>=0); +00094 <span class="comment">// update Prec.</span> +00095 <span class="keywordflow">if</span>(!node->Prec) +00096 { +00097 <a class="code" href="a04199.html#a6">nlassert</a>(Root==node); +00098 <a class="code" href="a03064.html#NL3D_1_1CTessListr0">Root</a>= (T*)node->Next; +00099 } +00100 <span class="keywordflow">else</span> +00101 { +00102 node->Prec->Next= node->Next; +00103 } +00104 <span class="comment">// update Next.</span> +00105 <span class="keywordflow">if</span>(node->Next) +00106 node->Next->Prec= node->Prec; +00107 node->Next= NULL; +00108 node->Prec= NULL; +00109 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessLista5" doxytag="NL3D::CTessList::size" ></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="a04558.html#a14">sint</a> <a class="el" href="a03064.html">NL3D::CTessList</a>< T >::<a class="el" href="a04223.html#a587">size</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<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="a06496.html#l00070">70</a> of file <a class="el" href="a06496.html">tess_list.h</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00302">NL3D::CTessBlock::createFaceVectorTile()</a>, and <a class="el" href="a06491.html#l00267">NL3D::CTessBlock::refillFaceVectorTile()</a>. +<p> +<div class="fragment"><pre>00070 {<span class="keywordflow">return</span> <a class="code" href="a03064.html#NL3D_1_1CTessListr1">Size</a>;} +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CTessListr0" doxytag="NL3D::CTessList::Root" ></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="a03064.html">NL3D::CTessList</a>< T >::<a class="el" href="a03064.html#NL3D_1_1CTessListr0">Root</a><code> [private]</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="a06496.html#l00064">64</a> of file <a class="el" href="a06496.html">tess_list.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessListr1" doxytag="NL3D::CTessList::Size" ></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="a04558.html#a14">sint</a> <a class="el" href="a03064.html">NL3D::CTessList</a>< T >::<a class="el" href="a03064.html#NL3D_1_1CTessListr1">Size</a><code> [private]</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="a06496.html#l00065">65</a> of file <a class="el" href="a06496.html">tess_list.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="a06496.html">tess_list.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:49:01 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> |