aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02371.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/a02371.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a02371.html602
1 files changed, 602 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02371.html b/docs/doxygen/nel/a02371.html
new file mode 100644
index 00000000..51fef992
--- /dev/null
+++ b/docs/doxygen/nel/a02371.html
@@ -0,0 +1,602 @@
+<!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::CCoarseMeshManager class Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NL3D::CCoarseMeshManager Class Reference</h1><code>#include &lt;<a class="el" href="a05570.html">coarse_mesh_manager.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Management of coarse meshes.<p>
+This container will render meshes with very low polygon count efficiently.<p>
+All coarse meshes must use a common vertex format. It is a pos + UV vertex format. (NL3D_COARSEMESH_VERTEX_FORMAT_EXPORT)<p>
+Internally the <a class="el" href="a02371.html">CCoarseMeshManager</a> store meshes with pos + UV + color vertex format, to color instances (NL3D_COARSEMESH_VERTEX_FORMAT_MGR)<p>
+Coarse meshes must use indexed triangle primitive in a single render pass in a single matrix block.<p>
+All coarse meshes musts use a single material. It is a simple mapping with alpha test rendering and a common texture.<p>
+The coarse meshes must have been preprocessed to build the common texture and remap the UV mapping coordinates in the new common texture.<p>
+The manager must have been setuped with the common texture.<p>
+<dl compact><dt><b>Author:</b></dt><dd>Cyril 'Hulud' Corvazier, Lionel Berenguier <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05570.html#l00085">85</a> of file <a class="el" href="a05570.html">coarse_mesh_manager.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>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02371.html#NL3D_1_1CCoarseMeshManagera0">addMesh</a> (<a class="el" href="a04558.html#a15">uint</a> numVertices, const <a class="el" href="a04558.html#a7">uint8</a> *vBuffer, <a class="el" href="a04558.html#a15">uint</a> numTris, const <a class="el" href="a04558.html#a11">uint32</a> *indexBuffer)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02371.html#NL3D_1_1CCoarseMeshManagera1">CCoarseMeshManager</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CCoarseMeshManagera1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02371.html#NL3D_1_1CCoarseMeshManagera2">flushRender</a> (<a class="el" href="a02434.html">IDriver</a> *drv)</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="a02371.html#NL3D_1_1CCoarseMeshManagera3">getColorOff</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02839.html">CMaterial</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02371.html#NL3D_1_1CCoarseMeshManagera4">getMaterial</a> ()</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="a02371.html#NL3D_1_1CCoarseMeshManagera5">getUVOff</a> () const </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="a02371.html#NL3D_1_1CCoarseMeshManagera6">getVertexSize</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the VertexSize of the MGR format. <a href="#NL3D_1_1CCoarseMeshManagera6"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02371.html#NL3D_1_1CCoarseMeshManagera7">setTextureFile</a> (const char *<a class="el" href="a04115.html#a95">file</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set texture file to use with this coarse mesh. <a href="#NL3D_1_1CCoarseMeshManagera7"></a><br><br></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="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02371.html#NL3D_1_1CCoarseMeshManagerr0">_CurrentNumTriangles</a></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="a02371.html#NL3D_1_1CCoarseMeshManagerr1">_CurrentNumVertices</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02839.html">CMaterial</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02371.html#NL3D_1_1CCoarseMeshManagerr2">_Material</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03408.html">CSmartPtr</a>&lt; <a class="el" href="a03502.html">CTextureFile</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02371.html#NL3D_1_1CCoarseMeshManagerr3">_Texture</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a04558.html#a11">uint32</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02371.html#NL3D_1_1CCoarseMeshManagerr4">_Triangles</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03692.html">CVertexBuffer</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02371.html#NL3D_1_1CCoarseMeshManagerr5">_VBuffer</a></td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CCoarseMeshManagera1" doxytag="NL3D::CCoarseMeshManager::CCoarseMeshManager" ></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::CCoarseMeshManager::CCoarseMeshManager </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor.
+<p>
+ </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CCoarseMeshManagera0" doxytag="NL3D::CCoarseMeshManager::addMesh" ></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::CCoarseMeshManager::addMesh </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>numVertices</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a04558.html#a7">uint8</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>vBuffer</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>numTris</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a04558.html#a11">uint32</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>indexBuffer</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a coarse mesh in the manager. If an error occured, it returns CantAddCoarseMesh. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>vBuffer</em>&nbsp;</td><td>the VertexBuffer pre-transformed / Colored. Size MUST be numVertices*NL3D_COARSEMESH_VERTEX_FORMAT_MGR </td></tr>
+ <tr><td valign=top><em>indexBuffer</em>&nbsp;</td><td>containing triangles that will be inserted. </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>false if the mesh can't be added to this pass BECAUSE OF TOO MANY VERTICES or TOO MANY PRIMITIVES reason You may call <a class="el" href="a02371.html#NL3D_1_1CCoarseMeshManagera2">flushRender()</a>, then restart a block. NB: if numVertices&gt;NL3D_COARSEMESH_VERTEXBUFFER_SIZE or if numTriangles&gt;NL3D_COARSEMESH_TRIANGLE_SIZE, it will always return false</dd></dl>
+
+<p>
+Definition at line <a class="el" href="a05569.html#l00084">84</a> of file <a class="el" href="a05569.html">coarse_mesh_manager.cpp</a>.
+<p>
+References <a class="el" href="a05570.html#l00126">_CurrentNumTriangles</a>, <a class="el" href="a05570.html#l00125">_CurrentNumVertices</a>, <a class="el" href="a05570.html#l00124">_Triangles</a>, <a class="el" href="a05570.html#l00123">_VBuffer</a>, <a class="el" href="a06710.html#l00438">NL3D::CVertexBuffer::getVertexCoordPointer()</a>, <a class="el" href="a06711.html#l00473">NL3D::CVertexBuffer::getVertexSize()</a>, <a class="el" href="a05788.html#l00064">H_AUTO_USE</a>, <a class="el" href="a05570.html#l00045">NL3D_COARSEMESH_TRIANGLE_SIZE</a>, <a class="el" href="a05570.html#l00043">NL3D_COARSEMESH_VERTEXBUFFER_SIZE</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+Referenced by <a class="el" href="a06016.html#l00496">NL3D::CMeshMultiLod::renderCoarseMesh()</a>.
+<p>
+<div class="fragment"><pre>00085 {
+00086 <a class="code" href="a04365.html#a7">H_AUTO_USE</a>( NL3D_StaticLod_AddMesh );
+00087
+00088 <span class="comment">// if 0 mesh, quit</span>
+00089 <span class="keywordflow">if</span>(numTris==0 || numVertices==0)
+00090 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00091
+00092 <span class="comment">// check vertex size</span>
+00093 <span class="keywordflow">if</span>(<a class="code" href="a02371.html#NL3D_1_1CCoarseMeshManagerr1">_CurrentNumVertices</a> + numVertices &gt; <a class="code" href="a04147.html#a0">NL3D_COARSEMESH_VERTEXBUFFER_SIZE</a>)
+00094 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00095
+00096 <span class="comment">// check tri size</span>
+00097 <span class="keywordflow">if</span>(<a class="code" href="a02371.html#NL3D_1_1CCoarseMeshManagerr0">_CurrentNumTriangles</a> + numTris&gt; <a class="code" href="a04147.html#a1">NL3D_COARSEMESH_TRIANGLE_SIZE</a>)
+00098 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00099
+00100 <span class="comment">// Copy Vertices to VBuffer</span>
+00101 <a class="code" href="a04558.html#a15">uint</a> baseVertex= <a class="code" href="a02371.html#NL3D_1_1CCoarseMeshManagerr1">_CurrentNumVertices</a>;
+00102 CFastMem::memcpy(<a class="code" href="a02371.html#NL3D_1_1CCoarseMeshManagerr5">_VBuffer</a>.getVertexCoordPointer(baseVertex), vBuffer, numVertices*<a class="code" href="a02371.html#NL3D_1_1CCoarseMeshManagerr5">_VBuffer</a>.getVertexSize());
+00103 <span class="comment">// next</span>
+00104 _CurrentNumVertices+= numVertices;
+00105
+00106 <span class="comment">// Copy tris to triangles, adding baseVertex to index</span>
+00107 <a class="code" href="a04558.html#a11">uint32</a> *triDst= &amp;<a class="code" href="a02371.html#NL3D_1_1CCoarseMeshManagerr4">_Triangles</a>[<a class="code" href="a02371.html#NL3D_1_1CCoarseMeshManagerr0">_CurrentNumTriangles</a>*3];
+00108 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> *triSrc= indexBuffer;
+00109 <a class="code" href="a04558.html#a15">uint</a> numIdx= numTris*3;
+00110 <span class="comment">// NB: for the majority of CoarseMesh (4 faces==48 bytes of indices), not interressant to use CFastMem::precache()</span>
+00111 <span class="keywordflow">for</span>(;numIdx&gt;0;numIdx--, triSrc++, triDst++)
+00112 {
+00113 *triDst= *triSrc + baseVertex;
+00114 }
+00115 <span class="comment">// next</span>
+00116 <a class="code" href="a02371.html#NL3D_1_1CCoarseMeshManagerr0">_CurrentNumTriangles</a>+= numTris;
+00117
+00118 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00119 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CCoarseMeshManagera2" doxytag="NL3D::CCoarseMeshManager::flushRender" ></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::CCoarseMeshManager::flushRender </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02434.html">IDriver</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>drv</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Render the container
+<p>
+Definition at line <a class="el" href="a05569.html#l00123">123</a> of file <a class="el" href="a05569.html">coarse_mesh_manager.cpp</a>.
+<p>
+References <a class="el" href="a05570.html#l00126">_CurrentNumTriangles</a>, <a class="el" href="a05570.html#l00125">_CurrentNumVertices</a>, <a class="el" href="a05570.html#l00124">_Triangles</a>, <a class="el" href="a05570.html#l00123">_VBuffer</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera2">NL3D::IDriver::activeVertexBuffer()</a>, <a class="el" href="a05788.html#l00056">H_AUTO</a>, <a class="el" href="a02434.html#NL3D_1_1IDrivera56">NL3D::IDriver::renderTriangles()</a>, and <a class="el" href="a02434.html#NL3D_1_1IDrivera68">NL3D::IDriver::setupModelMatrix()</a>.
+<p>
+Referenced by <a class="el" href="a06016.html#l00496">NL3D::CMeshMultiLod::renderCoarseMesh()</a>, and <a class="el" href="a06329.html#l00089">NL3D::CRenderTrav::traverse()</a>.
+<p>
+<div class="fragment"><pre>00124 {
+00125 <a class="code" href="a04365.html#a4">H_AUTO</a>( NL3D_StaticLod_Render );
+00126
+00127 <span class="comment">// If not empty, render</span>
+00128 <span class="keywordflow">if</span>(<a class="code" href="a02371.html#NL3D_1_1CCoarseMeshManagerr1">_CurrentNumVertices</a> &amp;&amp; <a class="code" href="a02371.html#NL3D_1_1CCoarseMeshManagerr0">_CurrentNumTriangles</a>)
+00129 {
+00130 <span class="comment">// Set Ident matrix</span>
+00131 drv-&gt;setupModelMatrix (CMatrix::Identity);
+00132
+00133 <span class="comment">// Set VB</span>
+00134 drv-&gt;activeVertexBuffer(_VBuffer);
+00135
+00136 <span class="comment">// render</span>
+00137 drv-&gt;renderTriangles(_Material, &amp;_Triangles[0], _CurrentNumTriangles);
+00138 }
+00139
+00140 <span class="comment">// reset</span>
+00141 <a class="code" href="a02371.html#NL3D_1_1CCoarseMeshManagerr1">_CurrentNumVertices</a>= 0;
+00142 <a class="code" href="a02371.html#NL3D_1_1CCoarseMeshManagerr0">_CurrentNumTriangles</a>= 0;
+00143 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CCoarseMeshManagera3" doxytag="NL3D::CCoarseMeshManager::getColorOff" ></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::CCoarseMeshManager::getColorOff </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<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="a05570.html#l00119">119</a> of file <a class="el" href="a05570.html">coarse_mesh_manager.h</a>.
+<p>
+References <a class="el" href="a05570.html#l00123">_VBuffer</a>, <a class="el" href="a06711.html#l00340">NL3D::CVertexBuffer::getColorOff()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06016.html#l00496">NL3D::CMeshMultiLod::renderCoarseMesh()</a>.
+<p>
+<div class="fragment"><pre>00119 {<span class="keywordflow">return</span> (<a class="code" href="a04558.html#a15">uint</a>)<a class="code" href="a02371.html#NL3D_1_1CCoarseMeshManagerr5">_VBuffer</a>.getColorOff();}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CCoarseMeshManagera4" doxytag="NL3D::CCoarseMeshManager::getMaterial" ></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="a02839.html">CMaterial</a>&amp; NL3D::CCoarseMeshManager::getMaterial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get material of the container. For rendering purpose only.
+<p>
+Definition at line <a class="el" href="a05570.html#l00114">114</a> of file <a class="el" href="a05570.html">coarse_mesh_manager.h</a>.
+<p>
+Referenced by <a class="el" href="a06016.html#l00446">NL3D::CMeshMultiLod::renderMeshGeom()</a>.
+<p>
+<div class="fragment"><pre>00114 {<span class="keywordflow">return</span> <a class="code" href="a02371.html#NL3D_1_1CCoarseMeshManagerr2">_Material</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CCoarseMeshManagera5" doxytag="NL3D::CCoarseMeshManager::getUVOff" ></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::CCoarseMeshManager::getUVOff </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<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="a05570.html#l00118">118</a> of file <a class="el" href="a05570.html">coarse_mesh_manager.h</a>.
+<p>
+References <a class="el" href="a05570.html#l00123">_VBuffer</a>, <a class="el" href="a06711.html#l00339">NL3D::CVertexBuffer::getTexCoordOff()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06016.html#l00496">NL3D::CMeshMultiLod::renderCoarseMesh()</a>.
+<p>
+<div class="fragment"><pre>00118 {<span class="keywordflow">return</span> (<a class="code" href="a04558.html#a15">uint</a>)<a class="code" href="a02371.html#NL3D_1_1CCoarseMeshManagerr5">_VBuffer</a>.getTexCoordOff(0);}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CCoarseMeshManagera6" doxytag="NL3D::CCoarseMeshManager::getVertexSize" ></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::CCoarseMeshManager::getVertexSize </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the VertexSize of the MGR format.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05570.html#l00117">117</a> of file <a class="el" href="a05570.html">coarse_mesh_manager.h</a>.
+<p>
+References <a class="el" href="a05570.html#l00123">_VBuffer</a>, <a class="el" href="a06711.html#l00473">NL3D::CVertexBuffer::getVertexSize()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06016.html#l00740">NL3D::CMeshMultiLod::instanciateCoarseMeshSpace()</a>, and <a class="el" href="a06016.html#l00496">NL3D::CMeshMultiLod::renderCoarseMesh()</a>.
+<p>
+<div class="fragment"><pre>00117 {<span class="keywordflow">return</span> <a class="code" href="a02371.html#NL3D_1_1CCoarseMeshManagerr5">_VBuffer</a>.getVertexSize();}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CCoarseMeshManagera7" doxytag="NL3D::CCoarseMeshManager::setTextureFile" ></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::CCoarseMeshManager::setTextureFile </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const char *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>file</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set texture file to use with this coarse mesh.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05569.html#l00077">77</a> of file <a class="el" href="a05569.html">coarse_mesh_manager.cpp</a>.
+<p>
+References <a class="el" href="a05538.html#l02654">file</a>.
+<p>
+Referenced by <a class="el" href="a06348.html#l00134">NL3D::CScene::CScene()</a>, and <a class="el" href="a06352.html#l00194">NL3D::CSceneUser::setCoarseMeshManagerTexture()</a>.
+<p>
+<div class="fragment"><pre>00078 {
+00079 <a class="code" href="a02371.html#NL3D_1_1CCoarseMeshManagerr3">_Texture</a>-&gt;setFileName (file);
+00080 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CCoarseMeshManagerr0" doxytag="NL3D::CCoarseMeshManager::_CurrentNumTriangles" ></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="a02371.html#NL3D_1_1CCoarseMeshManagerr0">NL3D::CCoarseMeshManager::_CurrentNumTriangles</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="a05570.html#l00126">126</a> of file <a class="el" href="a05570.html">coarse_mesh_manager.h</a>.
+<p>
+Referenced by <a class="el" href="a05569.html#l00084">addMesh()</a>, and <a class="el" href="a05569.html#l00123">flushRender()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CCoarseMeshManagerr1" doxytag="NL3D::CCoarseMeshManager::_CurrentNumVertices" ></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="a02371.html#NL3D_1_1CCoarseMeshManagerr1">NL3D::CCoarseMeshManager::_CurrentNumVertices</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="a05570.html#l00125">125</a> of file <a class="el" href="a05570.html">coarse_mesh_manager.h</a>.
+<p>
+Referenced by <a class="el" href="a05569.html#l00084">addMesh()</a>, and <a class="el" href="a05569.html#l00123">flushRender()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CCoarseMeshManagerr2" doxytag="NL3D::CCoarseMeshManager::_Material" ></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="a02839.html">CMaterial</a> <a class="el" href="a02371.html#NL3D_1_1CCoarseMeshManagerr2">NL3D::CCoarseMeshManager::_Material</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="a05570.html#l00132">132</a> of file <a class="el" href="a05570.html">coarse_mesh_manager.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CCoarseMeshManagerr3" doxytag="NL3D::CCoarseMeshManager::_Texture" ></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="a03408.html">CSmartPtr</a>&lt;<a class="el" href="a03502.html">CTextureFile</a>&gt; <a class="el" href="a02371.html#NL3D_1_1CCoarseMeshManagerr3">NL3D::CCoarseMeshManager::_Texture</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="a05570.html#l00129">129</a> of file <a class="el" href="a05570.html">coarse_mesh_manager.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CCoarseMeshManagerr4" doxytag="NL3D::CCoarseMeshManager::_Triangles" ></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"> std::vector&lt;<a class="el" href="a04558.html#a11">uint32</a>&gt; <a class="el" href="a02371.html#NL3D_1_1CCoarseMeshManagerr4">NL3D::CCoarseMeshManager::_Triangles</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="a05570.html#l00124">124</a> of file <a class="el" href="a05570.html">coarse_mesh_manager.h</a>.
+<p>
+Referenced by <a class="el" href="a05569.html#l00084">addMesh()</a>, and <a class="el" href="a05569.html#l00123">flushRender()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CCoarseMeshManagerr5" doxytag="NL3D::CCoarseMeshManager::_VBuffer" ></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="a03692.html">CVertexBuffer</a> <a class="el" href="a02371.html#NL3D_1_1CCoarseMeshManagerr5">NL3D::CCoarseMeshManager::_VBuffer</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="a05570.html#l00123">123</a> of file <a class="el" href="a05570.html">coarse_mesh_manager.h</a>.
+<p>
+Referenced by <a class="el" href="a05569.html#l00084">addMesh()</a>, <a class="el" href="a05569.html#l00123">flushRender()</a>, <a class="el" href="a05570.html#l00119">getColorOff()</a>, <a class="el" href="a05570.html#l00118">getUVOff()</a>, and <a class="el" href="a05570.html#l00117">getVertexSize()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a05570.html">coarse_mesh_manager.h</a><li><a class="el" href="a05569.html">coarse_mesh_manager.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:45:24 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>