aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02717.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/a02717.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a02717.html')
-rw-r--r--docs/doxygen/nel/a02717.html788
1 files changed, 788 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02717.html b/docs/doxygen/nel/a02717.html
new file mode 100644
index 00000000..8557d2b1
--- /dev/null
+++ b/docs/doxygen/nel/a02717.html
@@ -0,0 +1,788 @@
+<!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::CLandscapeVegetableBlock 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::CLandscapeVegetableBlock Class Reference</h1><code>#include &lt;<a class="el" href="a05877.html">landscape_vegetable_block.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CLandscapeVegetableBlock:
+<p><center><img src="a02717.png" usemap="#NL3D::CLandscapeVegetableBlock_map" border="0" alt=""></center>
+<map name="NL3D::CLandscapeVegetableBlock_map">
+<area href="a02718.html" alt="NL3D::CTessNodeList" shape="rect" coords="0,0,209,24">
+</map>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A block of vegetable IG (one IG per distance type). NB: there is one <a class="el" href="a02717.html">CLandscapeVegetableBlock</a> per landscape TessBlock. <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="a05877.html#l00063">63</a> of file <a class="el" href="a05877.html">landscape_vegetable_block.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>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02717.html#NL3D_1_1CLandscapeVegetableBlocka0">CLandscapeVegetableBlock</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CLandscapeVegetableBlocka0"></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="a02717.html#NL3D_1_1CLandscapeVegetableBlocka1">init</a> (const <a class="el" href="a03128.html">CVector</a> &amp;center, <a class="el" href="a03680.html">CVegetableManager</a> *vegetManager, <a class="el" href="a03673.html">CVegetableClipBlock</a> *vegetableClipBlock, <a class="el" href="a03057.html">CPatch</a> *patch, <a class="el" href="a04558.html#a15">uint</a> ts, <a class="el" href="a04558.html#a15">uint</a> tt, <a class="el" href="a03064.html">CTessList</a>&lt; <a class="el" href="a02717.html">CLandscapeVegetableBlock</a> &gt; &amp;<a class="el" href="a03889.html">list</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">build the vegetable block, create sortBlocks, and append to list. <a href="#NL3D_1_1CLandscapeVegetableBlocka1"></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="a02717.html#NL3D_1_1CLandscapeVegetableBlocka2">release</a> (<a class="el" href="a03680.html">CVegetableManager</a> *vegeManager, <a class="el" href="a03064.html">CTessList</a>&lt; <a class="el" href="a02717.html">CLandscapeVegetableBlock</a> &gt; &amp;<a class="el" href="a03889.html">list</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">release all IGs, reset the Vegetable block and remove from list. call before destruction. <a href="#NL3D_1_1CLandscapeVegetableBlocka2"></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="a02717.html#NL3D_1_1CLandscapeVegetableBlocka3">update</a> (const <a class="el" href="a03128.html">CVector</a> &amp;viewCenter, <a class="el" href="a03680.html">CVegetableManager</a> *vegeManager)</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="a02718.html">CTessNodeList</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02718.html#NL3D_1_1CVegetableSortBlocko0">Next</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02718.html">CTessNodeList</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02718.html#NL3D_1_1CVegetableSortBlocko1">Prec</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="a02717.html#NL3D_1_1CLandscapeVegetableBlockd0">createVegetableIGForDistType</a> (<a class="el" href="a04558.html#a15">uint</a> i, <a class="el" href="a03680.html">CVegetableManager</a> *vegeManager, <a class="el" href="a02719.html">CLandscapeVegetableBlockCreateContext</a> &amp;vbCreateCtx)</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="a03128.html">CVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr0">_Center</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The center of this object, to compute distance. <a href="#NL3D_1_1CLandscapeVegetableBlockr0"></a><br><br></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="a02717.html#NL3D_1_1CLandscapeVegetableBlockr1">_CurDistType</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The current distance type. 0 means all IG are created. NL3D_VEGETABLE_BLOCK_NUMDIST means none. <a href="#NL3D_1_1CLandscapeVegetableBlockr1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03057.html">CPatch</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr2">_Patch</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Which patch owns this block. <a href="#NL3D_1_1CLandscapeVegetableBlockr2"></a><br><br></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="a02717.html#NL3D_1_1CLandscapeVegetableBlockr3">_Ts</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Coordinate of the lower-left tile. 2x2 tile vegetables are generated. <a href="#NL3D_1_1CLandscapeVegetableBlockr3"></a><br><br></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="a02717.html#NL3D_1_1CLandscapeVegetableBlockr4">_Tt</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Coordinate of the lower-left tile. 2x2 tile vegetables are generated. <a href="#NL3D_1_1CLandscapeVegetableBlockr4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03673.html">CVegetableClipBlock</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr5">_VegetableClipBlock</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">To which VegetableClipBlock we must add vegetables IGs. <a href="#NL3D_1_1CLandscapeVegetableBlockr5"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03674.html">CVegetableInstanceGroup</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr6">_VegetableIG</a> [NL3D_TESSBLOCK_TILESIZE][NL3D_VEGETABLE_BLOCK_NUMDIST]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03684.html">CVegetableSortBlock</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr7">_VegetableSortBlock</a> [NL3D_TESSBLOCK_TILESIZE]</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The sortBlocks generated by this vegetable block, one for each tilematerial. <a href="#NL3D_1_1CLandscapeVegetableBlockr7"></a><br><br></td></tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CLandscapeVegetableBlocka0" doxytag="NL3D::CLandscapeVegetableBlock::CLandscapeVegetableBlock" ></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::CLandscapeVegetableBlock::CLandscapeVegetableBlock </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="a05876.html#l00071">71</a> of file <a class="el" href="a05876.html">landscape_vegetable_block.cpp</a>.
+<p>
+References <a class="el" href="a05877.html#l00098">_CurDistType</a>, <a class="el" href="a05877.html#l00092">_VegetableClipBlock</a>, <a class="el" href="a05877.html#l00107">_VegetableIG</a>, <a class="el" href="a05877.html#l00102">_VegetableSortBlock</a>, <a class="el" href="a06492.html#l00045">NL3D_TESSBLOCK_TILESIZE</a>, <a class="el" href="a06693.html#l00050">NL3D_VEGETABLE_BLOCK_NUMDIST</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00072 {
+00073 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr5">_VegetableClipBlock</a>= NULL;
+00074 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr1">_CurDistType</a>= <a class="code" href="a05270.html#a7">NL3D_VEGETABLE_BLOCK_NUMDIST</a>;
+00075
+00076 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> j=0;j&lt;<a class="code" href="a05069.html#a1">NL3D_TESSBLOCK_TILESIZE</a>;j++)
+00077 {
+00078 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr7">_VegetableSortBlock</a>[j]= NULL;
+00079 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=0;i&lt;<a class="code" href="a05270.html#a7">NL3D_VEGETABLE_BLOCK_NUMDIST</a>;i++)
+00080 {
+00081 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr6">_VegetableIG</a>[j][i]= NULL;
+00082 }
+00083 }
+00084 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CLandscapeVegetableBlockd0" doxytag="NL3D::CLandscapeVegetableBlock::createVegetableIGForDistType" ></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::CLandscapeVegetableBlock::createVegetableIGForDistType </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="mdname" nowrap> <em>i</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03680.html">CVegetableManager</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>vegeManager</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02719.html">CLandscapeVegetableBlockCreateContext</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>vbCreateCtx</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05876.html#l00227">227</a> of file <a class="el" href="a05876.html">landscape_vegetable_block.cpp</a>.
+<p>
+References <a class="el" href="a05877.html#l00094">_Patch</a>, <a class="el" href="a05877.html#l00096">_Ts</a>, <a class="el" href="a05877.html#l00096">_Tt</a>, <a class="el" href="a05877.html#l00107">_VegetableIG</a>, <a class="el" href="a05877.html#l00102">_VegetableSortBlock</a>, <a class="el" href="a06698.html#l00672">NL3D::CVegetableManager::createIg()</a>, <a class="el" href="a06698.html#l00706">NL3D::CVegetableManager::deleteIg()</a>, <a class="el" href="a06162.html#l00050">NL3D::CPatch::generateTileVegetable()</a>, <a class="el" href="a06492.html#l00045">NL3D_TESSBLOCK_TILESIZE</a>, <a class="el" href="a05622.html#l00290">nlassert</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="a05876.html#l00155">update()</a>.
+<p>
+<div class="fragment"><pre>00229 {
+00230 <span class="comment">// check</span>
+00231 <a class="code" href="a04199.html#a6">nlassert</a>(NL3D_TESSBLOCK_TILESIZE==4);
+00232 <a class="code" href="a04199.html#a6">nlassert</a>(_VegetableIG[0][i]==NULL);
+00233 <a class="code" href="a04199.html#a6">nlassert</a>(_VegetableIG[1][i]==NULL);
+00234 <a class="code" href="a04199.html#a6">nlassert</a>(_VegetableIG[2][i]==NULL);
+00235 <a class="code" href="a04199.html#a6">nlassert</a>(_VegetableIG[3][i]==NULL);
+00236
+00237 <span class="comment">// Create vegetables instances per tile_material.</span>
+00238 <a class="code" href="a04558.html#a14">sint</a> tms,tmt;
+00239 <span class="comment">// for all tiles</span>
+00240 <a class="code" href="a04199.html#a6">nlassert</a>(NL3D_TESSBLOCK_TILESIZE==4);
+00241 <span class="keywordflow">for</span>(tmt= <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr4">_Tt</a>; tmt&lt;_Tt+2; tmt++)
+00242 {
+00243 <span class="keywordflow">for</span>(tms= <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr3">_Ts</a>; tms&lt;_Ts+2; tms++)
+00244 {
+00245 <a class="code" href="a04558.html#a15">uint</a> tileId= tms-_Ts + (tmt-_Tt)*2;
+00246
+00247 <span class="comment">// create the instance group in the good sortBlock</span>
+00248 CVegetableInstanceGroup *vegetIg= vegeManager-&gt;createIg(_VegetableSortBlock[tileId]);
+00249 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr6">_VegetableIG</a>[tileId][i]= vegetIg;
+00250
+00251 <span class="comment">// generate </span>
+00252 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr2">_Patch</a>-&gt;generateTileVegetable(vegetIg, i, tms, tmt, vbCreateCtx);
+00253
+00254 <span class="comment">// If the ig is empty, delete him. This optimize rendering because no unusefull ig are </span>
+00255 <span class="comment">// tested for rendering. This speed up some 1/10 of ms...</span>
+00256 <span class="keywordflow">if</span>(vegetIg-&gt;isEmpty())
+00257 {
+00258 vegeManager-&gt;deleteIg(vegetIg);
+00259 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr6">_VegetableIG</a>[tileId][i]= NULL;
+00260 }
+00261
+00262 <span class="comment">// NB: vegtable SortBlock is updated in CLandscapeVegetableBlock::update() after</span>
+00263 }
+00264 }
+00265
+00266 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CLandscapeVegetableBlocka1" doxytag="NL3D::CLandscapeVegetableBlock::init" ></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::CLandscapeVegetableBlock::init </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>center</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03680.html">CVegetableManager</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>vegetManager</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03673.html">CVegetableClipBlock</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>vegetableClipBlock</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03057.html">CPatch</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>patch</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>ts</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>tt</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03064.html">CTessList</a>&lt; <a class="el" href="a02717.html">CLandscapeVegetableBlock</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>list</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>
+build the vegetable block, create sortBlocks, and append to list.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05876.html#l00089">89</a> of file <a class="el" href="a05876.html">landscape_vegetable_block.cpp</a>.
+<p>
+References <a class="el" href="a05877.html#l00094">_Patch</a>, <a class="el" href="a05877.html#l00096">_Ts</a>, <a class="el" href="a05877.html#l00096">_Tt</a>, <a class="el" href="a05877.html#l00092">_VegetableClipBlock</a>, <a class="el" href="a05877.html#l00102">_VegetableSortBlock</a>, <a class="el" href="a06496.html#l00073">NL3D::CTessList&lt; T &gt;::append()</a>, <a class="el" href="a06698.html#l00637">NL3D::CVegetableManager::createSortBlock()</a>, <a class="el" href="a05478.html#l00105">NL3D::CBezierPatch::eval()</a>, <a class="el" href="a06156.html#l00392">NL3D::CPatch::getOrderS()</a>, <a class="el" href="a06156.html#l00393">NL3D::CPatch::getOrderT()</a>, <a class="el" href="a05867.html#l00074">NL3D_PATCH_TILE_RADIUS</a>, <a class="el" href="a06492.html#l00045">NL3D_TESSBLOCK_TILESIZE</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05646.html#l00977">s</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05646.html#l00985">t</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a06155.html#l00182">NL3D::CPatch::unpackIntoCache()</a>.
+<p>
+Referenced by <a class="el" href="a06162.html#l00294">NL3D::CPatch::createVegetableBlock()</a>.
+<p>
+<div class="fragment"><pre>00091 {
+00092 <a class="code" href="a04199.html#a6">nlassert</a>(patch);
+00093 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr0">_Center</a>= center;
+00094 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr5">_VegetableClipBlock</a>= vegetableClipBlock;
+00095 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr2">_Patch</a>= patch;
+00096 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr3">_Ts</a>= ts;
+00097 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr4">_Tt</a>= tt;
+00098
+00099 <span class="comment">// Create the Vegetable SortBlocks</span>
+00100 <a class="code" href="a04558.html#a14">sint</a> tms,tmt;
+00101 <span class="comment">// for all tiles</span>
+00102 <a class="code" href="a04199.html#a6">nlassert</a>(NL3D_TESSBLOCK_TILESIZE==4);
+00103 <span class="keywordflow">for</span>(tmt= <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr4">_Tt</a>; tmt&lt;_Tt+2; tmt++)
+00104 {
+00105 <span class="keywordflow">for</span>(tms= <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr3">_Ts</a>; tms&lt;_Ts+2; tms++)
+00106 {
+00107 <span class="comment">// compute approximate center of the tile.</span>
+00108 <span class="keywordtype">float</span> <a class="code" href="a04223.html#a626">s</a>= (tms + 0.5f) / <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr2">_Patch</a>-&gt;getOrderS();
+00109 <span class="keywordtype">float</span> <a class="code" href="a04223.html#a627">t</a>= (tmt + 0.5f) / <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr2">_Patch</a>-&gt;getOrderT();
+00110 CBezierPatch *bpatch= <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr2">_Patch</a>-&gt;unpackIntoCache();
+00111 CVector center= bpatch-&gt;eval(s, t);
+00112
+00113 <span class="comment">// create the sortBlock. NB: very approximate SortBlock radius....</span>
+00114 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr7">_VegetableSortBlock</a>[(tmt-_Tt)*2 + (tms-_Ts)]= vegetManager-&gt;createSortBlock(_VegetableClipBlock, center, NL3D_PATCH_TILE_RADIUS);
+00115 }
+00116 }
+00117
+00118 <span class="comment">// append to list.</span>
+00119 vblist.append(<span class="keyword">this</span>);
+00120 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CLandscapeVegetableBlocka2" doxytag="NL3D::CLandscapeVegetableBlock::release" ></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::CLandscapeVegetableBlock::release </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03680.html">CVegetableManager</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>vegeManager</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03064.html">CTessList</a>&lt; <a class="el" href="a02717.html">CLandscapeVegetableBlock</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>list</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>
+release all IGs, reset the Vegetable block and remove from list. call before destruction.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05876.html#l00124">124</a> of file <a class="el" href="a05876.html">landscape_vegetable_block.cpp</a>.
+<p>
+References <a class="el" href="a05877.html#l00098">_CurDistType</a>, <a class="el" href="a05877.html#l00107">_VegetableIG</a>, <a class="el" href="a05877.html#l00102">_VegetableSortBlock</a>, <a class="el" href="a06698.html#l00706">NL3D::CVegetableManager::deleteIg()</a>, <a class="el" href="a06698.html#l00655">NL3D::CVegetableManager::deleteSortBlock()</a>, <a class="el" href="a06492.html#l00045">NL3D_TESSBLOCK_TILESIZE</a>, <a class="el" href="a06693.html#l00050">NL3D_VEGETABLE_BLOCK_NUMDIST</a>, <a class="el" href="a06496.html#l00087">NL3D::CTessList&lt; T &gt;::remove()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00125 {
+00126 <span class="comment">// release all Igs, and all Sbs.</span>
+00127 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> j=0;j&lt;<a class="code" href="a05069.html#a1">NL3D_TESSBLOCK_TILESIZE</a>;j++)
+00128 {
+00129 <span class="comment">// release IGs first.</span>
+00130 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=0;i&lt;<a class="code" href="a05270.html#a7">NL3D_VEGETABLE_BLOCK_NUMDIST</a>;i++)
+00131 {
+00132 <span class="keywordflow">if</span>(<a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr6">_VegetableIG</a>[j][i])
+00133 {
+00134 vegeManager-&gt;deleteIg(_VegetableIG[j][i]);
+00135 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr6">_VegetableIG</a>[j][i]= NULL;
+00136 }
+00137 }
+00138
+00139 <span class="comment">// release SB</span>
+00140 <span class="keywordflow">if</span>(<a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr7">_VegetableSortBlock</a>[j])
+00141 {
+00142 vegeManager-&gt;deleteSortBlock(_VegetableSortBlock[j]);
+00143 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr7">_VegetableSortBlock</a>[j]= NULL;
+00144 }
+00145 }
+00146
+00147 <span class="comment">// reset state.</span>
+00148 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr1">_CurDistType</a>= <a class="code" href="a05270.html#a7">NL3D_VEGETABLE_BLOCK_NUMDIST</a>;
+00149
+00150 <span class="comment">// remove from list.</span>
+00151 vblist.remove(<span class="keyword">this</span>);
+00152 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CLandscapeVegetableBlocka3" doxytag="NL3D::CLandscapeVegetableBlock::update" ></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::CLandscapeVegetableBlock::update </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>viewCenter</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03680.html">CVegetableManager</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>vegeManager</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>
+update state of the vegetableBlock. If distance type change, then create / delete any wanted Ig. Warning! IG creation Use OptFastFloor()! So call must be enclosed with a OptFastFloorBegin()/OptFastFloorEnd().
+<p>
+Definition at line <a class="el" href="a05876.html#l00155">155</a> of file <a class="el" href="a05876.html">landscape_vegetable_block.cpp</a>.
+<p>
+References <a class="el" href="a05877.html#l00098">_CurDistType</a>, <a class="el" href="a05877.html#l00094">_Patch</a>, <a class="el" href="a05877.html#l00096">_Ts</a>, <a class="el" href="a05877.html#l00096">_Tt</a>, <a class="el" href="a05877.html#l00107">_VegetableIG</a>, <a class="el" href="a05877.html#l00102">_VegetableSortBlock</a>, <a class="el" href="a05876.html#l00227">createVegetableIGForDistType()</a>, <a class="el" href="a06698.html#l00706">NL3D::CVegetableManager::deleteIg()</a>, <a class="el" href="a05876.html#l00284">NL3D::CLandscapeVegetableBlockCreateContext::init()</a>, <a class="el" href="a06492.html#l00045">NL3D_TESSBLOCK_TILESIZE</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a06704.html#l00074">NL3D::CVegetableSortBlock::updateSortBlock()</a>.
+<p>
+Referenced by <a class="el" href="a05862.html#l00605">NL3D::CLandscape::refine()</a>.
+<p>
+<div class="fragment"><pre>00156 {
+00157 <span class="keywordtype">float</span> sqrDist= (viewCenter-<a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr0">_Center</a>).sqrnorm();
+00158
+00159 <span class="comment">// compute new distance type. Incremental mode.</span>
+00160 <a class="code" href="a04558.html#a15">uint</a> newDistType= <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr1">_CurDistType</a>;
+00161 <span class="keywordflow">while</span>(sqrDist&lt;CLVBSqrDistLUT::Array[newDistType])
+00162 {
+00163 newDistType--;
+00164 }
+00165 <span class="keywordflow">while</span>(newDistType&lt;NL3D_VEGETABLE_BLOCK_NUMDIST &amp;&amp; sqrDist&gt;CLVBSqrDistLUT::Array[newDistType+1])
+00166 {
+00167 newDistType++;
+00168 }
+00169 <span class="comment">/*</span>
+00170 <span class="comment"> NB: to test but may be better than </span>
+00171 <span class="comment"> newDistType= floor()(delta.norm() / NL3D_VEGETABLE_BLOCK_ELTDIST);</span>
+00172 <span class="comment"> */</span>
+00173
+00174
+00175 <span class="comment">// Change of distance type??</span>
+00176 <span class="keywordflow">if</span>(newDistType!=_CurDistType)
+00177 {
+00178 <span class="comment">// Erase or create IGs.</span>
+00179 <span class="keywordflow">if</span>(newDistType&gt;_CurDistType)
+00180 {
+00181 <span class="comment">// For all tiles</span>
+00182 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> j=0;j&lt;<a class="code" href="a05069.html#a1">NL3D_TESSBLOCK_TILESIZE</a>;j++)
+00183 {
+00184 <span class="comment">// Erase no more needed Igs.</span>
+00185 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=_CurDistType; i&lt;newDistType; i++)
+00186 {
+00187 <span class="keywordflow">if</span>(<a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr6">_VegetableIG</a>[j][i])
+00188 {
+00189 vegeManager-&gt;deleteIg(_VegetableIG[j][i]);
+00190 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr6">_VegetableIG</a>[j][i]= NULL;
+00191 }
+00192 }
+00193
+00194 <span class="comment">// update the sort block for this tile</span>
+00195 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr7">_VegetableSortBlock</a>[j]-&gt;updateSortBlock(*vegeManager);
+00196 }
+00197 }
+00198 <span class="keywordflow">else</span>
+00199 {
+00200 <span class="comment">// Create a context for creation.</span>
+00201 CLandscapeVegetableBlockCreateContext ctx;
+00202 ctx.init(_Patch, _Ts, _Tt);
+00203
+00204 <span class="comment">// create new Igs, for all tiles</span>
+00205 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=newDistType; i&lt;_CurDistType; i++)
+00206 {
+00207 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockd0">createVegetableIGForDistType</a>(i, vegeManager, ctx);
+00208 }
+00209
+00210 <span class="comment">// For all tiles</span>
+00211 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> j=0;j&lt;<a class="code" href="a05069.html#a1">NL3D_TESSBLOCK_TILESIZE</a>;j++)
+00212 {
+00213 <span class="comment">// update the sort block for this tile</span>
+00214 <a class="code" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr7">_VegetableSortBlock</a>[j]-&gt;updateSortBlock(*vegeManager);
+00215 }
+00216 }
+00217
+00218 <span class="comment">// copy new dist type.</span>
+00219 _CurDistType= newDistType;
+00220 }
+00221
+00222
+00223 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CLandscapeVegetableBlockr0" doxytag="NL3D::CLandscapeVegetableBlock::_Center" ></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="a03128.html">CVector</a> <a class="el" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr0">NL3D::CLandscapeVegetableBlock::_Center</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The center of this object, to compute distance.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05877.html#l00090">90</a> of file <a class="el" href="a05877.html">landscape_vegetable_block.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CLandscapeVegetableBlockr1" doxytag="NL3D::CLandscapeVegetableBlock::_CurDistType" ></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="a02717.html#NL3D_1_1CLandscapeVegetableBlockr1">NL3D::CLandscapeVegetableBlock::_CurDistType</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The current distance type. 0 means all IG are created. NL3D_VEGETABLE_BLOCK_NUMDIST means none.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05877.html#l00098">98</a> of file <a class="el" href="a05877.html">landscape_vegetable_block.h</a>.
+<p>
+Referenced by <a class="el" href="a05876.html#l00071">CLandscapeVegetableBlock()</a>, <a class="el" href="a05876.html#l00124">release()</a>, and <a class="el" href="a05876.html#l00155">update()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CLandscapeVegetableBlockr2" doxytag="NL3D::CLandscapeVegetableBlock::_Patch" ></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="a03057.html">CPatch</a>* <a class="el" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr2">NL3D::CLandscapeVegetableBlock::_Patch</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Which patch owns this block.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05877.html#l00094">94</a> of file <a class="el" href="a05877.html">landscape_vegetable_block.h</a>.
+<p>
+Referenced by <a class="el" href="a05876.html#l00227">createVegetableIGForDistType()</a>, <a class="el" href="a05876.html#l00089">init()</a>, and <a class="el" href="a05876.html#l00155">update()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CLandscapeVegetableBlockr3" doxytag="NL3D::CLandscapeVegetableBlock::_Ts" ></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="a02717.html#NL3D_1_1CLandscapeVegetableBlockr3">NL3D::CLandscapeVegetableBlock::_Ts</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Coordinate of the lower-left tile. 2x2 tile vegetables are generated.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05877.html#l00096">96</a> of file <a class="el" href="a05877.html">landscape_vegetable_block.h</a>.
+<p>
+Referenced by <a class="el" href="a05876.html#l00227">createVegetableIGForDistType()</a>, <a class="el" href="a05876.html#l00089">init()</a>, and <a class="el" href="a05876.html#l00155">update()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CLandscapeVegetableBlockr4" doxytag="NL3D::CLandscapeVegetableBlock::_Tt" ></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="a02717.html#NL3D_1_1CLandscapeVegetableBlockr4">NL3D::CLandscapeVegetableBlock::_Tt</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Coordinate of the lower-left tile. 2x2 tile vegetables are generated.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05877.html#l00096">96</a> of file <a class="el" href="a05877.html">landscape_vegetable_block.h</a>.
+<p>
+Referenced by <a class="el" href="a05876.html#l00227">createVegetableIGForDistType()</a>, <a class="el" href="a05876.html#l00089">init()</a>, and <a class="el" href="a05876.html#l00155">update()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CLandscapeVegetableBlockr5" doxytag="NL3D::CLandscapeVegetableBlock::_VegetableClipBlock" ></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="a03673.html">CVegetableClipBlock</a>* <a class="el" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr5">NL3D::CLandscapeVegetableBlock::_VegetableClipBlock</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+To which VegetableClipBlock we must add vegetables IGs.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05877.html#l00092">92</a> of file <a class="el" href="a05877.html">landscape_vegetable_block.h</a>.
+<p>
+Referenced by <a class="el" href="a05876.html#l00071">CLandscapeVegetableBlock()</a>, and <a class="el" href="a05876.html#l00089">init()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CLandscapeVegetableBlockr6" doxytag="NL3D::CLandscapeVegetableBlock::_VegetableIG" ></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="a03674.html">CVegetableInstanceGroup</a>* <a class="el" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr6">NL3D::CLandscapeVegetableBlock::_VegetableIG</a>[NL3D_TESSBLOCK_TILESIZE][NL3D_VEGETABLE_BLOCK_NUMDIST]<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The instance groups generated by this vegetable block, one for each distance type. and one per each tilematerial
+<p>
+Definition at line <a class="el" href="a05877.html#l00107">107</a> of file <a class="el" href="a05877.html">landscape_vegetable_block.h</a>.
+<p>
+Referenced by <a class="el" href="a05876.html#l00071">CLandscapeVegetableBlock()</a>, <a class="el" href="a05876.html#l00227">createVegetableIGForDistType()</a>, <a class="el" href="a05876.html#l00124">release()</a>, and <a class="el" href="a05876.html#l00155">update()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CLandscapeVegetableBlockr7" doxytag="NL3D::CLandscapeVegetableBlock::_VegetableSortBlock" ></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="a03684.html">CVegetableSortBlock</a>* <a class="el" href="a02717.html#NL3D_1_1CLandscapeVegetableBlockr7">NL3D::CLandscapeVegetableBlock::_VegetableSortBlock</a>[NL3D_TESSBLOCK_TILESIZE]<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The sortBlocks generated by this vegetable block, one for each tilematerial.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05877.html#l00102">102</a> of file <a class="el" href="a05877.html">landscape_vegetable_block.h</a>.
+<p>
+Referenced by <a class="el" href="a05876.html#l00071">CLandscapeVegetableBlock()</a>, <a class="el" href="a05876.html#l00227">createVegetableIGForDistType()</a>, <a class="el" href="a05876.html#l00089">init()</a>, <a class="el" href="a05876.html#l00124">release()</a>, and <a class="el" href="a05876.html#l00155">update()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVegetableSortBlocko0" doxytag="NL3D::CLandscapeVegetableBlock::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" nowrap valign="top"> <a class="el" href="a02718.html">CTessNodeList</a>* <a class="el" href="a02718.html#NL3D_1_1CVegetableSortBlocko0">NL3D::CTessNodeList::Next</a><code> [inherited]</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="a06496.html#l00044">44</a> of file <a class="el" href="a06496.html">tess_list.h</a>.
+<p>
+Referenced by <a class="el" href="a06698.html#l01036">NL3D::CVegetableManager::addInstance()</a>, <a class="el" href="a05862.html#l03489">NL3D::CLandscape::computeDynamicLighting()</a>, <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="a05862.html#l03583">NL3D::CLandscape::getDynamicLightingMemoryLoad()</a>, <a class="el" href="a06491.html#l00177">NL3D::CTessBlock::refillFaceVectorFar0()</a>, <a class="el" href="a06491.html#l00223">NL3D::CTessBlock::refillFaceVectorFar1()</a>, <a class="el" href="a06491.html#l00267">NL3D::CTessBlock::refillFaceVectorTile()</a>, <a class="el" href="a05862.html#l00605">NL3D::CLandscape::refine()</a>, <a class="el" href="a06698.html#l01713">NL3D::CVegetableManager::render()</a>, <a class="el" href="a05862.html#l00939">NL3D::CLandscape::render()</a>, <a class="el" href="a06161.html#l00744">NL3D::CPatch::updateFar0VBAlloc()</a>, <a class="el" href="a06161.html#l00759">NL3D::CPatch::updateFar1VBAlloc()</a>, <a class="el" href="a06704.html#l00074">NL3D::CVegetableSortBlock::updateSortBlock()</a>, and <a class="el" href="a06161.html#l00774">NL3D::CPatch::updateTileVBAlloc()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVegetableSortBlocko1" doxytag="NL3D::CLandscapeVegetableBlock::Prec" ></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="a02718.html">CTessNodeList</a>* <a class="el" href="a02718.html#NL3D_1_1CVegetableSortBlocko1">NL3D::CTessNodeList::Prec</a><code> [inherited]</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="a06496.html#l00043">43</a> of file <a class="el" href="a06496.html">tess_list.h</a>.
+<p>
+Referenced by <a class="el" href="a06496.html#l00046">NL3D::CTessNodeList::CTessNodeList()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a05877.html">landscape_vegetable_block.h</a><li><a class="el" href="a05876.html">landscape_vegetable_block.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:49:17 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>