diff options
Diffstat (limited to 'docs/doxygen/nel/a03475.html')
-rw-r--r-- | docs/doxygen/nel/a03475.html | 2010 |
1 files changed, 2010 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03475.html b/docs/doxygen/nel/a03475.html new file mode 100644 index 00000000..a1ff1fd0 --- /dev/null +++ b/docs/doxygen/nel/a03475.html @@ -0,0 +1,2010 @@ +<!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::CTessBlock 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::CTessBlock Class Reference</h1><code>#include <<a class="el" href="a06492.html">tess_block.h</a>></code> +<p> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A block of 2*2 tiles, for accurate clipping. <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="a06492.html#l00059">59</a> of file <a class="el" href="a06492.html">tess_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>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka0">appendToModifyListAndDeleteFaceVector</a> (<a class="el" href="a03475.html">CTessBlock</a> &root, <a class="el" href="a02709.html">CLandscapeFaceVectorManager</a> &mgr)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka1">clip</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka2">clipFar</a> (const <a class="el" href="a03128.html">CVector</a> &refineCenter, float tileDistNear, float farTransition)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka3">createFaceVectorFar0</a> (<a class="el" href="a02709.html">CLandscapeFaceVectorManager</a> &mgr)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka4">createFaceVectorFar1</a> (<a class="el" href="a02709.html">CLandscapeFaceVectorManager</a> &mgr)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka5">createFaceVectorTile</a> (<a class="el" href="a02709.html">CLandscapeFaceVectorManager</a> &mgr)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka6">CTessBlock</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka7">deleteFaceVectorFar0</a> (<a class="el" href="a02709.html">CLandscapeFaceVectorManager</a> &mgr)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka8">deleteFaceVectorFar1</a> (<a class="el" href="a02709.html">CLandscapeFaceVectorManager</a> &mgr)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka9">deleteFaceVectorTile</a> (<a class="el" href="a02709.html">CLandscapeFaceVectorManager</a> &mgr)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka10">extendSphereAdd</a> (const <a class="el" href="a03128.html">CVector</a> &vec)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka11">extendSphereCompile</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka12">extendSphereFirst</a> (const <a class="el" href="a03128.html">CVector</a> &vec)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka13">forceClip</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka14">getClipped</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03475.html">CTessBlock</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka15">getNextToModify</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03057.html">CPatch</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka16">getPatch</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka17">init</a> (<a class="el" href="a03057.html">CPatch</a> *patch)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka18">isInModifyList</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka19">refillFaceVectorFar0</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka20">refillFaceVectorFar1</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka21">refillFaceVectorTile</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka22">removeFromModifyList</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka23">resetClip</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka24">visibleFar0</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka25">visibleFar1</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka26">visibleTile</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocka27">~CTessBlock</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocko0">FaceTileMaterialRefCount</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocko1">Far0FaceVector</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocko2">Far1FaceVector</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03064.html">CTessList</a>< <a class="el" href="a03476.html">CTessFace</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocko3">FarFaceList</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03064.html">CTessList</a>< <a class="el" href="a03480.html">CTessFarVertex</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocko4">FarVertexList</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocko5">LightMapId</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03069.html">CPatchRdrPass</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocko6">LightMapRdrPass</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocko7">LightMapRefCount</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03064.html">CTessList</a>< <a class="el" href="a03481.html">CTessNearVertex</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocko8">NearVertexList</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03530.html">CTileMaterial</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocko9">RdrTileRoot</a> [4]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocko10">TileMaterialRefCount</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02717.html">CLandscapeVegetableBlock</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocko11">VegetableBlock</a></td></tr> + +<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03082.html">CPlane</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlocks0">CurrentPyramid</a> [4]</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="a03475.html">CTessBlock</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlockr0">_NextToModify</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03057.html">CPatch</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlockr1">_Patch</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03475.html">CTessBlock</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlockr2">_PrecToModify</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02156.html">NLMISC::CAABBox</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlockr3">BBox</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02291.html">NLMISC::CBSphere</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlockr4">BSphere</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlockr5">Clipped</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlockr6">Empty</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlockr7">EmptyFar1</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03475.html#NL3D_1_1CTessBlockr8">FullFar1</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CTessBlocka6" doxytag="NL3D::CTessBlock::CTessBlock" ></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::CTessBlock::CTessBlock </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00042">42</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a06492.html#l00167">_NextToModify</a>, <a class="el" href="a06492.html#l00166">_PrecToModify</a>, <a class="el" href="a06492.html#l00078">Clipped</a>, <a class="el" href="a06492.html#l00080">EmptyFar1</a>, <a class="el" href="a06492.html#l00092">FaceTileMaterialRefCount</a>, <a class="el" href="a06492.html#l00067">Far0FaceVector</a>, <a class="el" href="a06492.html#l00068">Far1FaceVector</a>, <a class="el" href="a06492.html#l00079">FullFar1</a>, <a class="el" href="a06492.html#l00099">LightMapRefCount</a>, <a class="el" href="a06492.html#l00045">NL3D_TESSBLOCK_TILESIZE</a>, <a class="el" href="a06492.html#l00090">RdrTileRoot</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a06492.html#l00094">TileMaterialRefCount</a>, and <a class="el" href="a06492.html#l00104">VegetableBlock</a>. +<p> +<div class="fragment"><pre>00043 { +00044 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr1">_Patch</a>= NULL; +00045 +00046 <span class="comment">// init bounding info.</span> +00047 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr6">Empty</a>= <span class="keyword">true</span>; +00048 <span class="comment">// By default, the tessBlock is clipped.</span> +00049 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr5">Clipped</a>= <span class="keyword">true</span>; +00050 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr8">FullFar1</a>= <span class="keyword">false</span>; +00051 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr7">EmptyFar1</a>= <span class="keyword">false</span>; +00052 +00053 <span class="comment">// init vert/face list.</span> +00054 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a14">sint</a> i=0;i<<a class="code" href="a05069.html#a1">NL3D_TESSBLOCK_TILESIZE</a>;i++) +00055 { +00056 <a class="code" href="a03475.html#NL3D_1_1CTessBlocko9">RdrTileRoot</a>[i]=NULL; +00057 } +00058 +00059 <span class="comment">// init LightMap.</span> +00060 <a class="code" href="a03475.html#NL3D_1_1CTessBlocko7">LightMapRefCount</a>= 0; +00061 +00062 <a class="code" href="a03475.html#NL3D_1_1CTessBlocko1">Far0FaceVector</a>= NULL; +00063 <a class="code" href="a03475.html#NL3D_1_1CTessBlocko2">Far1FaceVector</a>= NULL; +00064 +00065 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr2">_PrecToModify</a>= NULL; +00066 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr0">_NextToModify</a>= NULL; +00067 +00068 <a class="code" href="a03475.html#NL3D_1_1CTessBlocko0">FaceTileMaterialRefCount</a>= 0; +00069 <a class="code" href="a03475.html#NL3D_1_1CTessBlocko10">TileMaterialRefCount</a>= 0; +00070 +00071 <span class="comment">// Micro-vegetation.</span> +00072 <a class="code" href="a03475.html#NL3D_1_1CTessBlocko11">VegetableBlock</a>= NULL; +00073 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka27" doxytag="NL3D::CTessBlock::~CTessBlock" ></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::CTessBlock::~<a class="el" href="a03475.html">CTessBlock</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></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="a06491.html#l00077">77</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a06492.html#l00152">isInModifyList()</a>, <a class="el" href="a06492.html#l00099">LightMapRefCount</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a06491.html#l00373">removeFromModifyList()</a>. +<p> +<div class="fragment"><pre>00078 { +00079 <span class="keywordflow">if</span>(<a class="code" href="a03475.html#NL3D_1_1CTessBlocka18">isInModifyList</a>()) +00080 { +00081 <a class="code" href="a03475.html#NL3D_1_1CTessBlocka22">removeFromModifyList</a>(); +00082 } +00083 +00084 <span class="comment">// LightMap should be released</span> +00085 <a class="code" href="a04199.html#a6">nlassert</a>(LightMapRefCount==0); +00086 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CTessBlocka0" doxytag="NL3D::CTessBlock::appendToModifyListAndDeleteFaceVector" ></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::CTessBlock::appendToModifyListAndDeleteFaceVector </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03475.html">CTessBlock</a> & </td> + <td class="mdname" nowrap> <em>root</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02709.html">CLandscapeFaceVectorManager</a> & </td> + <td class="mdname" nowrap> <em>mgr</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> + +<p> +Definition at line <a class="el" href="a06491.html#l00354">354</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a06492.html#l00167">_NextToModify</a>, <a class="el" href="a06492.html#l00166">_PrecToModify</a>, <a class="el" href="a06491.html#l00213">deleteFaceVectorFar0()</a>, <a class="el" href="a06491.html#l00256">deleteFaceVectorFar1()</a>, <a class="el" href="a06491.html#l00329">deleteFaceVectorTile()</a>, and <a class="el" href="a06492.html#l00152">isInModifyList()</a>. +<p> +Referenced by <a class="el" href="a06155.html#l00783">NL3D::CPatch::dirtTessBlockFaceVector()</a>. +<p> +<div class="fragment"><pre>00355 { +00356 <span class="comment">// If already appened, return.</span> +00357 <span class="keywordflow">if</span>(<a class="code" href="a03475.html#NL3D_1_1CTessBlocka18">isInModifyList</a>()) +00358 <span class="keywordflow">return</span>; +00359 +00360 <span class="comment">// append to root.</span> +00361 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr2">_PrecToModify</a>= &root; +00362 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr0">_NextToModify</a>= root._NextToModify; +00363 <span class="keywordflow">if</span>(root._NextToModify) +00364 root._NextToModify->_PrecToModify= <span class="keyword">this</span>; +00365 root._NextToModify= <span class="keyword">this</span>; +00366 +00367 <span class="comment">// Then delete All faceVector that may exist.</span> +00368 <a class="code" href="a03475.html#NL3D_1_1CTessBlocka7">deleteFaceVectorFar0</a>(mgr); +00369 <a class="code" href="a03475.html#NL3D_1_1CTessBlocka8">deleteFaceVectorFar1</a>(mgr); +00370 <a class="code" href="a03475.html#NL3D_1_1CTessBlocka9">deleteFaceVectorTile</a>(mgr); +00371 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka1" doxytag="NL3D::CTessBlock::clip" ></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::CTessBlock::clip </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00146">146</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a05504.html#l00050">NLMISC::CBSphere::clipBack()</a>, <a class="el" href="a06492.html#l00078">Clipped</a>, <a class="el" href="a06492.html#l00041">NL3D_TESSBLOCK_NUM_CLIP_PLANE</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +Referenced by <a class="el" href="a06161.html#l00249">NL3D::CPatch::preRender()</a>. +<p> +<div class="fragment"><pre>00147 { +00148 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr5">Clipped</a>= <span class="keyword">false</span>; +00149 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a14">sint</a> i=0;i<<a class="code" href="a05069.html#a0">NL3D_TESSBLOCK_NUM_CLIP_PLANE</a>;i++) +00150 { +00151 <span class="comment">// If entirely out.</span> +00152 <span class="keywordflow">if</span>(!<a class="code" href="a03475.html#NL3D_1_1CTessBlockr4">BSphere</a>.<a class="code" href="a02291.html#NLMISC_1_1CBSpherez1931_0">clipBack</a>( CTessBlock::CurrentPyramid[i] )) +00153 { +00154 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr5">Clipped</a>= <span class="keyword">true</span>; +00155 <span class="keywordflow">break</span>; +00156 } +00157 } +00158 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka2" doxytag="NL3D::CTessBlock::clipFar" ></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::CTessBlock::clipFar </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">CVector</a> & </td> + <td class="mdname" nowrap> <em>refineCenter</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>tileDistNear</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>farTransition</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> + +<p> +Definition at line <a class="el" href="a06491.html#l00160">160</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a05505.html#l00048">NLMISC::CBSphere::Center</a>, <a class="el" href="a06492.html#l00080">EmptyFar1</a>, <a class="el" href="a06492.html#l00079">FullFar1</a>, <a class="el" href="a05646.html#l00993">r</a>, and <a class="el" href="a05505.html#l00049">NLMISC::CBSphere::Radius</a>. +<p> +Referenced by <a class="el" href="a06161.html#l00249">NL3D::CPatch::preRender()</a>. +<p> +<div class="fragment"><pre>00161 { +00162 <span class="keywordtype">float</span> <a class="code" href="a04223.html#a628">r</a>= (refineCenter-<a class="code" href="a03475.html#NL3D_1_1CTessBlockr4">BSphere</a>.<a class="code" href="a02291.html#NLMISC_1_1CBSphereo0">Center</a>).norm(); +00163 <span class="keywordflow">if</span>( (<a class="code" href="a04223.html#a628">r</a>-<a class="code" href="a03475.html#NL3D_1_1CTessBlockr4">BSphere</a>.<a class="code" href="a02291.html#NLMISC_1_1CBSphereo1">Radius</a>) > tileDistNear) +00164 { +00165 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr8">FullFar1</a>= <span class="keyword">true</span>; +00166 } +00167 <span class="keywordflow">else</span> +00168 { +00169 <span class="keywordflow">if</span>( (<a class="code" href="a04223.html#a628">r</a>+<a class="code" href="a03475.html#NL3D_1_1CTessBlockr4">BSphere</a>.<a class="code" href="a02291.html#NLMISC_1_1CBSphereo1">Radius</a>) < (tileDistNear-farTransition) ) +00170 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr7">EmptyFar1</a>= <span class="keyword">true</span>; +00171 } +00172 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka3" doxytag="NL3D::CTessBlock::createFaceVectorFar0" ></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::CTessBlock::createFaceVectorFar0 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02709.html">CLandscapeFaceVectorManager</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>mgr</em> </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00198">198</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a05868.html#l00083">NL3D::CLandscapeFaceVectorManager::createFaceVector()</a>, <a class="el" href="a06492.html#l00067">Far0FaceVector</a>, <a class="el" href="a06492.html#l00089">FarFaceList</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06491.html#l00177">refillFaceVectorFar0()</a>, and <a class="el" href="a06496.html#l00070">NL3D::CTessList< CTessFace >::size()</a>. +<p> +Referenced by <a class="el" href="a06161.html#l00663">NL3D::CPatch::createFaceVectorFar0OrTile()</a>, and <a class="el" href="a06161.html#l00705">NL3D::CPatch::recreateTessBlockFaceVector()</a>. +<p> +<div class="fragment"><pre>00199 { +00200 <a class="code" href="a04199.html#a6">nlassert</a>(Far0FaceVector==NULL); +00201 <span class="comment">// If size is not 0.</span> +00202 <span class="keywordflow">if</span>(<a class="code" href="a03475.html#NL3D_1_1CTessBlocko3">FarFaceList</a>.size()>0) +00203 { +00204 <span class="comment">// Create a faceVector of the wanted triangles size.</span> +00205 <a class="code" href="a03475.html#NL3D_1_1CTessBlocko1">Far0FaceVector</a>= mgr.createFaceVector(<a class="code" href="a03475.html#NL3D_1_1CTessBlocko3">FarFaceList</a>.size()); +00206 +00207 <span class="comment">// init.</span> +00208 <a class="code" href="a03475.html#NL3D_1_1CTessBlocka19">refillFaceVectorFar0</a>(); +00209 } +00210 +00211 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka4" doxytag="NL3D::CTessBlock::createFaceVectorFar1" ></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::CTessBlock::createFaceVectorFar1 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02709.html">CLandscapeFaceVectorManager</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>mgr</em> </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00242">242</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a05868.html#l00083">NL3D::CLandscapeFaceVectorManager::createFaceVector()</a>, <a class="el" href="a06492.html#l00068">Far1FaceVector</a>, <a class="el" href="a06492.html#l00089">FarFaceList</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06491.html#l00223">refillFaceVectorFar1()</a>, and <a class="el" href="a06496.html#l00070">NL3D::CTessList< CTessFace >::size()</a>. +<p> +Referenced by <a class="el" href="a06161.html#l00641">NL3D::CPatch::createFaceVectorFar1()</a>, and <a class="el" href="a06161.html#l00705">NL3D::CPatch::recreateTessBlockFaceVector()</a>. +<p> +<div class="fragment"><pre>00243 { +00244 <a class="code" href="a04199.html#a6">nlassert</a>(Far1FaceVector==NULL); +00245 <span class="comment">// If size is not 0.</span> +00246 <span class="keywordflow">if</span>(<a class="code" href="a03475.html#NL3D_1_1CTessBlocko3">FarFaceList</a>.size()>0) +00247 { +00248 <span class="comment">// Create a faceVector of the wanted triangles size.</span> +00249 <a class="code" href="a03475.html#NL3D_1_1CTessBlocko2">Far1FaceVector</a>= mgr.createFaceVector(<a class="code" href="a03475.html#NL3D_1_1CTessBlocko3">FarFaceList</a>.size()); +00250 +00251 <span class="comment">// init.</span> +00252 <a class="code" href="a03475.html#NL3D_1_1CTessBlocka20">refillFaceVectorFar1</a>(); +00253 } +00254 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka5" doxytag="NL3D::CTessBlock::createFaceVectorTile" ></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::CTessBlock::createFaceVectorTile </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02709.html">CLandscapeFaceVectorManager</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>mgr</em> </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00302">302</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a05868.html#l00083">NL3D::CLandscapeFaceVectorManager::createFaceVector()</a>, <a class="el" href="a05867.html#l00048">NL3D_MAX_TILE_FACE</a>, <a class="el" href="a06492.html#l00045">NL3D_TESSBLOCK_TILESIZE</a>, <a class="el" href="a06492.html#l00090">RdrTileRoot</a>, <a class="el" href="a06491.html#l00267">refillFaceVectorTile()</a>, <a class="el" href="a06496.html#l00070">NL3D::CTessList< T >::size()</a>, <a class="el" href="a06498.html#l00200">NL3D::CTileMaterial::TileFaceList</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06161.html#l00705">NL3D::CPatch::recreateTessBlockFaceVector()</a>. +<p> +<div class="fragment"><pre>00303 { +00304 <span class="comment">// For all tiles existing, and for all facePass existing, create the faceVector.</span> +00305 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> tileId=0; tileId<<a class="code" href="a05069.html#a1">NL3D_TESSBLOCK_TILESIZE</a>; tileId++) +00306 { +00307 <span class="comment">// if tile exist.</span> +00308 <span class="keywordflow">if</span>(<a class="code" href="a03475.html#NL3D_1_1CTessBlocko9">RdrTileRoot</a>[tileId]) +00309 { +00310 <span class="comment">// For all Pass faces of the tile.</span> +00311 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> facePass=0; facePass<<a class="code" href="a04444.html#a1">NL3D_MAX_TILE_FACE</a>; facePass++) +00312 { +00313 CTessList<CTileFace> &faceList= <a class="code" href="a03475.html#NL3D_1_1CTessBlocko9">RdrTileRoot</a>[tileId]->TileFaceList[facePass]; +00314 <a class="code" href="a04558.html#a11">uint32</a> *&faceVector= RdrTileRoot[tileId]->TileFaceVectors[facePass]; +00315 <span class="comment">// If some triangles create them.</span> +00316 <span class="keywordflow">if</span>(faceList.size()>0) +00317 { +00318 <span class="comment">// Create a faceVector of the wanted triangles size.</span> +00319 faceVector= mgr.createFaceVector(faceList.size()); +00320 } +00321 } +00322 } +00323 } +00324 +00325 <span class="comment">// init.</span> +00326 <a class="code" href="a03475.html#NL3D_1_1CTessBlocka21">refillFaceVectorTile</a>(); +00327 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka7" doxytag="NL3D::CTessBlock::deleteFaceVectorFar0" ></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::CTessBlock::deleteFaceVectorFar0 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02709.html">CLandscapeFaceVectorManager</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>mgr</em> </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00213">213</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a05868.html#l00112">NL3D::CLandscapeFaceVectorManager::deleteFaceVector()</a>, and <a class="el" href="a06492.html#l00067">Far0FaceVector</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00354">appendToModifyListAndDeleteFaceVector()</a>, and <a class="el" href="a06161.html#l00683">NL3D::CPatch::deleteFaceVectorFar0OrTile()</a>. +<p> +<div class="fragment"><pre>00214 { +00215 <span class="keywordflow">if</span>(<a class="code" href="a03475.html#NL3D_1_1CTessBlocko1">Far0FaceVector</a>) +00216 { +00217 mgr.deleteFaceVector(Far0FaceVector); +00218 <a class="code" href="a03475.html#NL3D_1_1CTessBlocko1">Far0FaceVector</a>= NULL; +00219 } +00220 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka8" doxytag="NL3D::CTessBlock::deleteFaceVectorFar1" ></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::CTessBlock::deleteFaceVectorFar1 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02709.html">CLandscapeFaceVectorManager</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>mgr</em> </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00256">256</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a05868.html#l00112">NL3D::CLandscapeFaceVectorManager::deleteFaceVector()</a>, and <a class="el" href="a06492.html#l00068">Far1FaceVector</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00354">appendToModifyListAndDeleteFaceVector()</a>, and <a class="el" href="a06161.html#l00652">NL3D::CPatch::deleteFaceVectorFar1()</a>. +<p> +<div class="fragment"><pre>00257 { +00258 <span class="keywordflow">if</span>(<a class="code" href="a03475.html#NL3D_1_1CTessBlocko2">Far1FaceVector</a>) +00259 { +00260 mgr.deleteFaceVector(Far1FaceVector); +00261 <a class="code" href="a03475.html#NL3D_1_1CTessBlocko2">Far1FaceVector</a>= NULL; +00262 } +00263 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka9" doxytag="NL3D::CTessBlock::deleteFaceVectorTile" ></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::CTessBlock::deleteFaceVectorTile </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02709.html">CLandscapeFaceVectorManager</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>mgr</em> </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00329">329</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a05868.html#l00112">NL3D::CLandscapeFaceVectorManager::deleteFaceVector()</a>, <a class="el" href="a05867.html#l00048">NL3D_MAX_TILE_FACE</a>, <a class="el" href="a06492.html#l00045">NL3D_TESSBLOCK_TILESIZE</a>, <a class="el" href="a06492.html#l00090">RdrTileRoot</a>, <a class="el" href="a06498.html#l00203">NL3D::CTileMaterial::TileFaceVectors</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00354">appendToModifyListAndDeleteFaceVector()</a>. +<p> +<div class="fragment"><pre>00330 { +00331 <span class="comment">// For all tiles existing, and for all facePass existing, delete the faceVector.</span> +00332 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> tileId=0; tileId<<a class="code" href="a05069.html#a1">NL3D_TESSBLOCK_TILESIZE</a>; tileId++) +00333 { +00334 <span class="comment">// if tile exist.</span> +00335 <span class="keywordflow">if</span>(<a class="code" href="a03475.html#NL3D_1_1CTessBlocko9">RdrTileRoot</a>[tileId]) +00336 { +00337 <span class="comment">// For all Pass faces of the tile.</span> +00338 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> facePass=0; facePass<<a class="code" href="a04444.html#a1">NL3D_MAX_TILE_FACE</a>; facePass++) +00339 { +00340 <a class="code" href="a04558.html#a11">uint32</a> *&faceVector= <a class="code" href="a03475.html#NL3D_1_1CTessBlocko9">RdrTileRoot</a>[tileId]->TileFaceVectors[facePass]; +00341 <span class="comment">// If the faceVector exist, delete it.</span> +00342 <span class="keywordflow">if</span>(faceVector) +00343 { +00344 mgr.deleteFaceVector(faceVector); +00345 faceVector= NULL; +00346 } +00347 } +00348 } +00349 } +00350 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka10" doxytag="NL3D::CTessBlock::extendSphereAdd" ></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::CTessBlock::extendSphereAdd </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">CVector</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>vec</em> </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00115">115</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a05384.html#l00215">NLMISC::CAABBox::extend()</a>, and <a class="el" href="a05384.html#l00081">NLMISC::CAABBox::include()</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00102">extendSphereFirst()</a>. +<p> +<div class="fragment"><pre>00116 { +00117 <span class="keywordflow">if</span>( !<a class="code" href="a03475.html#NL3D_1_1CTessBlockr3">BBox</a>.<a class="code" href="a02156.html#NLMISC_1_1CAABBoxExtz1906_2">include</a>(vec) ) +00118 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr3">BBox</a>.<a class="code" href="a02156.html#NLMISC_1_1CAABBoxExtz1902_0">extend</a>(vec); +00119 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka11" doxytag="NL3D::CTessBlock::extendSphereCompile" ></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::CTessBlock::extendSphereCompile </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00122">122</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a05505.html#l00048">NLMISC::CBSphere::Center</a>, <a class="el" href="a05385.html#l00090">NLMISC::CAABBox::getCenter()</a>, <a class="el" href="a05385.html#l00096">NLMISC::CAABBox::getRadius()</a>, and <a class="el" href="a05505.html#l00049">NLMISC::CBSphere::Radius</a>. +<p> +<div class="fragment"><pre>00123 { +00124 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr4">BSphere</a>.<a class="code" href="a02291.html#NLMISC_1_1CBSphereo0">Center</a>= <a class="code" href="a03475.html#NL3D_1_1CTessBlockr3">BBox</a>.<a class="code" href="a02156.html#NLMISC_1_1CAABBoxz1904_0">getCenter</a>(); +00125 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr4">BSphere</a>.<a class="code" href="a02291.html#NLMISC_1_1CBSphereo1">Radius</a>= <a class="code" href="a03475.html#NL3D_1_1CTessBlockr3">BBox</a>.<a class="code" href="a02156.html#NLMISC_1_1CAABBoxz1904_6">getRadius</a>(); +00126 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka12" doxytag="NL3D::CTessBlock::extendSphereFirst" ></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::CTessBlock::extendSphereFirst </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">CVector</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>vec</em> </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00102">102</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a06491.html#l00115">extendSphereAdd()</a>, <a class="el" href="a05385.html#l00066">NLMISC::CAABBox::setCenter()</a>, and <a class="el" href="a05385.html#l00067">NLMISC::CAABBox::setHalfSize()</a>. +<p> +<div class="fragment"><pre>00103 { +00104 <span class="keywordflow">if</span>(<a class="code" href="a03475.html#NL3D_1_1CTessBlockr6">Empty</a>) +00105 { +00106 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr6">Empty</a>= <span class="keyword">false</span>; +00107 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr3">BBox</a>.<a class="code" href="a02156.html#NLMISC_1_1CAABBoxz1902_1">setCenter</a>(vec); +00108 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr3">BBox</a>.<a class="code" href="a02156.html#NLMISC_1_1CAABBoxz1902_2">setHalfSize</a>(CVector::Null); +00109 } +00110 <span class="keywordflow">else</span> +00111 <a class="code" href="a03475.html#NL3D_1_1CTessBlocka10">extendSphereAdd</a>(vec); +00112 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka13" doxytag="NL3D::CTessBlock::forceClip" ></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::CTessBlock::forceClip </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00139">139</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a06492.html#l00078">Clipped</a>. +<p> +Referenced by <a class="el" href="a06161.html#l00249">NL3D::CPatch::preRender()</a>, and <a class="el" href="a06161.html#l01464">NL3D::CPatch::updateClipPatchVB()</a>. +<p> +<div class="fragment"><pre>00140 { +00141 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr5">Clipped</a>= <span class="keyword">true</span>; +00142 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka14" doxytag="NL3D::CTessBlock::getClipped" ></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"> bool NL3D::CTessBlock::getClipped </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="a06492.html#l00132">132</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +References <a class="el" href="a06492.html#l00078">Clipped</a>. +<p> +Referenced by <a class="el" href="a06161.html#l01378">NL3D::CPatch::computeSoftwareGeomorphAndAlpha()</a>. +<p> +<div class="fragment"><pre>00132 {<span class="keywordflow">return</span> <a class="code" href="a03475.html#NL3D_1_1CTessBlockr5">Clipped</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka15" doxytag="NL3D::CTessBlock::getNextToModify" ></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="a03475.html">CTessBlock</a>* NL3D::CTessBlock::getNextToModify </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="a06492.html#l00160">160</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +References <a class="el" href="a06492.html#l00167">_NextToModify</a>. +<p> +Referenced by <a class="el" href="a05862.html#l00772">NL3D::CLandscape::averageTesselationVertices()</a>, <a class="el" href="a05862.html#l00583">NL3D::CLandscape::clip()</a>, and <a class="el" href="a05862.html#l00896">NL3D::CLandscape::updateTessBlocksFaceVector()</a>. +<p> +<div class="fragment"><pre>00160 {<span class="keywordflow">return</span> <a class="code" href="a03475.html#NL3D_1_1CTessBlockr0">_NextToModify</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka16" doxytag="NL3D::CTessBlock::getPatch" ></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> * NL3D::CTessBlock::getPatch </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00094">94</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +Referenced by <a class="el" href="a05862.html#l00896">NL3D::CLandscape::updateTessBlocksFaceVector()</a>. +<p> +<div class="fragment"><pre>00095 { +00096 <span class="keywordflow">return</span> <a class="code" href="a03475.html#NL3D_1_1CTessBlockr1">_Patch</a>; +00097 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka17" doxytag="NL3D::CTessBlock::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::CTessBlock::init </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03057.html">CPatch</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>patch</em> </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00089">89</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +Referenced by <a class="el" href="a06155.html#l01283">NL3D::CPatch::compile()</a>. +<p> +<div class="fragment"><pre>00090 { +00091 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr1">_Patch</a>= patch; +00092 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka18" doxytag="NL3D::CTessBlock::isInModifyList" ></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"> bool NL3D::CTessBlock::isInModifyList </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="a06492.html#l00152">152</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +References <a class="el" href="a06492.html#l00166">_PrecToModify</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00354">appendToModifyListAndDeleteFaceVector()</a>, <a class="el" href="a06155.html#l00783">NL3D::CPatch::dirtTessBlockFaceVector()</a>, <a class="el" href="a06491.html#l00373">removeFromModifyList()</a>, and <a class="el" href="a06491.html#l00077">~CTessBlock()</a>. +<p> +<div class="fragment"><pre>00152 {<span class="keywordflow">return</span> <a class="code" href="a03475.html#NL3D_1_1CTessBlockr2">_PrecToModify</a>!=NULL;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka19" doxytag="NL3D::CTessBlock::refillFaceVectorFar0" ></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::CTessBlock::refillFaceVectorFar0 </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00177">177</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a06496.html#l00071">NL3D::CTessList< CTessFace >::begin()</a>, <a class="el" href="a06492.html#l00067">Far0FaceVector</a>, <a class="el" href="a06492.html#l00089">FarFaceList</a>, <a class="el" href="a06498.html#l00282">NL3D::CTessFace::FVBase</a>, <a class="el" href="a06498.html#l00282">NL3D::CTessFace::FVLeft</a>, <a class="el" href="a06498.html#l00282">NL3D::CTessFace::FVRight</a>, <a class="el" href="a06498.html#l00124">NL3D::CTessFarVertex::Index0</a>, <a class="el" href="a06496.html#l00044">NL3D::CTessNodeList::Next</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06496.html#l00070">NL3D::CTessList< CTessFace >::size()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00198">createFaceVectorFar0()</a>, and <a class="el" href="a06161.html#l00249">NL3D::CPatch::preRender()</a>. +<p> +<div class="fragment"><pre>00178 { +00179 <span class="comment">// If size is not 0.</span> +00180 <span class="keywordflow">if</span>(<a class="code" href="a03475.html#NL3D_1_1CTessBlocko3">FarFaceList</a>.size()>0) +00181 { +00182 <a class="code" href="a04199.html#a6">nlassert</a>(Far0FaceVector!=NULL); +00183 +00184 <span class="comment">// Fill this faceVector, with FarFaceList</span> +00185 CTessFace *pFace; +00186 <a class="code" href="a04558.html#a11">uint32</a> *dest= <a class="code" href="a03475.html#NL3D_1_1CTessBlocko1">Far0FaceVector</a>+1; +00187 <span class="keywordflow">for</span>(pFace= <a class="code" href="a03475.html#NL3D_1_1CTessBlocko3">FarFaceList</a>.begin(); pFace; pFace= (CTessFace*)pFace->Next) +00188 { +00189 *(dest++)= pFace->FVBase->Index0; +00190 *(dest++)= pFace->FVLeft->Index0; +00191 *(dest++)= pFace->FVRight->Index0; +00192 } +00193 } +00194 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka20" doxytag="NL3D::CTessBlock::refillFaceVectorFar1" ></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::CTessBlock::refillFaceVectorFar1 </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00223">223</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a06496.html#l00071">NL3D::CTessList< CTessFace >::begin()</a>, <a class="el" href="a06492.html#l00068">Far1FaceVector</a>, <a class="el" href="a06492.html#l00089">FarFaceList</a>, <a class="el" href="a06498.html#l00282">NL3D::CTessFace::FVBase</a>, <a class="el" href="a06498.html#l00282">NL3D::CTessFace::FVLeft</a>, <a class="el" href="a06498.html#l00282">NL3D::CTessFace::FVRight</a>, <a class="el" href="a06498.html#l00125">NL3D::CTessFarVertex::Index1</a>, <a class="el" href="a06496.html#l00044">NL3D::CTessNodeList::Next</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06496.html#l00070">NL3D::CTessList< CTessFace >::size()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00242">createFaceVectorFar1()</a>, and <a class="el" href="a06161.html#l00249">NL3D::CPatch::preRender()</a>. +<p> +<div class="fragment"><pre>00224 { +00225 <span class="comment">// If size is not 0.</span> +00226 <span class="keywordflow">if</span>(<a class="code" href="a03475.html#NL3D_1_1CTessBlocko3">FarFaceList</a>.size()>0) +00227 { +00228 <a class="code" href="a04199.html#a6">nlassert</a>(Far1FaceVector!=NULL); +00229 <span class="comment">// Fill this faceVector, with FarFaceList</span> +00230 CTessFace *pFace; +00231 <a class="code" href="a04558.html#a11">uint32</a> *dest= <a class="code" href="a03475.html#NL3D_1_1CTessBlocko2">Far1FaceVector</a>+1; +00232 <span class="keywordflow">for</span>(pFace= <a class="code" href="a03475.html#NL3D_1_1CTessBlocko3">FarFaceList</a>.begin(); pFace; pFace= (CTessFace*)pFace->Next) +00233 { +00234 *(dest++)= pFace->FVBase->Index1; +00235 *(dest++)= pFace->FVLeft->Index1; +00236 *(dest++)= pFace->FVRight->Index1; +00237 } +00238 } +00239 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka21" doxytag="NL3D::CTessBlock::refillFaceVectorTile" ></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::CTessBlock::refillFaceVectorTile </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00267">267</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a06496.html#l00071">NL3D::CTessList< T >::begin()</a>, <a class="el" href="a06498.html#l00135">NL3D::CTessNearVertex::Index</a>, <a class="el" href="a06496.html#l00044">NL3D::CTessNodeList::Next</a>, <a class="el" href="a05867.html#l00048">NL3D_MAX_TILE_FACE</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="a06492.html#l00090">RdrTileRoot</a>, <a class="el" href="a06496.html#l00070">NL3D::CTessList< T >::size()</a>, <a class="el" href="a06498.html#l00200">NL3D::CTileMaterial::TileFaceList</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a06498.html#l00177">NL3D::CTileFace::V</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00302">createFaceVectorTile()</a>, and <a class="el" href="a06161.html#l00249">NL3D::CPatch::preRender()</a>. +<p> +<div class="fragment"><pre>00268 { +00269 <span class="comment">// For all tiles existing, and for all facePass existing, fill the faceVector.</span> +00270 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> tileId=0; tileId<<a class="code" href="a05069.html#a1">NL3D_TESSBLOCK_TILESIZE</a>; tileId++) +00271 { +00272 <span class="comment">// if tile exist.</span> +00273 <span class="keywordflow">if</span>(<a class="code" href="a03475.html#NL3D_1_1CTessBlocko9">RdrTileRoot</a>[tileId]) +00274 { +00275 <span class="comment">// For all Pass faces of the tile.</span> +00276 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> facePass=0; facePass<<a class="code" href="a04444.html#a1">NL3D_MAX_TILE_FACE</a>; facePass++) +00277 { +00278 CTessList<CTileFace> &faceList= <a class="code" href="a03475.html#NL3D_1_1CTessBlocko9">RdrTileRoot</a>[tileId]->TileFaceList[facePass]; +00279 <a class="code" href="a04558.html#a11">uint32</a> *faceVector= RdrTileRoot[tileId]->TileFaceVectors[facePass]; +00280 <span class="comment">// If some triangles create them.</span> +00281 <span class="keywordflow">if</span>(faceList.size()>0) +00282 { +00283 <a class="code" href="a04199.html#a6">nlassert</a>( faceVector!=NULL ); +00284 +00285 <span class="comment">// Fill this faceVector, with the TileFaceList</span> +00286 CTileFace *pFace; +00287 <a class="code" href="a04558.html#a11">uint32</a> *dest= faceVector+1; +00288 <span class="keywordflow">for</span>(pFace= faceList.begin(); pFace; pFace= (CTileFace*)pFace->Next) +00289 { +00290 *(dest++)= pFace->V[CTessFace::IdUvBase]->Index; +00291 *(dest++)= pFace->V[CTessFace::IdUvLeft]->Index; +00292 *(dest++)= pFace->V[CTessFace::IdUvRight]->Index; +00293 } +00294 } +00295 } +00296 } +00297 } +00298 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka22" doxytag="NL3D::CTessBlock::removeFromModifyList" ></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::CTessBlock::removeFromModifyList </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00373">373</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a06492.html#l00167">_NextToModify</a>, <a class="el" href="a06492.html#l00166">_PrecToModify</a>, and <a class="el" href="a06492.html#l00152">isInModifyList()</a>. +<p> +Referenced by <a class="el" href="a05862.html#l00896">NL3D::CLandscape::updateTessBlocksFaceVector()</a>, and <a class="el" href="a06491.html#l00077">~CTessBlock()</a>. +<p> +<div class="fragment"><pre>00374 { +00375 <span class="comment">// If already removed, return.</span> +00376 <span class="comment">// _PrecToModify must be !NULL</span> +00377 <span class="keywordflow">if</span>(!<a class="code" href="a03475.html#NL3D_1_1CTessBlocka18">isInModifyList</a>()) +00378 <span class="keywordflow">return</span>; +00379 +00380 <span class="comment">// unlink.</span> +00381 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr2">_PrecToModify</a>->_NextToModify= <a class="code" href="a03475.html#NL3D_1_1CTessBlockr0">_NextToModify</a>; +00382 <span class="keywordflow">if</span>(<a class="code" href="a03475.html#NL3D_1_1CTessBlockr0">_NextToModify</a>) +00383 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr0">_NextToModify</a>->_PrecToModify= <a class="code" href="a03475.html#NL3D_1_1CTessBlockr2">_PrecToModify</a>; +00384 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr2">_PrecToModify</a>= NULL; +00385 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr0">_NextToModify</a>= NULL; +00386 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka23" doxytag="NL3D::CTessBlock::resetClip" ></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::CTessBlock::resetClip </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> + +<p> +Definition at line <a class="el" href="a06491.html#l00130">130</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. +<p> +References <a class="el" href="a06492.html#l00078">Clipped</a>, <a class="el" href="a06492.html#l00080">EmptyFar1</a>, and <a class="el" href="a06492.html#l00079">FullFar1</a>. +<p> +Referenced by <a class="el" href="a06155.html#l00061">NL3D::CPatch::CPatch()</a>, and <a class="el" href="a06161.html#l00249">NL3D::CPatch::preRender()</a>. +<p> +<div class="fragment"><pre>00131 { +00132 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr5">Clipped</a>= <span class="keyword">false</span>; +00133 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr8">FullFar1</a>= <span class="keyword">false</span>; +00134 <a class="code" href="a03475.html#NL3D_1_1CTessBlockr7">EmptyFar1</a>= <span class="keyword">false</span>; +00135 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka24" doxytag="NL3D::CTessBlock::visibleFar0" ></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"> bool NL3D::CTessBlock::visibleFar0 </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="a06492.html#l00133">133</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +References <a class="el" href="a06492.html#l00078">Clipped</a>, and <a class="el" href="a06492.html#l00079">FullFar1</a>. +<p> +Referenced by <a class="el" href="a06161.html#l01502">NL3D::CPatch::checkCreateVertexVBFar()</a>, <a class="el" href="a06161.html#l01571">NL3D::CPatch::checkDeleteVertexVBFar()</a>, <a class="el" href="a06161.html#l01522">NL3D::CPatch::checkFillVertexVBFar()</a>, <a class="el" href="a06161.html#l01378">NL3D::CPatch::computeSoftwareGeomorphAndAlpha()</a>, <a class="el" href="a06161.html#l01198">NL3D::CPatch::fillVB()</a>, <a class="el" href="a06161.html#l01256">NL3D::CPatch::fillVBFar0Only()</a>, <a class="el" href="a06161.html#l01720">NL3D::CPatch::fillVBFarsDLMUvOnly()</a>, <a class="el" href="a06161.html#l00249">NL3D::CPatch::preRender()</a>, <a class="el" href="a06161.html#l00528">NL3D::CPatch::renderFar0()</a>, and <a class="el" href="a06161.html#l00789">NL3D::CPatch::updateVBAlloc()</a>. +<p> +<div class="fragment"><pre>00133 {<span class="keywordflow">return</span> !<a class="code" href="a03475.html#NL3D_1_1CTessBlockr5">Clipped</a> && !<a class="code" href="a03475.html#NL3D_1_1CTessBlockr8">FullFar1</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka25" doxytag="NL3D::CTessBlock::visibleFar1" ></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"> bool NL3D::CTessBlock::visibleFar1 </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="a06492.html#l00135">135</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +References <a class="el" href="a06492.html#l00078">Clipped</a>, and <a class="el" href="a06492.html#l00080">EmptyFar1</a>. +<p> +Referenced by <a class="el" href="a06161.html#l00873">NL3D::CPatch::allocateVBAndFaceVectorFar1Only()</a>, <a class="el" href="a06161.html#l01502">NL3D::CPatch::checkCreateVertexVBFar()</a>, <a class="el" href="a06161.html#l01571">NL3D::CPatch::checkDeleteVertexVBFar()</a>, <a class="el" href="a06161.html#l01522">NL3D::CPatch::checkFillVertexVBFar()</a>, <a class="el" href="a06161.html#l01378">NL3D::CPatch::computeSoftwareGeomorphAndAlpha()</a>, <a class="el" href="a06161.html#l00854">NL3D::CPatch::deleteVBAndFaceVectorFar1Only()</a>, <a class="el" href="a06161.html#l01198">NL3D::CPatch::fillVB()</a>, <a class="el" href="a06161.html#l01274">NL3D::CPatch::fillVBFar1Only()</a>, <a class="el" href="a06161.html#l01720">NL3D::CPatch::fillVBFarsDLMUvOnly()</a>, <a class="el" href="a06161.html#l00249">NL3D::CPatch::preRender()</a>, <a class="el" href="a06161.html#l00560">NL3D::CPatch::renderFar1()</a>, and <a class="el" href="a06161.html#l00789">NL3D::CPatch::updateVBAlloc()</a>. +<p> +<div class="fragment"><pre>00135 {<span class="keywordflow">return</span> !<a class="code" href="a03475.html#NL3D_1_1CTessBlockr5">Clipped</a> && !<a class="code" href="a03475.html#NL3D_1_1CTessBlockr7">EmptyFar1</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocka26" doxytag="NL3D::CTessBlock::visibleTile" ></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"> bool NL3D::CTessBlock::visibleTile </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="a06492.html#l00134">134</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +References <a class="el" href="a06492.html#l00078">Clipped</a>, and <a class="el" href="a06492.html#l00079">FullFar1</a>. +<p> +Referenced by <a class="el" href="a06161.html#l01543">NL3D::CPatch::checkCreateVertexVBNear()</a>, <a class="el" href="a06161.html#l01589">NL3D::CPatch::checkDeleteVertexVBNear()</a>, <a class="el" href="a06161.html#l01556">NL3D::CPatch::checkFillVertexVBNear()</a>, <a class="el" href="a06161.html#l01378">NL3D::CPatch::computeSoftwareGeomorphAndAlpha()</a>, <a class="el" href="a06161.html#l01198">NL3D::CPatch::fillVB()</a>, <a class="el" href="a06161.html#l00249">NL3D::CPatch::preRender()</a>, and <a class="el" href="a06161.html#l00789">NL3D::CPatch::updateVBAlloc()</a>. +<p> +<div class="fragment"><pre>00134 {<span class="keywordflow">return</span> !<a class="code" href="a03475.html#NL3D_1_1CTessBlockr5">Clipped</a> && !<a class="code" href="a03475.html#NL3D_1_1CTessBlockr8">FullFar1</a>;} +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CTessBlockr0" doxytag="NL3D::CTessBlock::_NextToModify" ></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="a03475.html">CTessBlock</a>* <a class="el" href="a03475.html#NL3D_1_1CTessBlockr0">NL3D::CTessBlock::_NextToModify</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="a06492.html#l00167">167</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00354">appendToModifyListAndDeleteFaceVector()</a>, <a class="el" href="a06491.html#l00042">CTessBlock()</a>, <a class="el" href="a06492.html#l00160">getNextToModify()</a>, and <a class="el" href="a06491.html#l00373">removeFromModifyList()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlockr1" doxytag="NL3D::CTessBlock::_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="a03475.html#NL3D_1_1CTessBlockr1">NL3D::CTessBlock::_Patch</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="a06492.html#l00163">163</a> of file <a class="el" href="a06492.html">tess_block.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlockr2" doxytag="NL3D::CTessBlock::_PrecToModify" ></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="a03475.html">CTessBlock</a>* <a class="el" href="a03475.html#NL3D_1_1CTessBlockr2">NL3D::CTessBlock::_PrecToModify</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="a06492.html#l00166">166</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00354">appendToModifyListAndDeleteFaceVector()</a>, <a class="el" href="a06491.html#l00042">CTessBlock()</a>, <a class="el" href="a06492.html#l00152">isInModifyList()</a>, and <a class="el" href="a06491.html#l00373">removeFromModifyList()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlockr3" doxytag="NL3D::CTessBlock::BBox" ></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="a02156.html">NLMISC::CAABBox</a> <a class="el" href="a03475.html#NL3D_1_1CTessBlockr3">NL3D::CTessBlock::BBox</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="a06492.html#l00073">73</a> of file <a class="el" href="a06492.html">tess_block.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlockr4" doxytag="NL3D::CTessBlock::BSphere" ></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="a02291.html">NLMISC::CBSphere</a> <a class="el" href="a03475.html#NL3D_1_1CTessBlockr4">NL3D::CTessBlock::BSphere</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="a06492.html#l00074">74</a> of file <a class="el" href="a06492.html">tess_block.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlockr5" doxytag="NL3D::CTessBlock::Clipped" ></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"> bool <a class="el" href="a03475.html#NL3D_1_1CTessBlockr5">NL3D::CTessBlock::Clipped</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="a06492.html#l00078">78</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00146">clip()</a>, <a class="el" href="a06491.html#l00042">CTessBlock()</a>, <a class="el" href="a06491.html#l00139">forceClip()</a>, <a class="el" href="a06492.html#l00132">getClipped()</a>, <a class="el" href="a06491.html#l00130">resetClip()</a>, <a class="el" href="a06492.html#l00133">visibleFar0()</a>, <a class="el" href="a06492.html#l00135">visibleFar1()</a>, and <a class="el" href="a06492.html#l00134">visibleTile()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocks0" doxytag="NL3D::CTessBlock::CurrentPyramid" ></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="a03082.html">CPlane</a> <a class="el" href="a03475.html#NL3D_1_1CTessBlocks0">NL3D::CTessBlock::CurrentPyramid</a><code> [static]</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="a06491.html#l00037">37</a> of file <a class="el" href="a06491.html">tess_block.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlockr6" doxytag="NL3D::CTessBlock::Empty" ></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"> bool <a class="el" href="a03475.html#NL3D_1_1CTessBlockr6">NL3D::CTessBlock::Empty</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="a06492.html#l00075">75</a> of file <a class="el" href="a06492.html">tess_block.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlockr7" doxytag="NL3D::CTessBlock::EmptyFar1" ></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"> bool <a class="el" href="a03475.html#NL3D_1_1CTessBlockr7">NL3D::CTessBlock::EmptyFar1</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="a06492.html#l00080">80</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00160">clipFar()</a>, <a class="el" href="a06491.html#l00042">CTessBlock()</a>, <a class="el" href="a06491.html#l00130">resetClip()</a>, and <a class="el" href="a06492.html#l00135">visibleFar1()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocko0" doxytag="NL3D::CTessBlock::FaceTileMaterialRefCount" ></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#a15">uint</a> <a class="el" href="a03475.html#NL3D_1_1CTessBlocko0">NL3D::CTessBlock::FaceTileMaterialRefCount</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06492.html#l00092">92</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +Referenced by <a class="el" href="a06155.html#l00800">NL3D::CPatch::appendFaceToRenderList()</a>, <a class="el" href="a06491.html#l00042">CTessBlock()</a>, <a class="el" href="a06161.html#l00249">NL3D::CPatch::preRender()</a>, and <a class="el" href="a06155.html#l00848">NL3D::CPatch::removeFaceFromRenderList()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocko1" doxytag="NL3D::CTessBlock::Far0FaceVector" ></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#a11">uint32</a>* <a class="el" href="a03475.html#NL3D_1_1CTessBlocko1">NL3D::CTessBlock::Far0FaceVector</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06492.html#l00067">67</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00198">createFaceVectorFar0()</a>, <a class="el" href="a06491.html#l00042">CTessBlock()</a>, <a class="el" href="a06491.html#l00213">deleteFaceVectorFar0()</a>, <a class="el" href="a06491.html#l00177">refillFaceVectorFar0()</a>, and <a class="el" href="a06161.html#l00528">NL3D::CPatch::renderFar0()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocko2" doxytag="NL3D::CTessBlock::Far1FaceVector" ></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#a11">uint32</a>* <a class="el" href="a03475.html#NL3D_1_1CTessBlocko2">NL3D::CTessBlock::Far1FaceVector</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06492.html#l00068">68</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00242">createFaceVectorFar1()</a>, <a class="el" href="a06491.html#l00042">CTessBlock()</a>, <a class="el" href="a06491.html#l00256">deleteFaceVectorFar1()</a>, <a class="el" href="a06491.html#l00223">refillFaceVectorFar1()</a>, and <a class="el" href="a06161.html#l00560">NL3D::CPatch::renderFar1()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocko3" doxytag="NL3D::CTessBlock::FarFaceList" ></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="a03064.html">CTessList</a><<a class="el" href="a03476.html">CTessFace</a>> <a class="el" href="a03475.html#NL3D_1_1CTessBlocko3">NL3D::CTessBlock::FarFaceList</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06492.html#l00089">89</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +Referenced by <a class="el" href="a06155.html#l00800">NL3D::CPatch::appendFaceToRenderList()</a>, <a class="el" href="a06491.html#l00198">createFaceVectorFar0()</a>, <a class="el" href="a06491.html#l00242">createFaceVectorFar1()</a>, <a class="el" href="a06491.html#l00177">refillFaceVectorFar0()</a>, <a class="el" href="a06491.html#l00223">refillFaceVectorFar1()</a>, <a class="el" href="a06155.html#l00848">NL3D::CPatch::removeFaceFromRenderList()</a>, and <a class="el" href="a06155.html#l00709">NL3D::CPatch::resetMasterBlock()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocko4" doxytag="NL3D::CTessBlock::FarVertexList" ></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="a03064.html">CTessList</a><<a class="el" href="a03480.html">CTessFarVertex</a>> <a class="el" href="a03475.html#NL3D_1_1CTessBlocko4">NL3D::CTessBlock::FarVertexList</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06492.html#l00085">85</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +Referenced by <a class="el" href="a06161.html#l00873">NL3D::CPatch::allocateVBAndFaceVectorFar1Only()</a>, <a class="el" href="a06155.html#l01040">NL3D::CPatch::appendFarVertexToRenderList()</a>, <a class="el" href="a06161.html#l01378">NL3D::CPatch::computeSoftwareGeomorphAndAlpha()</a>, <a class="el" href="a06161.html#l00914">NL3D::CPatch::debugAllocationMarkIndices()</a>, <a class="el" href="a06161.html#l00854">NL3D::CPatch::deleteVBAndFaceVectorFar1Only()</a>, <a class="el" href="a06161.html#l01198">NL3D::CPatch::fillVB()</a>, <a class="el" href="a06161.html#l01256">NL3D::CPatch::fillVBFar0Only()</a>, <a class="el" href="a06161.html#l01274">NL3D::CPatch::fillVBFar1Only()</a>, <a class="el" href="a06161.html#l01720">NL3D::CPatch::fillVBFarsDLMUvOnly()</a>, <a class="el" href="a06161.html#l00249">NL3D::CPatch::preRender()</a>, <a class="el" href="a06155.html#l01062">NL3D::CPatch::removeFarVertexFromRenderList()</a>, <a class="el" href="a06155.html#l00709">NL3D::CPatch::resetMasterBlock()</a>, and <a class="el" href="a06161.html#l00789">NL3D::CPatch::updateVBAlloc()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlockr8" doxytag="NL3D::CTessBlock::FullFar1" ></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"> bool <a class="el" href="a03475.html#NL3D_1_1CTessBlockr8">NL3D::CTessBlock::FullFar1</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="a06492.html#l00079">79</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00160">clipFar()</a>, <a class="el" href="a06491.html#l00042">CTessBlock()</a>, <a class="el" href="a06491.html#l00130">resetClip()</a>, <a class="el" href="a06492.html#l00133">visibleFar0()</a>, and <a class="el" href="a06492.html#l00134">visibleTile()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocko5" doxytag="NL3D::CTessBlock::LightMapId" ></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#a15">uint</a> <a class="el" href="a03475.html#NL3D_1_1CTessBlocko5">NL3D::CTessBlock::LightMapId</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06492.html#l00098">98</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +Referenced by <a class="el" href="a06157.html#l01191">NL3D::CPatch::getTileLightMap()</a>, <a class="el" href="a06157.html#l01225">NL3D::CPatch::getTileLightMapUvInfo()</a>, <a class="el" href="a06157.html#l01247">NL3D::CPatch::releaseTileLightMap()</a>, and <a class="el" href="a06157.html#l01909">NL3D::CPatch::updateTessBlockLighting()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocko6" doxytag="NL3D::CTessBlock::LightMapRdrPass" ></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="a03069.html">CPatchRdrPass</a>* <a class="el" href="a03475.html#NL3D_1_1CTessBlocko6">NL3D::CTessBlock::LightMapRdrPass</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06492.html#l00100">100</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +Referenced by <a class="el" href="a06157.html#l01191">NL3D::CPatch::getTileLightMap()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocko7" doxytag="NL3D::CTessBlock::LightMapRefCount" ></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#a15">uint</a> <a class="el" href="a03475.html#NL3D_1_1CTessBlocko7">NL3D::CTessBlock::LightMapRefCount</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06492.html#l00099">99</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00042">CTessBlock()</a>, <a class="el" href="a06157.html#l01191">NL3D::CPatch::getTileLightMap()</a>, <a class="el" href="a06157.html#l01247">NL3D::CPatch::releaseTileLightMap()</a>, <a class="el" href="a06157.html#l01909">NL3D::CPatch::updateTessBlockLighting()</a>, and <a class="el" href="a06491.html#l00077">~CTessBlock()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocko8" doxytag="NL3D::CTessBlock::NearVertexList" ></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="a03064.html">CTessList</a><<a class="el" href="a03481.html">CTessNearVertex</a>> <a class="el" href="a03475.html#NL3D_1_1CTessBlocko8">NL3D::CTessBlock::NearVertexList</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06492.html#l00086">86</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +Referenced by <a class="el" href="a06161.html#l01378">NL3D::CPatch::computeSoftwareGeomorphAndAlpha()</a>, <a class="el" href="a06161.html#l00914">NL3D::CPatch::debugAllocationMarkIndices()</a>, <a class="el" href="a06161.html#l01198">NL3D::CPatch::fillVB()</a>, <a class="el" href="a06161.html#l00249">NL3D::CPatch::preRender()</a>, <a class="el" href="a06155.html#l00709">NL3D::CPatch::resetMasterBlock()</a>, and <a class="el" href="a06161.html#l00789">NL3D::CPatch::updateVBAlloc()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocko9" doxytag="NL3D::CTessBlock::RdrTileRoot" ></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="a03530.html">CTileMaterial</a>* <a class="el" href="a03475.html#NL3D_1_1CTessBlocko9">NL3D::CTessBlock::RdrTileRoot</a>[ 4 ] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06492.html#l00090">90</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00302">createFaceVectorTile()</a>, <a class="el" href="a06491.html#l00042">CTessBlock()</a>, <a class="el" href="a06491.html#l00329">deleteFaceVectorTile()</a>, <a class="el" href="a06161.html#l00249">NL3D::CPatch::preRender()</a>, and <a class="el" href="a06491.html#l00267">refillFaceVectorTile()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocko10" doxytag="NL3D::CTessBlock::TileMaterialRefCount" ></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#a15">uint</a> <a class="el" href="a03475.html#NL3D_1_1CTessBlocko10">NL3D::CTessBlock::TileMaterialRefCount</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06492.html#l00094">94</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +Referenced by <a class="el" href="a06155.html#l00955">NL3D::CPatch::appendTileMaterialToRenderList()</a>, <a class="el" href="a06491.html#l00042">CTessBlock()</a>, <a class="el" href="a06156.html#l00788">NL3D::CPatch::getTileMaterialRefCount()</a>, and <a class="el" href="a06155.html#l01002">NL3D::CPatch::removeTileMaterialFromRenderList()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTessBlocko11" doxytag="NL3D::CTessBlock::VegetableBlock" ></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="a02717.html">CLandscapeVegetableBlock</a>* <a class="el" href="a03475.html#NL3D_1_1CTessBlocko11">NL3D::CTessBlock::VegetableBlock</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06492.html#l00104">104</a> of file <a class="el" href="a06492.html">tess_block.h</a>. +<p> +Referenced by <a class="el" href="a06491.html#l00042">CTessBlock()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06492.html">tess_block.h</a><li><a class="el" href="a06491.html">tess_block.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:48:02 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> |