diff options
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1CLandscapeVegetableBlock.html')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CLandscapeVegetableBlock.html | 600 |
1 files changed, 600 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CLandscapeVegetableBlock.html b/docs/doxygen/nel/classNL3D_1_1CLandscapeVegetableBlock.html new file mode 100644 index 00000000..300f1714 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CLandscapeVegetableBlock.html @@ -0,0 +1,600 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.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">Compound List</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">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NL3D::CLandscapeVegetableBlock Class Reference</h1>A block of vegetable IG (one IG per distance type). +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="landscape__vegetable__block_8h-source.html">landscape_vegetable_block.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CLandscapeVegetableBlock: +<p><center><img src="classNL3D_1_1CLandscapeVegetableBlock.gif" usemap="#NL3D::CLandscapeVegetableBlock_map" border="0"></center> +<map name="NL3D::CLandscapeVegetableBlock_map"> +<area href="classNL3D_1_1CTessNodeList.html" alt="NL3D::CTessNodeList" shape="rect" coords="0,0,209,24"> +</map> +<a href="classNL3D_1_1CLandscapeVegetableBlock-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeVegetableBlock.html#a0">CLandscapeVegetableBlock</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeVegetableBlock.html#a1">init</a> (const CVector &center, <a class="el" href="classNL3D_1_1CVegetableManager.html">CVegetableManager</a> *vegetManager, <a class="el" href="classNL3D_1_1CVegetableClipBlock.html">CVegetableClipBlock</a> *vegetableClipBlock, <a class="el" href="classNL3D_1_1CPatch.html">CPatch</a> *patch, <a class="el" href="memory__common_8h.html#a15">uint</a> ts, <a class="el" href="memory__common_8h.html#a15">uint</a> tt, <a class="el" href="classNL3D_1_1CTessList.html">CTessList</a>< CLandscapeVegetableBlock > &list)</td></tr> +<tr><td> </td><td><font size=-1><em>build the vegetable block, create sortBlocks, and append to list.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeVegetableBlock.html#a2">release</a> (<a class="el" href="classNL3D_1_1CVegetableManager.html">CVegetableManager</a> *vegeManager, <a class="el" href="classNL3D_1_1CTessList.html">CTessList</a>< CLandscapeVegetableBlock > &list)</td></tr> +<tr><td> </td><td><font size=-1><em>release all IGs, reset the Vegetable block and remove from list. call before destruction.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeVegetableBlock.html#a3">update</a> (const CVector &viewCenter, <a class="el" href="classNL3D_1_1CVegetableManager.html">CVegetableManager</a> *vegeManager)</td></tr> +<tr><td> </td><td><font size=-1><em>update state of the vegetableBlock.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeVegetableBlock.html#c0">createVegetableIGForDistType</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> i, <a class="el" href="classNL3D_1_1CVegetableManager.html">CVegetableManager</a> *vegeManager, <a class="el" href="classNL3D_1_1CLandscapeVegetableBlockCreateContext.html">CLandscapeVegetableBlockCreateContext</a> &vbCreateCtx)</td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>CVector </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeVegetableBlock.html#o0">_Center</a></td></tr> +<tr><td> </td><td><font size=-1><em>The center of this object, to compute distance.</em> <a href="#o0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVegetableClipBlock.html">CVegetableClipBlock</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeVegetableBlock.html#o1">_VegetableClipBlock</a></td></tr> +<tr><td> </td><td><font size=-1><em>To which VegetableClipBlock we must add vegetables IGs.</em> <a href="#o1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CPatch.html">CPatch</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeVegetableBlock.html#o2">_Patch</a></td></tr> +<tr><td> </td><td><font size=-1><em>Which patch owns this block.</em> <a href="#o2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeVegetableBlock.html#o3">_Ts</a></td></tr> +<tr><td> </td><td><font size=-1><em>Coordinate of the lower-left tile. 2x2 tile vegetables are generated.</em> <a href="#o3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeVegetableBlock.html#o4">_Tt</a></td></tr> +<tr><td> </td><td><font size=-1><em>Coordinate of the lower-left tile. 2x2 tile vegetables are generated.</em> <a href="#o4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeVegetableBlock.html#o5">_CurDistType</a></td></tr> +<tr><td> </td><td><font size=-1><em>The current distance type. 0 means all IG are created. NL3D_VEGETABLE_BLOCK_NUMDIST means none.</em> <a href="#o5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVegetableSortBlock.html">CVegetableSortBlock</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeVegetableBlock.html#o6">_VegetableSortBlock</a> [NL3D_TESSBLOCK_TILESIZE]</td></tr> +<tr><td> </td><td><font size=-1><em>The sortBlocks generated by this vegetable block, one for each tilematerial.</em> <a href="#o6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CLandscapeVegetableBlock.html#o7">_VegetableIG</a> [NL3D_TESSBLOCK_TILESIZE][NL3D_VEGETABLE_BLOCK_NUMDIST]</td></tr> +<tr><td> </td><td><font size=-1><em>The instance groups generated by this vegetable block, one for each distance type. and one per each tilematerial.</em> <a href="#o7">More...</a><em></em></font><br><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A block of vegetable IG (one IG per distance type). +<p> +NB: there is one <a class="el" href="classNL3D_1_1CLandscapeVegetableBlock.html">CLandscapeVegetableBlock</a> per landscape TessBlock. <dl compact><dt><b> +Author: </b><dd> +Lionel Berenguier , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2001 </dl> +<p> + +<p> +Definition at line <a class="el" href="landscape__vegetable__block_8h-source.html#l00063">63</a> of file <a class="el" href="landscape__vegetable__block_8h-source.html">landscape_vegetable_block.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NL3D::CLandscapeVegetableBlock::CLandscapeVegetableBlock"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CLandscapeVegetableBlock::CLandscapeVegetableBlock </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00071">71</a> of file <a class="el" href="landscape__vegetable__block_8cpp-source.html">landscape_vegetable_block.cpp</a>. +<p> +References <a class="el" href="landscape__vegetable__block_8h-source.html#l00098">_CurDistType</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00092">_VegetableClipBlock</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00107">_VegetableIG</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00102">_VegetableSortBlock</a>, <a class="el" href="tess__block_8h-source.html#l00045">NL3D_TESSBLOCK_TILESIZE</a>, and <a class="el" href="vegetable__def_8h-source.html#l00050">NL3D_VEGETABLE_BLOCK_NUMDIST</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="c0" doxytag="NL3D::CLandscapeVegetableBlock::createVegetableIGForDistType"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeVegetableBlock::createVegetableIGForDistType </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>i</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1CVegetableManager.html">CVegetableManager</a> * </td> + <td class="mdname" nowrap> <em>vegeManager</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1CLandscapeVegetableBlockCreateContext.html">CLandscapeVegetableBlockCreateContext</a> & </td> + <td class="mdname" nowrap> <em>vbCreateCtx</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</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="landscape__vegetable__block_8cpp-source.html#l00227">227</a> of file <a class="el" href="landscape__vegetable__block_8cpp-source.html">landscape_vegetable_block.cpp</a>. +<p> +References <a class="el" href="landscape__vegetable__block_8h-source.html#l00094">_Patch</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00096">_Ts</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00096">_Tt</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00107">_VegetableIG</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00102">_VegetableSortBlock</a>, <a class="el" href="tess__block_8h-source.html#l00045">NL3D_TESSBLOCK_TILESIZE</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. +<p> +Referenced by <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00155">update</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::CLandscapeVegetableBlock::init"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeVegetableBlock::init </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CVector & </td> + <td class="mdname" nowrap> <em>center</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1CVegetableManager.html">CVegetableManager</a> * </td> + <td class="mdname" nowrap> <em>vegetManager</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1CVegetableClipBlock.html">CVegetableClipBlock</a> * </td> + <td class="mdname" nowrap> <em>vegetableClipBlock</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1CPatch.html">CPatch</a> * </td> + <td class="mdname" nowrap> <em>patch</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>ts</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>tt</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1CTessList.html">CTessList</a>< CLandscapeVegetableBlock > & </td> + <td class="mdname" nowrap> <em>list</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +build the vegetable block, create sortBlocks, and append to list. +<p> + +<p> +Definition at line <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00089">89</a> of file <a class="el" href="landscape__vegetable__block_8cpp-source.html">landscape_vegetable_block.cpp</a>. +<p> +References <a class="el" href="landscape__vegetable__block_8h-source.html#l00090">_Center</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00094">_Patch</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00096">_Ts</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00096">_Tt</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00092">_VegetableClipBlock</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00102">_VegetableSortBlock</a>, <a class="el" href="landscape__def_8h-source.html#l00074">NL3D_PATCH_TILE_RADIUS</a>, <a class="el" href="tess__block_8h-source.html#l00045">NL3D_TESSBLOCK_TILESIZE</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00673">s</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00681">t</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::CLandscapeVegetableBlock::release"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeVegetableBlock::release </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CVegetableManager.html">CVegetableManager</a> * </td> + <td class="mdname" nowrap> <em>vegeManager</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1CTessList.html">CTessList</a>< CLandscapeVegetableBlock > & </td> + <td class="mdname" nowrap> <em>list</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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="landscape__vegetable__block_8cpp-source.html#l00124">124</a> of file <a class="el" href="landscape__vegetable__block_8cpp-source.html">landscape_vegetable_block.cpp</a>. +<p> +References <a class="el" href="landscape__vegetable__block_8h-source.html#l00098">_CurDistType</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00107">_VegetableIG</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00102">_VegetableSortBlock</a>, <a class="el" href="tess__block_8h-source.html#l00045">NL3D_TESSBLOCK_TILESIZE</a>, and <a class="el" href="vegetable__def_8h-source.html#l00050">NL3D_VEGETABLE_BLOCK_NUMDIST</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NL3D::CLandscapeVegetableBlock::update"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLandscapeVegetableBlock::update </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CVector & </td> + <td class="mdname" nowrap> <em>viewCenter</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1CVegetableManager.html">CVegetableManager</a> * </td> + <td class="mdname" nowrap> <em>vegeManager</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +update state of the vegetableBlock. +<p> +If distance type change, then create / delete any wanted Ig. Warning! IG creation Use <a class="el" href="namespaceNL3D.html#a362">OptFastFloor</a>()! So call must be enclosed with a <a class="el" href="namespaceNL3D.html#a360">OptFastFloorBegin</a>()/<a class="el" href="namespaceNL3D.html#a361">OptFastFloorEnd</a>(). +<p> +Definition at line <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00155">155</a> of file <a class="el" href="landscape__vegetable__block_8cpp-source.html">landscape_vegetable_block.cpp</a>. +<p> +References <a class="el" href="landscape__vegetable__block_8h-source.html#l00090">_Center</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00098">_CurDistType</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00094">_Patch</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00096">_Ts</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00096">_Tt</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00107">_VegetableIG</a>, <a class="el" href="landscape__vegetable__block_8h-source.html#l00102">_VegetableSortBlock</a>, <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00227">createVegetableIGForDistType</a>, and <a class="el" href="tess__block_8h-source.html#l00045">NL3D_TESSBLOCK_TILESIZE</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o0" doxytag="NL3D::CLandscapeVegetableBlock::_Center"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CVector NL3D::CLandscapeVegetableBlock::_Center<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The center of this object, to compute distance. +<p> + +<p> +Definition at line <a class="el" href="landscape__vegetable__block_8h-source.html#l00090">90</a> of file <a class="el" href="landscape__vegetable__block_8h-source.html">landscape_vegetable_block.h</a>. +<p> +Referenced by <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00089">init</a>, and <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00155">update</a>. </td> + </tr> +</table> +<a name="o5" doxytag="NL3D::CLandscapeVegetableBlock::_CurDistType"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a7">uint8</a> NL3D::CLandscapeVegetableBlock::_CurDistType<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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="landscape__vegetable__block_8h-source.html#l00098">98</a> of file <a class="el" href="landscape__vegetable__block_8h-source.html">landscape_vegetable_block.h</a>. +<p> +Referenced by <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00071">CLandscapeVegetableBlock</a>, <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00124">release</a>, and <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00155">update</a>. </td> + </tr> +</table> +<a name="o2" doxytag="NL3D::CLandscapeVegetableBlock::_Patch"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CPatch.html">CPatch</a>* NL3D::CLandscapeVegetableBlock::_Patch<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Which patch owns this block. +<p> + +<p> +Definition at line <a class="el" href="landscape__vegetable__block_8h-source.html#l00094">94</a> of file <a class="el" href="landscape__vegetable__block_8h-source.html">landscape_vegetable_block.h</a>. +<p> +Referenced by <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00227">createVegetableIGForDistType</a>, <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00089">init</a>, and <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00155">update</a>. </td> + </tr> +</table> +<a name="o3" doxytag="NL3D::CLandscapeVegetableBlock::_Ts"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a7">uint8</a> NL3D::CLandscapeVegetableBlock::_Ts<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Coordinate of the lower-left tile. 2x2 tile vegetables are generated. +<p> + +<p> +Definition at line <a class="el" href="landscape__vegetable__block_8h-source.html#l00096">96</a> of file <a class="el" href="landscape__vegetable__block_8h-source.html">landscape_vegetable_block.h</a>. +<p> +Referenced by <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00227">createVegetableIGForDistType</a>, <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00089">init</a>, and <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00155">update</a>. </td> + </tr> +</table> +<a name="o4" doxytag="NL3D::CLandscapeVegetableBlock::_Tt"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a7">uint8</a> NL3D::CLandscapeVegetableBlock::_Tt<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Coordinate of the lower-left tile. 2x2 tile vegetables are generated. +<p> + +<p> +Definition at line <a class="el" href="landscape__vegetable__block_8h-source.html#l00096">96</a> of file <a class="el" href="landscape__vegetable__block_8h-source.html">landscape_vegetable_block.h</a>. +<p> +Referenced by <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00227">createVegetableIGForDistType</a>, <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00089">init</a>, and <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00155">update</a>. </td> + </tr> +</table> +<a name="o1" doxytag="NL3D::CLandscapeVegetableBlock::_VegetableClipBlock"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CVegetableClipBlock.html">CVegetableClipBlock</a>* NL3D::CLandscapeVegetableBlock::_VegetableClipBlock<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +To which VegetableClipBlock we must add vegetables IGs. +<p> + +<p> +Definition at line <a class="el" href="landscape__vegetable__block_8h-source.html#l00092">92</a> of file <a class="el" href="landscape__vegetable__block_8h-source.html">landscape_vegetable_block.h</a>. +<p> +Referenced by <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00071">CLandscapeVegetableBlock</a>, and <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00089">init</a>. </td> + </tr> +</table> +<a name="o7" doxytag="NL3D::CLandscapeVegetableBlock::_VegetableIG"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a>* NL3D::CLandscapeVegetableBlock::_VegetableIG[NL3D_TESSBLOCK_TILESIZE][NL3D_VEGETABLE_BLOCK_NUMDIST]<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The instance groups generated by this vegetable block, one for each distance type. and one per each tilematerial. +<p> + +<p> +Definition at line <a class="el" href="landscape__vegetable__block_8h-source.html#l00107">107</a> of file <a class="el" href="landscape__vegetable__block_8h-source.html">landscape_vegetable_block.h</a>. +<p> +Referenced by <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00071">CLandscapeVegetableBlock</a>, <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00227">createVegetableIGForDistType</a>, <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00124">release</a>, and <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00155">update</a>. </td> + </tr> +</table> +<a name="o6" doxytag="NL3D::CLandscapeVegetableBlock::_VegetableSortBlock"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CVegetableSortBlock.html">CVegetableSortBlock</a>* NL3D::CLandscapeVegetableBlock::_VegetableSortBlock[NL3D_TESSBLOCK_TILESIZE]<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The sortBlocks generated by this vegetable block, one for each tilematerial. +<p> + +<p> +Definition at line <a class="el" href="landscape__vegetable__block_8h-source.html#l00102">102</a> of file <a class="el" href="landscape__vegetable__block_8h-source.html">landscape_vegetable_block.h</a>. +<p> +Referenced by <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00071">CLandscapeVegetableBlock</a>, <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00227">createVegetableIGForDistType</a>, <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00089">init</a>, <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00124">release</a>, and <a class="el" href="landscape__vegetable__block_8cpp-source.html#l00155">update</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="landscape__vegetable__block_8h-source.html">landscape_vegetable_block.h</a><li><a class="el" href="landscape__vegetable__block_8cpp-source.html">landscape_vegetable_block.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |