aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03700.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a03700.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a03700.html')
-rw-r--r--docs/doxygen/nel/a03700.html325
1 files changed, 325 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03700.html b/docs/doxygen/nel/a03700.html
new file mode 100644
index 00000000..3fa840f3
--- /dev/null
+++ b/docs/doxygen/nel/a03700.html
@@ -0,0 +1,325 @@
+<!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::CVertexCache struct Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NL3D::CVertexCache Struct Reference</h1><table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03700.html#NL3D_1_1CVertexCachea0">CVertexCache</a> (<a class="el" href="a04558.html#a14">sint</a> cacheSize, <a class="el" href="a04558.html#a14">sint</a> nbVerts)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03700.html#NL3D_1_1CVertexCachea1">getVertexInCache</a> (<a class="el" href="a04558.html#a15">uint</a> vertIdInCache)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03700.html#NL3D_1_1CVertexCachea2">isVertexInCache</a> (<a class="el" href="a04558.html#a15">uint</a> vert)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03700.html#NL3D_1_1CVertexCachea3">tempTouchVertex</a> (<a class="el" href="a04558.html#a15">uint</a> vert, bool inCache)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03700.html#NL3D_1_1CVertexCachea4">touchVertex</a> (<a class="el" href="a04558.html#a15">uint</a> vert)</td></tr>
+
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>deque&lt; <a class="el" href="a04558.html#a11">uint32</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03700.html#NL3D_1_1CVertexCacher0">_Cache</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>vector&lt; <a class="el" href="a04558.html#a7">uint8</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03700.html#NL3D_1_1CVertexCacher1">_VertexInCache</a></td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CVertexCachea0" doxytag="NL3D::CVertexCache::CVertexCache" ></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::CVertexCache::CVertexCache </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>cacheSize</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>nbVerts</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06473.html#l00103">103</a> of file <a class="el" href="a06473.html">stripifier.cpp</a>.
+<p>
+References <a class="el" href="a06473.html#l00152">_VertexInCache</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+<div class="fragment"><pre>00104 {
+00105 <a class="code" href="a03700.html#NL3D_1_1CVertexCacher1">_VertexInCache</a>.resize(nbVerts, 0);
+00106 <a class="code" href="a03700.html#NL3D_1_1CVertexCacher0">_Cache</a>.resize(cacheSize, 0xFFFFFFFF);
+00107 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CVertexCachea1" doxytag="NL3D::CVertexCache::getVertexInCache" ></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> NL3D::CVertexCache::getVertexInCache </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>vertIdInCache</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06473.html#l00134">134</a> of file <a class="el" href="a06473.html">stripifier.cpp</a>.
+<p>
+References <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06473.html#l00196">NL3D::CStripifier::optimizeTriangles()</a>.
+<p>
+<div class="fragment"><pre>00135 {
+00136 <span class="keywordflow">return</span> <a class="code" href="a03700.html#NL3D_1_1CVertexCacher0">_Cache</a>[vertIdInCache];
+00137 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexCachea2" doxytag="NL3D::CVertexCache::isVertexInCache" ></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::CVertexCache::isVertexInCache </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>vert</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06473.html#l00128">128</a> of file <a class="el" href="a06473.html">stripifier.cpp</a>.
+<p>
+References <a class="el" href="a06473.html#l00152">_VertexInCache</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06473.html#l00173">NL3D::COrderFace::countCacheMiss()</a>, and <a class="el" href="a06473.html#l00109">touchVertex()</a>.
+<p>
+<div class="fragment"><pre>00129 {
+00130 <span class="keywordflow">return</span> <a class="code" href="a03700.html#NL3D_1_1CVertexCacher1">_VertexInCache</a>[vert]==3;
+00131 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexCachea3" doxytag="NL3D::CVertexCache::tempTouchVertex" ></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::CVertexCache::tempTouchVertex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>vert</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap> <em>inCache</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06473.html#l00139">139</a> of file <a class="el" href="a06473.html">stripifier.cpp</a>.
+<p>
+References <a class="el" href="a06473.html#l00152">_VertexInCache</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06473.html#l00196">NL3D::CStripifier::optimizeTriangles()</a>.
+<p>
+<div class="fragment"><pre>00140 {
+00141 <span class="keywordflow">if</span>( <a class="code" href="a03700.html#NL3D_1_1CVertexCacher1">_VertexInCache</a>[vert]&amp;1 )
+00142 {
+00143 <span class="keywordflow">if</span>(inCache)
+00144 <a class="code" href="a03700.html#NL3D_1_1CVertexCacher1">_VertexInCache</a>[vert]|= 2;
+00145 <span class="keywordflow">else</span>
+00146 <a class="code" href="a03700.html#NL3D_1_1CVertexCacher1">_VertexInCache</a>[vert]&amp;= 1;
+00147 }
+00148 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexCachea4" doxytag="NL3D::CVertexCache::touchVertex" ></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::CVertexCache::touchVertex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>vert</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06473.html#l00109">109</a> of file <a class="el" href="a06473.html">stripifier.cpp</a>.
+<p>
+References <a class="el" href="a06473.html#l00152">_VertexInCache</a>, <a class="el" href="a06473.html#l00128">isVertexInCache()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06473.html#l00164">NL3D::COrderFace::insertInPB()</a>.
+<p>
+<div class="fragment"><pre>00110 {
+00111 <span class="keywordflow">if</span>(<a class="code" href="a03700.html#NL3D_1_1CVertexCachea2">isVertexInCache</a>(vert))
+00112 {
+00113 <span class="comment">// do nothing ?????? depends of vcache implementation</span>
+00114 }
+00115 <span class="keywordflow">else</span>
+00116 {
+00117 <span class="comment">// pop front</span>
+00118 <a class="code" href="a04558.html#a15">uint</a> removed= <a class="code" href="a03700.html#NL3D_1_1CVertexCacher0">_Cache</a>.front();
+00119 <span class="keywordflow">if</span>(removed!=0xFFFFFFFF)
+00120 <a class="code" href="a03700.html#NL3D_1_1CVertexCacher1">_VertexInCache</a>[removed]= 0;
+00121 <a class="code" href="a03700.html#NL3D_1_1CVertexCacher0">_Cache</a>.pop_front();
+00122 <span class="comment">// push_back</span>
+00123 <a class="code" href="a03700.html#NL3D_1_1CVertexCacher1">_VertexInCache</a>[vert]= 3;
+00124 <a class="code" href="a03700.html#NL3D_1_1CVertexCacher0">_Cache</a>.push_back(vert);
+00125 }
+00126 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CVertexCacher0" doxytag="NL3D::CVertexCache::_Cache" ></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"> deque&lt;<a class="el" href="a04558.html#a11">uint32</a>&gt; <a class="el" href="a03700.html#NL3D_1_1CVertexCacher0">NL3D::CVertexCache::_Cache</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06473.html#l00153">153</a> of file <a class="el" href="a06473.html">stripifier.cpp</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexCacher1" doxytag="NL3D::CVertexCache::_VertexInCache" ></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"> vector&lt;<a class="el" href="a04558.html#a7">uint8</a>&gt; <a class="el" href="a03700.html#NL3D_1_1CVertexCacher1">NL3D::CVertexCache::_VertexInCache</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06473.html#l00152">152</a> of file <a class="el" href="a06473.html">stripifier.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06473.html#l00103">CVertexCache()</a>, <a class="el" href="a06473.html#l00128">isVertexInCache()</a>, <a class="el" href="a06473.html#l00139">tempTouchVertex()</a>, and <a class="el" href="a06473.html#l00109">touchVertex()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a06473.html">stripifier.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:25:51 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>