aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02857.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/a02857.html')
-rw-r--r--docs/doxygen/nel/a02857.html3336
1 files changed, 3336 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02857.html b/docs/doxygen/nel/a02857.html
new file mode 100644
index 00000000..994984d5
--- /dev/null
+++ b/docs/doxygen/nel/a02857.html
@@ -0,0 +1,3336 @@
+<!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::CMesh 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::CMesh Class Reference</h1><code>#include &lt;<a class="el" href="a05990.html">mesh.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CMesh:
+<p><center><img src="a02857.png" usemap="#NL3D::CMesh_map" border="0" alt=""></center>
+<map name="NL3D::CMesh_map">
+<area href="a02858.html" alt="NL3D::CMeshBase" shape="rect" coords="70,168,201,192">
+<area href="a02539.html" alt="NL3D::IShape" shape="rect" coords="70,112,201,136">
+<area href="a02209.html" alt="NLMISC::CRefCount" shape="rect" coords="0,56,131,80">
+<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="141,56,272,80">
+<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="141,0,272,24">
+</map>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+An instanciable mesh. Skinning support: support only palette skinning. <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="a05990.html#l00077">77</a> of file <a class="el" href="a05990.html">mesh.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&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMesha0">build</a> (<a class="el" href="a02872.html">CMeshBase::CMeshBaseBuild</a> &amp;mbuild, <a class="el" href="a02878.html">CMeshGeom</a> &amp;meshGeom)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Build a mesh from material info, and a builded MeshGeom. WARNING: This has a side effect of deleting AnimatedMaterials. <a href="#NL3D_1_1CMesha0"></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="a02857.html#NL3D_1_1CMesha1">build</a> (<a class="el" href="a02872.html">CMeshBase::CMeshBaseBuild</a> &amp;mbase, <a class="el" href="a02864.html">CMeshBuild</a> &amp;mbuild)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Build a mesh, replacing old. WARNING: This has a side effect of deleting AnimatedMaterials. <a href="#NL3D_1_1CMesha1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMesha2">CMesh</a> (const <a class="el" href="a02857.html">CMesh</a> &amp;mesh)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMesha3">CMesh</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CMesha3"></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="a02857.html#NL3D_1_1CMesha4">computeBonesId</a> (<a class="el" href="a03399.html">CSkeletonModel</a> *skeleton)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute skinning id. <a href="#NL3D_1_1CMesha4"></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="a02858.html#NL3D_1_1CMeshMultiLoda1">flushTextures</a> (<a class="el" href="a02434.html">IDriver</a> &amp;driver, <a class="el" href="a04558.html#a15">uint</a> selectedTexture)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Flush textures. <a href="#NL3D_1_1CMeshMultiLoda1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02540.html#NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6">getClassName</a> ()=0</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea5">getDistMax</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a14">sint</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypea8">getRefCount</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda10">isLightable</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is this mesh lightable? true if one of his materials is not a lightmap. NB: result stored in file. <a href="#NL3D_1_1CMeshMultiLoda10"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02857.html">CMesh</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMesha10">operator=</a> (const <a class="el" href="a02857.html">CMesh</a> &amp;mesh)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMesha11">optimizeMaterialUsage</a> (std::vector&lt; <a class="el" href="a04558.html#a14">sint</a> &gt; &amp;remap)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda12">serialMeshBase</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f) throw (NLMISC::EStream)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">serial the base Part of this mesh. <a href="#NL3D_1_1CMeshMultiLoda12"></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="a02857.html#NL3D_1_1CMesha13">setBlendShapes</a> (std::vector&lt; <a class="el" href="a02273.html">CBlendShape</a> &gt; &amp;bs)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea11">setDistMax</a> (float distMax)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMesha15">updateSkeletonUsage</a> (<a class="el" href="a03399.html">CSkeletonModel</a> *sm, bool increment)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">update Skeleton Usage. increment or decrement. <a href="#NL3D_1_1CMesha15"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda14">useLightingLocalAttenuation</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">tells if the shape wants LocalAttenuation for RealTime lighting. Default is false <a href="#NL3D_1_1CMeshMultiLoda14"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMesha17">~CMesh</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dtor <a href="#NL3D_1_1CMesha17"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">From IShape</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMeshz405_0">clip</a> (const std::vector&lt; <a class="el" href="a03082.html">CPlane</a> &gt; &amp;pyramid, const <a class="el" href="a02851.html">CMatrix</a> &amp;worldMatrix)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">clip this mesh in a driver. <a href="#NL3D_1_1CMeshz405_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02537.html">CTransformShape</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMeshz405_1">createInstance</a> (<a class="el" href="a03348.html">CScene</a> &amp;scene)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a <a class="el" href="a02888.html">CMeshInstance</a>, which contains materials. <a href="#NL3D_1_1CMeshz405_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMeshz405_2">getAABBox</a> (<a class="el" href="a02156.html">NLMISC::CAABBox</a> &amp;bbox) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get bbox. <a href="#NL3D_1_1CMeshz405_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMeshz405_3">getNumTriangles</a> (float distance)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get trinagle count. <a href="#NL3D_1_1CMeshz405_3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMeshz405_4">NLMISC_DECLARE_CLASS</a> (<a class="el" href="a02857.html">CMesh</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">clip this mesh in a driver. <a href="#NL3D_1_1CMeshz405_4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMeshz405_5">profileSceneRender</a> (<a class="el" href="a03325.html">CRenderTrav</a> *rdrTrav, <a class="el" href="a02537.html">CTransformShape</a> *trans, bool opaquePass)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">profiling <a href="#NL3D_1_1CMeshz405_5"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMeshz405_6">render</a> (<a class="el" href="a02434.html">IDriver</a> *drv, <a class="el" href="a02537.html">CTransformShape</a> *trans, bool opaquePass)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="a02857.html#NL3D_1_1CMeshz405_6">render()</a> this mesh in a driver. <a href="#NL3D_1_1CMeshz405_6"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMeshz405_7">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f) throw (NLMISC::EStream)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">serial this mesh. <a href="#NL3D_1_1CMeshz405_7"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Geometry accessors</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02157.html">NLMISC::CAABBoxExt</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMeshz407_0">getBoundingBox</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the extended axis aligned bounding box of the mesh <a href="#NL3D_1_1CMeshz407_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02878.html">CMeshGeom</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMeshz407_1">getMeshGeom</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the geom mesh. <a href="#NL3D_1_1CMeshz407_1"></a><br><br></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="a02857.html#NL3D_1_1CMeshz407_2">getNbMatrixBlock</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the number of matrix block <a href="#NL3D_1_1CMeshz407_2"></a><br><br></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="a02857.html#NL3D_1_1CMeshz407_3">getNbRdrPass</a> (<a class="el" href="a04558.html#a15">uint</a> matrixBlockIndex) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMeshz407_4">getRdrPassMaterial</a> (<a class="el" href="a04558.html#a15">uint</a> matrixBlockIndex, <a class="el" href="a04558.html#a15">uint</a> renderingPassIndex) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03105.html">CPrimitiveBlock</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMeshz407_5">getRdrPassPrimitiveBlock</a> (<a class="el" href="a04558.html#a15">uint</a> matrixBlockIndex, <a class="el" href="a04558.html#a15">uint</a> renderingPassIndex) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03692.html">CVertexBuffer</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMeshz407_6">getVertexBuffer</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the vertex buffer used by the mesh <a href="#NL3D_1_1CMeshz407_6"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Mesh Block Render Interface</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02879.html">IMeshGeom</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMeshz409_0">supportMeshBlockRendering</a> (<a class="el" href="a02537.html">CTransformShape</a> *trans, float &amp;polygonCount) const </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="a02858.html#NL3D_1_1CMeshMultiLodz425_1">TLightMapInfo</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodo0">_LightInfos</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">pinfo</a></td></tr>
+
+<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NullPtrInfo</a></td></tr>
+
+<tr><td colspan=2><br><h2>Protected Types</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="a04558.html#a11">uint32</a>,<br>
+ <a class="el" href="a02846.html">CMaterialBase</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodx0">TAnimatedMaterialMap</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Animated Material mgt. <a href="#NL3D_1_1CMeshMultiLodx0"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodb0">applyMaterialUsageOptim</a> (const std::vector&lt; bool &gt; &amp;materialUsed, std::vector&lt; <a class="el" href="a04558.html#a14">sint</a> &gt; &amp;remap)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodb1">buildMeshBase</a> (CMeshBaseBuild &amp;m)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Just copy informations from a <a class="el" href="a02872.html">CMeshBaseBuild</a>. <a href="#NL3D_1_1CMeshMultiLodb1"></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="a02858.html#NL3D_1_1CMeshMultiLodb2">instanciateMeshBase</a> (<a class="el" href="a02873.html">CMeshBaseInstance</a> *mi, <a class="el" href="a03348.html">CScene</a> *ownerScene)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">instanciate MeshBase part to an instance (a <a class="el" href="a02873.html">CMeshBaseInstance</a>). <a href="#NL3D_1_1CMeshMultiLodb2"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodx0">TAnimatedMaterialMap</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a02936.html">CMorphBase</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp2">_AutoAnim</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03549.html">CTrackDefaultRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp3">_DefaultLMFactor</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp4">_DefaultPivot</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp5">_DefaultPos</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Transform default tracks. Those default tracks are instancied, ie, CInstanceMesh will have the same and can't specialize it. <a href="#NL3D_1_1CMeshMultiLodp5"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp6">_DefaultRotEuler</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03548.html">CTrackDefaultQuat</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp7">_DefaultRotQuat</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp8">_DefaultScale</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default to -1. <a href="#NL3D_1_1IShapep0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp10">_IsLightable</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is this mesh lightable?? <a href="#NL3D_1_1CMeshMultiLodp10"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a02839.html">CMaterial</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The Materials. <a href="#NL3D_1_1CMeshMultiLodp11"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp12">_UseLightingLocalAttenuation</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is this mesh Use Lighting Local Attenuation ?? <a href="#NL3D_1_1CMeshMultiLodp12"></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="a02878.html">CMeshGeom</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a></td></tr>
+
+<tr><td colspan=2><br><h2>Friends</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>struct&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypen0">CPtrInfo</a></td></tr>
+
+</table>
+<hr><h2>Member Typedef Documentation</h2>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodx0" doxytag="NL3D::CMesh::TAnimatedMaterialMap" ></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"> typedef std::map&lt;<a class="el" href="a04558.html#a11">uint32</a>, <a class="el" href="a02846.html">CMaterialBase</a>&gt; <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodx0">NL3D::CMeshBase::TAnimatedMaterialMap</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Animated Material mgt.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00239">239</a> of file <a class="el" href="a05992.html">mesh_base.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz425_0" doxytag="NL3D::CMesh::TLightInfoMapV7" ></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"> typedef std::map&lt; std::string, CLightInfoMapListV7 &gt; <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_0">NL3D::CMeshBase::TLightInfoMapV7</a><code> [inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00076">76</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz425_1" doxytag="NL3D::CMesh::TLightMapInfo" ></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"> typedef std::vector&lt; CLightMapInfoList &gt; <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_1">NL3D::CMeshBase::TLightMapInfo</a><code> [inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00111">111</a> of file <a class="el" href="a05992.html">mesh_base.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CMesha3" doxytag="NL3D::CMesh::CMesh" ></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::CMesh::CMesh </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05989.html#l02268">2268</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>.
+<p>
+<div class="fragment"><pre>02269 {
+02270 <span class="comment">// create the MeshGeom</span>
+02271 <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>= <span class="keyword">new</span> CMeshGeom;
+02272 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMesha17" doxytag="NL3D::CMesh::~CMesh" ></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::CMesh::~<a class="el" href="a02857.html">CMesh</a> </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>
+dtor
+<p>
+
+<p>
+Definition at line <a class="el" href="a05989.html#l02274">2274</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>.
+<p>
+<div class="fragment"><pre>02275 {
+02276 <span class="comment">// delete the MeshGeom</span>
+02277 <span class="keyword">delete</span> <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>;
+02278 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMesha2" doxytag="NL3D::CMesh::CMesh" ></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::CMesh::CMesh </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02857.html">CMesh</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>mesh</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>
+
+<p>
+Definition at line <a class="el" href="a05989.html#l02282">2282</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>.
+<p>
+<div class="fragment"><pre>02283 {
+02284 <span class="comment">// create the MeshGeom</span>
+02285 <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>= <span class="keyword">new</span> CMeshGeom(*mesh._MeshGeom);
+02286 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodb0" doxytag="NL3D::CMesh::applyMaterialUsageOptim" ></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::CMeshBase::applyMaterialUsageOptim </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::vector&lt; bool &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>materialUsed</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>std::vector&lt; <a class="el" href="a04558.html#a14">sint</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>remap</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [protected, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+delete any material not used, and build remap table (old to new). _AnimatedMaterials are reseted <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz435_1">resetLodCharacterTexture()</a>; is called
+<p>
+Definition at line <a class="el" href="a05991.html#l00333">333</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, <a class="el" href="a05992.html#l00234">NL3D::CMeshBase::_LightInfos</a>, <a class="el" href="a05646.html#l00240">count</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05991.html#l00436">NL3D::CMeshBase::resetLodCharacterTexture()</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05992.html#l00102">NL3D::CMeshBase::CLightMapInfoList::StageList</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00334 {
+00335 <a class="code" href="a04199.html#a6">nlassert</a>(<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size()==materialUsed.size());
+00336
+00337 <span class="comment">// security reset</span>
+00338 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodz435_1">resetLodCharacterTexture</a>();
+00339 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.clear();
+00340
+00341 <span class="comment">// init all ids to "Not Used"</span>
+00342 remap.clear();
+00343 remap.resize(<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size(), -1);
+00344
+00345 <span class="comment">// remove unused materials and build remap</span>
+00346 vector&lt;CMaterial&gt;::iterator itMat= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.begin();
+00347 <a class="code" href="a04558.html#a15">uint</a> dstIdx= 0;
+00348 <a class="code" href="a04558.html#a15">uint</a> i;
+00349 <span class="keywordflow">for</span>(i=0;i&lt;materialUsed.size();i++)
+00350 {
+00351 <span class="comment">// if used, still use it, and remap.</span>
+00352 <span class="keywordflow">if</span>(materialUsed[i])
+00353 {
+00354 remap[i]= dstIdx;
+00355 itMat++;
+00356 dstIdx++;
+00357 }
+00358 <span class="comment">// remove from the array</span>
+00359 <span class="keywordflow">else</span>
+00360 {
+00361 itMat= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.erase(itMat);
+00362 }
+00363 }
+00364
+00365 <span class="comment">// apply the remap to LightMaps infos</span>
+00366 <span class="keyword">const</span> <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a577">count</a> = <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodo0">_LightInfos</a>.size ();
+00367 <span class="keywordflow">for</span> (i=0; i&lt;<a class="code" href="a04223.html#a577">count</a>; i++)
+00368 {
+00369 CLightMapInfoList &amp;mapInfoList = <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodo0">_LightInfos</a>[i];
+00370 std::list&lt;CMeshBase::CLightMapInfoList::CMatStage&gt;::iterator ite = mapInfoList.StageList.begin ();
+00371 <span class="keywordflow">while</span> (ite != mapInfoList.StageList.end ())
+00372 {
+00373 <a class="code" href="a04558.html#a14">sint</a> newId= remap[ite-&gt;MatId];
+00374 <span class="comment">// If material used</span>
+00375 <span class="keywordflow">if</span>(newId&gt;=0)
+00376 {
+00377 <span class="comment">// apply remap on the material id</span>
+00378 ite-&gt;MatId= newId;
+00379 ite++;
+00380 }
+00381 <span class="keywordflow">else</span>
+00382 {
+00383 <span class="comment">// remove it from list of light infos</span>
+00384 ite= mapInfoList.StageList.erase(ite);
+00385 }
+00386 }
+00387 }
+00388 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMesha0" doxytag="NL3D::CMesh::build" ></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::CMesh::build </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02872.html">CMeshBase::CMeshBaseBuild</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>mbuild</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02878.html">CMeshGeom</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>meshGeom</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Build a mesh from material info, and a builded MeshGeom. WARNING: This has a side effect of deleting AnimatedMaterials.
+<p>
+copy MeshBase info: materials ....
+<p>
+Definition at line <a class="el" href="a05989.html#l02346">2346</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>.
+<p>
+<div class="fragment"><pre>02347 {
+02349 CMeshBase::buildMeshBase(mbuild);
+02350
+02351 <span class="comment">// build the geometry.</span>
+02352 *<a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>= meshGeom;
+02353 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMesha1" doxytag="NL3D::CMesh::build" ></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::CMesh::build </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02872.html">CMeshBase::CMeshBaseBuild</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>mbase</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02864.html">CMeshBuild</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>m</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Build a mesh, replacing old. WARNING: This has a side effect of deleting AnimatedMaterials.
+<p>
+copy MeshBase info: materials ....
+<p>
+Definition at line <a class="el" href="a05989.html#l02305">2305</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>, <a class="el" href="a05989.html#l00172">NL3D::CMeshGeom::build()</a>, and <a class="el" href="a05992.html#l00128">NL3D::CMeshBase::CMeshBaseBuild::Materials</a>.
+<p>
+Referenced by <a class="el" href="a06250.html#l00092">NL3D::CreateDummyMesh()</a>.
+<p>
+<div class="fragment"><pre>02306 {
+02308 CMeshBase::buildMeshBase (mbase);
+02309
+02310 <span class="comment">// build the geometry.</span>
+02311 <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>-&gt;build (m, mbase.Materials.size());
+02312 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodb1" doxytag="NL3D::CMesh::buildMeshBase" ></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::CMeshBase::buildMeshBase </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02872.html">CMeshBaseBuild</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>m</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [protected, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Just copy informations from a <a class="el" href="a02872.html">CMeshBaseBuild</a>.
+<p>
+Copy default position values
+<p>
+Definition at line <a class="el" href="a05991.html#l00226">226</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, <a class="el" href="a05992.html#l00251">NL3D::CMeshBase::_AnimatedMorph</a>, <a class="el" href="a05992.html#l00245">NL3D::CMeshBase::_DefaultPivot</a>, <a class="el" href="a05992.html#l00246">NL3D::CMeshBase::_DefaultRotEuler</a>, <a class="el" href="a05992.html#l00247">NL3D::CMeshBase::_DefaultRotQuat</a>, <a class="el" href="a05992.html#l00248">NL3D::CMeshBase::_DefaultScale</a>, <a class="el" href="a05992.html#l00234">NL3D::CMeshBase::_LightInfos</a>, <a class="el" href="a05992.html#l00256">NL3D::CMeshBase::_UseLightingLocalAttenuation</a>, <a class="el" href="a05992.html#l00135">NL3D::CMeshBase::CMeshBaseBuild::BSNames</a>, <a class="el" href="a05991.html#l00407">NL3D::CMeshBase::computeIsLightable()</a>, <a class="el" href="a05992.html#l00134">NL3D::CMeshBase::CMeshBaseBuild::DefaultBSFactors</a>, <a class="el" href="a05992.html#l00122">NL3D::CMeshBase::CMeshBaseBuild::DefaultPivot</a>, <a class="el" href="a05992.html#l00121">NL3D::CMeshBase::CMeshBaseBuild::DefaultPos</a>, <a class="el" href="a05992.html#l00123">NL3D::CMeshBase::CMeshBaseBuild::DefaultRotEuler</a>, <a class="el" href="a05992.html#l00124">NL3D::CMeshBase::CMeshBaseBuild::DefaultRotQuat</a>, <a class="el" href="a05992.html#l00125">NL3D::CMeshBase::CMeshBaseBuild::DefaultScale</a>, <a class="el" href="a05992.html#l00131">NL3D::CMeshBase::CMeshBaseBuild::LightInfoMap</a>, <a class="el" href="a05992.html#l00128">NL3D::CMeshBase::CMeshBaseBuild::Materials</a>, <a class="el" href="a06556.html#l00162">NL3D::CTrackDefaultBlendable&lt; CQuat &gt;::setValue()</a>, <a class="el" href="a06556.html#l00162">NL3D::CTrackDefaultBlendable&lt; CVector &gt;::setValue()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05992.html#l00118">NL3D::CMeshBase::CMeshBaseBuild::UseLightingLocalAttenuation</a>.
+<p>
+<div class="fragment"><pre>00227 {
+00228 <span class="comment">// Copy light information</span>
+00229 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodo0">_LightInfos</a> = m.LightInfoMap;
+00230
+00231 <span class="comment">// copy the materials.</span>
+00232 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>= m.Materials;
+00233
+00234 <span class="comment">// clear the animated materials.</span>
+00235 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.clear();
+00236
+00238 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp5">_DefaultPos</a>.setValue (m.DefaultPos);
+00239 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp4">_DefaultPivot</a>.setValue (m.DefaultPivot);
+00240 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp6">_DefaultRotEuler</a>.setValue (m.DefaultRotEuler);
+00241 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp7">_DefaultRotQuat</a>.setValue (m.DefaultRotQuat);
+00242 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp8">_DefaultScale</a>.setValue (m.DefaultScale);
+00243
+00244 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a> .resize(m.DefaultBSFactors.size());
+00245 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a11">uint32</a> i = 0; i &lt; m.DefaultBSFactors.size(); ++i)
+00246 {
+00247 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a>[i].DefaultFactor.setValue (m.DefaultBSFactors[i]);
+00248 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a>[i].Name = m.BSNames[i];
+00249 }
+00250
+00251 <span class="comment">// update _IsLightable flag.</span>
+00252 <a class="code" href="a02858.html#NL3D_1_1CMeshBased0">computeIsLightable</a>();
+00253 <span class="comment">// copy _UseLightingLocalAttenuation</span>
+00254 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp12">_UseLightingLocalAttenuation</a>= m.UseLightingLocalAttenuation;
+00255 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshz405_0" doxytag="NL3D::CMesh::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"> bool NL3D::CMesh::clip </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::vector&lt; <a class="el" href="a03082.html">CPlane</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>pyramid</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a02851.html">CMatrix</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>worldMatrix</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+clip this mesh in a driver.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea0">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a05989.html#l02379">2379</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>, and <a class="el" href="a05989.html#l00482">NL3D::CMeshGeom::clip()</a>.
+<p>
+<div class="fragment"><pre>02380 {
+02381 <span class="keywordflow">return</span> <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>-&gt;clip(pyramid, worldMatrix);
+02382 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMesha4" doxytag="NL3D::CMesh::computeBonesId" ></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::CMesh::computeBonesId </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03399.html">CSkeletonModel</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>skeleton</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>
+Compute skinning id.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05989.html#l02468">2468</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>, <a class="el" href="a05989.html#l01456">NL3D::CMeshGeom::computeBonesId()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>.
+<p>
+Referenced by <a class="el" href="a06001.html#l00099">NL3D::CMeshInstance::getSkinBoneUsage()</a>, and <a class="el" href="a06001.html#l00079">NL3D::CMeshInstance::setApplySkin()</a>.
+<p>
+<div class="fragment"><pre>02469 {
+02470 <a class="code" href="a04199.html#a6">nlassert</a> (_MeshGeom);
+02471 <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>-&gt;computeBonesId (skeleton);
+02472 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshz405_1" doxytag="NL3D::CMesh::createInstance" ></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="a02537.html">CTransformShape</a> * NL3D::CMesh::createInstance </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03348.html">CScene</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>scene</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Create a <a class="el" href="a02888.html">CMeshInstance</a>, which contains materials.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea1">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a05989.html#l02357">2357</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>, <a class="el" href="a06348.html#l01004">NL3D::CScene::createModel()</a>, <a class="el" href="a05989.html#l00474">NL3D::CMeshGeom::initInstance()</a>, <a class="el" href="a06001.html#l00144">NL3D::CMeshInstance::initRenderFilterType()</a>, and <a class="el" href="a06571.html#l00072">NL3D::CTransformShape::Shape</a>.
+<p>
+<div class="fragment"><pre>02358 {
+02359 <span class="comment">// Create a CMeshInstance, an instance of a mesh.</span>
+02360 <span class="comment">//===============================================</span>
+02361 CMeshInstance *mi= (CMeshInstance*)scene.createModel(NL3D::MeshInstanceId);
+02362 mi-&gt;Shape= <span class="keyword">this</span>;
+02363
+02364 <span class="comment">// instanciate the material part of the Mesh, ie the CMeshBase.</span>
+02365 CMeshBase::instanciateMeshBase(mi, &amp;scene);
+02366
+02367
+02368 <span class="comment">// do some instance init for MeshGeom</span>
+02369 <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>-&gt;initInstance(mi);
+02370
+02371 <span class="comment">// init render Filter</span>
+02372 mi-&gt;initRenderFilterType();
+02373
+02374 <span class="keywordflow">return</span> mi;
+02375 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLoda1" doxytag="NL3D::CMesh::flushTextures" ></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::CMeshBase::flushTextures </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02434.html">IDriver</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>driver</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>selectedTexture</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Flush textures.
+<p>
+Flush material textures
+<p>
+Implements <a class="el" href="a02539.html#NL3D_1_1IShapea2">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a05991.html#l00392">392</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00393 {
+00394 <span class="comment">// Mat count</span>
+00395 <a class="code" href="a04558.html#a15">uint</a> matCount=<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size();
+00396
+00397 <span class="comment">// Flush each material textures</span>
+00398 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> mat=0; mat&lt;matCount; mat++)
+00399 {
+00401 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>[mat].flushTextures (driver, selectedTexture);
+00402 }
+00403 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshz405_2" doxytag="NL3D::CMesh::getAABBox" ></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"> virtual void NL3D::CMesh::getAABBox </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02156.html">NLMISC::CAABBox</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>bbox</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get bbox.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea3">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a05990.html#l00271">271</a> of file <a class="el" href="a05990.html">mesh.h</a>.
+<p>
+References <a class="el" href="a05385.html#l00206">NLMISC::CAABBoxExt::getAABBox()</a>, and <a class="el" href="a05989.html#l02427">getBoundingBox()</a>.
+<p>
+<div class="fragment"><pre>00271 {bbox= <a class="code" href="a02857.html#NL3D_1_1CMeshz407_0">getBoundingBox</a>().<a class="code" href="a02157.html#NLMISC_1_1CAABBoxExtz1912_0">getAABBox</a>();}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz427_0" doxytag="NL3D::CMesh::getAnimatedMaterial" ></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="a02846.html">CMaterialBase</a> * NL3D::CMeshBase::getAnimatedMaterial </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>id</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return NULL if this material is NOT animated. (or if material do not exist)
+<p>
+
+<p>
+Definition at line <a class="el" href="a05991.html#l00090">90</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00091 {
+00092 TAnimatedMaterialMap::iterator it;
+00093 it= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.find(<span class="keywordtype">id</span>);
+00094 <span class="keywordflow">if</span>(it!=<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.end())
+00095 <span class="keywordflow">return</span> &amp;it-&gt;second;
+00096 <span class="keywordflow">else</span>
+00097 <span class="keywordflow">return</span> NULL;
+00098 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz433_0" doxytag="NL3D::CMesh::getAutoAnim" ></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::CMeshBase::getAutoAnim </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, inherited]</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="a05992.html#l00212">212</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00258">NL3D::CMeshBase::_AutoAnim</a>.
+<p>
+Referenced by <a class="el" href="a06348.html#l00600">NL3D::CScene::createInstance()</a>, and <a class="el" href="a05993.html#l00164">NL3D::CMeshBaseInstance::traverseHrc()</a>.
+<p>
+<div class="fragment"><pre>00212 { <span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp2">_AutoAnim</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshz407_0" doxytag="NL3D::CMesh::getBoundingBox" ></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"> const <a class="el" href="a02157.html">NLMISC::CAABBoxExt</a> &amp; NL3D::CMesh::getBoundingBox </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</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the extended axis aligned bounding box of the mesh
+<p>
+
+<p>
+Definition at line <a class="el" href="a05989.html#l02427">2427</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>, and <a class="el" href="a05990.html#l00384">NL3D::CMeshGeom::getBoundingBox()</a>.
+<p>
+Referenced by <a class="el" href="a05990.html#l00271">getAABBox()</a>.
+<p>
+<div class="fragment"><pre>02428 {
+02429 <span class="keywordflow">return</span> <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>-&gt;getBoundingBox();
+02430 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6" doxytag="NL3D::CMesh::getClassName" ></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"> virtual std::string NLMISC::IClassable::getClassName </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> [pure virtual, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implemented in <a class="el" href="a02995.html#NLAIAGENT_1_1CNumericIndexz1699_0">NLAIAGENT::CNumericIndex</a>, <a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypez1764_0">NLAIC::IPointerGestion</a>, <a class="el" href="a02650.html#NLAIC_1_1CIdentTypez1766_0">NLAIC::CIdentType</a>, and <a class="el" href="a02241.html#CAutomataDescz1896_0">CAutomataDesc</a>.
+<p>
+Referenced by <a class="el" href="a05549.html#l00091">NLMISC::CClassRegistry::checkObject()</a>, and <a class="el" href="a06525.html#l00039">NL3D::GetTextureSize()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_0" doxytag="NL3D::CMesh::getDefaultLMFactor" ></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="a03549.html">CTrackDefaultRGBA</a>* NL3D::CMeshBase::getDefaultLMFactor </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, inherited]</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="a05992.html#l00166">166</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00249">NL3D::CMeshBase::_DefaultLMFactor</a>.
+<p>
+<div class="fragment"><pre>00166 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp3">_DefaultLMFactor</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_1" doxytag="NL3D::CMesh::getDefaultPivot" ></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="a03551.html">CTrackDefaultVector</a>* NL3D::CMeshBase::getDefaultPivot </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, inherited]</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="a05992.html#l00162">162</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00245">NL3D::CMeshBase::_DefaultPivot</a>.
+<p>
+Referenced by <a class="el" href="a05993.html#l00097">NL3D::CMeshBaseInstance::getDefaultTrack()</a>.
+<p>
+<div class="fragment"><pre>00162 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp4">_DefaultPivot</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_2" doxytag="NL3D::CMesh::getDefaultPos" ></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="a03551.html">CTrackDefaultVector</a>* NL3D::CMeshBase::getDefaultPos </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, inherited]</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="a05992.html#l00161">161</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05993.html#l00097">NL3D::CMeshBaseInstance::getDefaultTrack()</a>.
+<p>
+<div class="fragment"><pre>00161 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp5">_DefaultPos</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_3" doxytag="NL3D::CMesh::getDefaultRotEuler" ></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="a03551.html">CTrackDefaultVector</a>* NL3D::CMeshBase::getDefaultRotEuler </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, inherited]</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="a05992.html#l00163">163</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00246">NL3D::CMeshBase::_DefaultRotEuler</a>.
+<p>
+Referenced by <a class="el" href="a05993.html#l00097">NL3D::CMeshBaseInstance::getDefaultTrack()</a>.
+<p>
+<div class="fragment"><pre>00163 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp6">_DefaultRotEuler</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_4" doxytag="NL3D::CMesh::getDefaultRotQuat" ></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="a03548.html">CTrackDefaultQuat</a>* NL3D::CMeshBase::getDefaultRotQuat </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, inherited]</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="a05992.html#l00164">164</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00247">NL3D::CMeshBase::_DefaultRotQuat</a>.
+<p>
+Referenced by <a class="el" href="a05993.html#l00097">NL3D::CMeshBaseInstance::getDefaultTrack()</a>.
+<p>
+<div class="fragment"><pre>00164 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp7">_DefaultRotQuat</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz429_5" doxytag="NL3D::CMesh::getDefaultScale" ></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="a03551.html">CTrackDefaultVector</a>* NL3D::CMeshBase::getDefaultScale </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, inherited]</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="a05992.html#l00165">165</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00248">NL3D::CMeshBase::_DefaultScale</a>.
+<p>
+Referenced by <a class="el" href="a05993.html#l00097">NL3D::CMeshBaseInstance::getDefaultTrack()</a>.
+<p>
+<div class="fragment"><pre>00165 {<span class="keywordflow">return</span> &amp;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp8">_DefaultScale</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1IShapea5" doxytag="NL3D::CMesh::getDistMax" ></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"> float NL3D::IShape::getDistMax </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, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return the DistMax where the shape is no more displayed. Default is to return -1, meaning DistMax = infinite.
+<p>
+Definition at line <a class="el" href="a06377.html#l00112">112</a> of file <a class="el" href="a06377.html">shape.h</a>.
+<p>
+<div class="fragment"><pre>00112 {<span class="keywordflow">return</span> <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz435_0" doxytag="NL3D::CMesh::getLodCharacterTexture" ></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"> const <a class="el" href="a02810.html">CLodCharacterTexture</a>* NL3D::CMeshBase::getLodCharacterTexture </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, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system. NULL per default. NB: serialised
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00223">223</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00278">NL3D::CMeshBase::_LodCharacterTexture</a>.
+<p>
+Referenced by <a class="el" href="a06393.html#l00866">NL3D::CSkeletonModel::computeLodTexture()</a>.
+<p>
+<div class="fragment"><pre>00223 {<span class="keywordflow">return</span> _LodCharacterTexture;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz431_0" doxytag="NL3D::CMesh::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"> const <a class="el" href="a02839.html">CMaterial</a>&amp; NL3D::CMeshBase::getMaterial </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>id</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get a material, const version.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00184">184</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00185 {
+00186 <span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>[<span class="keywordtype">id</span>];
+00187 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz431_1" doxytag="NL3D::CMesh::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::CMeshBase::getMaterial </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>id</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get a material.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00179">179</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06768.html#l01717">NL3D::CZoneLighter::addTriangles()</a>, <a class="el" href="a05567.html#l00070">NL3D::CCoarseMeshBuild::buildBitmap()</a>, <a class="el" href="a06250.html#l02064">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildRdrPassSet()</a>, <a class="el" href="a06250.html#l00501">NL3D::CheckForLightableFacesInMesh()</a>, <a class="el" href="a06250.html#l00480">NL3D::CheckForOpaqueAndTransparentFacesInMesh()</a>, <a class="el" href="a06378.html#l00134">NL3D::CShapeBank::processWaitingShapes()</a>, <a class="el" href="a05567.html#l00430">NL3D::CCoarseMeshBuild::remapCoordinates()</a>, <a class="el" href="a05457.html#l00231">NL3D::CAsyncFileManager3D::CMeshLoad::run()</a>, and <a class="el" href="a05993.html#l00268">NL3D::CMeshBaseInstance::selectTextureSet()</a>.
+<p>
+<div class="fragment"><pre>00180 {
+00181 <span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>[<span class="keywordtype">id</span>];
+00182 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshz407_1" doxytag="NL3D::CMesh::getMeshGeom" ></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"> const <a class="el" href="a02878.html">CMeshGeom</a> &amp; NL3D::CMesh::getMeshGeom </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</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the geom mesh.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05989.html#l02463">2463</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>.
+<p>
+Referenced by <a class="el" href="a06768.html#l01670">NL3D::CZoneLighter::addTriangles()</a>, <a class="el" href="a05824.html#l00129">NL3D::CInstanceLighter::addTriangles()</a>, <a class="el" href="a06626.html#l00053">NL3D::UShape::getMeshTriangles()</a>, <a class="el" href="a06001.html#l00099">NL3D::CMeshInstance::getSkinBoneUsage()</a>, <a class="el" href="a06001.html#l00144">NL3D::CMeshInstance::initRenderFilterType()</a>, <a class="el" href="a06001.html#l00113">NL3D::CMeshInstance::isSkinnable()</a>, and <a class="el" href="a06001.html#l00127">NL3D::CMeshInstance::renderSkin()</a>.
+<p>
+<div class="fragment"><pre>02464 {
+02465 <span class="keywordflow">return</span> *<a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>;
+02466 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz431_2" doxytag="NL3D::CMesh::getNbMaterial" ></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::CMeshBase::getNbMaterial </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, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the number of materials in the mesh.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00173">173</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06378.html#l00134">NL3D::CShapeBank::processWaitingShapes()</a>, <a class="el" href="a05457.html#l00231">NL3D::CAsyncFileManager3D::CMeshLoad::run()</a>, and <a class="el" href="a05993.html#l00268">NL3D::CMeshBaseInstance::selectTextureSet()</a>.
+<p>
+<div class="fragment"><pre>00174 {
+00175 <span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size();
+00176 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshz407_2" doxytag="NL3D::CMesh::getNbMatrixBlock" ></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::CMesh::getNbMatrixBlock </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</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the number of matrix block
+<p>
+
+<p>
+Definition at line <a class="el" href="a05989.html#l02437">2437</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>, <a class="el" href="a05990.html#l00393">NL3D::CMeshGeom::getNbMatrixBlock()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06250.html#l02064">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildRdrPassSet()</a>, <a class="el" href="a06001.html#l00254">NL3D::CMeshInstance::createShadowMap()</a>, <a class="el" href="a06250.html#l00462">NL3D::getMeshNumTri()</a>, <a class="el" href="a05989.html#l02316">optimizeMaterialUsage()</a>, and <a class="el" href="a06001.html#l00367">NL3D::CMeshInstance::renderIntoSkeletonShadowMap()</a>.
+<p>
+<div class="fragment"><pre>02438 {
+02439 <span class="keywordflow">return</span> <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>-&gt;getNbMatrixBlock();
+02440 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshz407_3" doxytag="NL3D::CMesh::getNbRdrPass" ></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::CMesh::getNbRdrPass </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>matrixBlockIndex</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the number of rendering pass for a given matrix block <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>matrixBlockIndex</em>&nbsp;</td><td>the index of the matrix block the rendering passes belong to</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a05989.html#l02442">2442</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>, <a class="el" href="a05990.html#l00398">NL3D::CMeshGeom::getNbRdrPass()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06250.html#l02064">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildRdrPassSet()</a>, <a class="el" href="a06250.html#l00501">NL3D::CheckForLightableFacesInMesh()</a>, <a class="el" href="a06250.html#l00480">NL3D::CheckForOpaqueAndTransparentFacesInMesh()</a>, <a class="el" href="a06001.html#l00254">NL3D::CMeshInstance::createShadowMap()</a>, <a class="el" href="a06250.html#l00462">NL3D::getMeshNumTri()</a>, <a class="el" href="a05989.html#l02316">optimizeMaterialUsage()</a>, and <a class="el" href="a06001.html#l00367">NL3D::CMeshInstance::renderIntoSkeletonShadowMap()</a>.
+<p>
+<div class="fragment"><pre>02443 {
+02444 <span class="keywordflow">return</span> <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>-&gt;getNbRdrPass(matrixBlockIndex) ;
+02445 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshz405_3" doxytag="NL3D::CMesh::getNumTriangles" ></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"> float NL3D::CMesh::getNumTriangles </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>distance</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get trinagle count.
+<p>
+
+<p>
+Implements <a class="el" href="a02539.html#NL3D_1_1IShapez900_0">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a05989.html#l02457">2457</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+<div class="fragment"><pre>02458 {
+02459 <span class="comment">// A CMesh do not degrad himself, so return 0, to not be taken into account.</span>
+02460 <span class="keywordflow">return</span> 0;
+02461 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshz407_4" doxytag="NL3D::CMesh::getRdrPassMaterial" ></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> NL3D::CMesh::getRdrPassMaterial </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>matrixBlockIndex</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>renderingPassIndex</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the material ID associated with a rendering pass of a matrix block <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>matrixBlockIndex</em>&nbsp;</td><td>the index of the matrix block the renderin pass belong to </td></tr>
+ <tr><td valign=top><em>renderingPassIndex</em>&nbsp;</td><td>the index of the rendering pass in the matrix block</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a05989.html#l02452">2452</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>, <a class="el" href="a05990.html#l00413">NL3D::CMeshGeom::getRdrPassMaterial()</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="a06250.html#l02064">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildRdrPassSet()</a>, <a class="el" href="a06250.html#l00501">NL3D::CheckForLightableFacesInMesh()</a>, <a class="el" href="a06250.html#l00480">NL3D::CheckForOpaqueAndTransparentFacesInMesh()</a>, and <a class="el" href="a05989.html#l02316">optimizeMaterialUsage()</a>.
+<p>
+<div class="fragment"><pre>02453 {
+02454 <span class="keywordflow">return</span> <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>-&gt;getRdrPassMaterial(matrixBlockIndex, renderingPassIndex) ;
+02455 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshz407_5" doxytag="NL3D::CMesh::getRdrPassPrimitiveBlock" ></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"> const <a class="el" href="a03105.html">CPrimitiveBlock</a> &amp; NL3D::CMesh::getRdrPassPrimitiveBlock </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>matrixBlockIndex</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>renderingPassIndex</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the primitive block associated with a rendering pass of a matrix block <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>matrixBlockIndex</em>&nbsp;</td><td>the index of the matrix block the renderin pass belong to </td></tr>
+ <tr><td valign=top><em>renderingPassIndex</em>&nbsp;</td><td>the index of the rendering pass in the matrix block</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a05989.html#l02447">2447</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>, <a class="el" href="a05990.html#l00404">NL3D::CMeshGeom::getRdrPassPrimitiveBlock()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06250.html#l02064">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildRdrPassSet()</a>, <a class="el" href="a06001.html#l00254">NL3D::CMeshInstance::createShadowMap()</a>, <a class="el" href="a06250.html#l00462">NL3D::getMeshNumTri()</a>, and <a class="el" href="a06001.html#l00367">NL3D::CMeshInstance::renderIntoSkeletonShadowMap()</a>.
+<p>
+<div class="fragment"><pre>02448 {
+02449 <span class="keywordflow">return</span> <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>-&gt;getRdrPassPrimitiveBlock(matrixBlockIndex, renderingPassIndex) ;
+02450 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLGEORGES_1_1UTypea8" doxytag="NL3D::CMesh::getRefCount" ></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"> const <a class="el" href="a04558.html#a14">sint</a>&amp; NLMISC::CRefCount::getRefCount </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, inherited]</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="a06402.html#l00070">70</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
+<p>
+References <a class="el" href="a06402.html#l00079">NLMISC::CRefCount::crefs</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+<div class="fragment"><pre>00071 {
+00072 <span class="keywordflow">return</span> <a class="code" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a>;
+00073 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshz407_6" doxytag="NL3D::CMesh::getVertexBuffer" ></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"> const <a class="el" href="a03692.html">CVertexBuffer</a> &amp; NL3D::CMesh::getVertexBuffer </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</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the vertex buffer used by the mesh
+<p>
+
+<p>
+Definition at line <a class="el" href="a05989.html#l02432">2432</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>, and <a class="el" href="a05990.html#l00390">NL3D::CMeshGeom::getVertexBuffer()</a>.
+<p>
+Referenced by <a class="el" href="a06250.html#l02064">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildRdrPassSet()</a>, <a class="el" href="a06250.html#l02081">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildVB()</a>, <a class="el" href="a06001.html#l00254">NL3D::CMeshInstance::createShadowMap()</a>, <a class="el" href="a06250.html#l00521">NL3D::CPSConstraintMeshHelper::drawMeshs()</a>, <a class="el" href="a06250.html#l00793">NL3D::CPSConstraintMeshHelper::drawPrerotatedMeshs()</a>, <a class="el" href="a06001.html#l00367">NL3D::CMeshInstance::renderIntoSkeletonShadowMap()</a>, and <a class="el" href="a06250.html#l01134">NL3D::CPSConstraintMesh::update()</a>.
+<p>
+<div class="fragment"><pre>02433 {
+02434 <span class="keywordflow">return</span> <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>-&gt;getVertexBuffer() ;
+02435 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodb2" doxytag="NL3D::CMesh::instanciateMeshBase" ></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::CMeshBase::instanciateMeshBase </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02873.html">CMeshBaseInstance</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>mi</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03348.html">CScene</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>ownerScene</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [protected, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+instanciate MeshBase part to an instance (a <a class="el" href="a02873.html">CMeshBaseInstance</a>).
+<p>
+
+<p>
+Definition at line <a class="el" href="a05991.html#l00261">261</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, <a class="el" href="a05994.html#l00226">NL3D::CMeshBaseInstance::_AnimatedMaterials</a>, <a class="el" href="a05992.html#l00251">NL3D::CMeshBase::_AnimatedMorph</a>, <a class="el" href="a05994.html#l00231">NL3D::CMeshBaseInstance::_AnimatedMorphFactor</a>, <a class="el" href="a05992.html#l00245">NL3D::CMeshBase::_DefaultPivot</a>, <a class="el" href="a05992.html#l00247">NL3D::CMeshBase::_DefaultRotQuat</a>, <a class="el" href="a05992.html#l00248">NL3D::CMeshBase::_DefaultScale</a>, <a class="el" href="a05994.html#l00082">NL3D::CMeshBaseInstance::AsyncTextures</a>, <a class="el" href="a05442.html#l00279">NL3D::CAnimatedValueQuat</a>, <a class="el" href="a05442.html#l00277">NL3D::CAnimatedValueVector</a>, <a class="el" href="a06556.html#l00169">NL3D::CTrackDefaultBlendable&lt; CQuat &gt;::getValue()</a>, <a class="el" href="a06556.html#l00169">NL3D::CTrackDefaultBlendable&lt; CVector &gt;::getValue()</a>, <a class="el" href="a05994.html#l00075">NL3D::CMeshBaseInstance::Materials</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05993.html#l00268">NL3D::CMeshBaseInstance::selectTextureSet()</a>, <a class="el" href="a05434.html#l00153">NL3D::IAnimatable::setFather()</a>, <a class="el" href="a06568.html#l00574">NL3D::CTransform::setIsBigLightable()</a>, <a class="el" href="a06568.html#l00552">NL3D::CTransform::setIsLightable()</a>, <a class="el" href="a05437.html#l00182">NL3D::CAnimatedMaterial::setMaterial()</a>, <a class="el" href="a06568.html#l00255">NL3D::CTransform::setOpacity()</a>, <a class="el" href="a06568.html#l00240">NL3D::CTransform::setTransparency()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00262 {
+00263 <a class="code" href="a04558.html#a11">uint32</a> i;
+00264
+00265
+00266 <span class="comment">// setup animated blendShapes</span>
+00267 <span class="comment">//===========================</span>
+00268 mi-&gt;_AnimatedMorphFactor.reserve(<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a>.size());
+00269 <span class="keywordflow">for</span>(i = 0; i &lt; <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a>.size(); ++i)
+00270 {
+00271 CAnimatedMorph am(&amp;_AnimatedMorph[i]);
+00272 mi-&gt;_AnimatedMorphFactor.push_back (am);
+00273 }
+00274
+00275 <span class="comment">// setup materials.</span>
+00276 <span class="comment">//=================</span>
+00277 <span class="comment">// Copy material. Textures are referenced only</span>
+00278 mi-&gt;Materials= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>;
+00279
+00280 <span class="comment">// Instanciate selectable textures (use default set)</span>
+00281 mi-&gt;selectTextureSet(0);
+00282
+00283 <span class="comment">// prepare possible AsyncTextures</span>
+00284 mi-&gt;AsyncTextures.resize(<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size());
+00285
+00286 <span class="comment">// setup animated materials.</span>
+00287 <span class="comment">//==========================</span>
+00288 TAnimatedMaterialMap::iterator it;
+00289 mi-&gt;_AnimatedMaterials.reserve(<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.size());
+00290 <span class="keywordflow">for</span>(it= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.begin(); it!= <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>.end(); it++)
+00291 {
+00292 CAnimatedMaterial aniMat(&amp;it-&gt;second);
+00293
+00294 <span class="comment">// set the target instance material.</span>
+00295 <a class="code" href="a04199.html#a6">nlassert</a>(it-&gt;first &lt; mi-&gt;Materials.size());
+00296 aniMat.setMaterial(&amp;mi-&gt;Materials[it-&gt;first]);
+00297
+00298 <span class="comment">// Must set the Animatable father of the animated material (the mesh_base_instance!).</span>
+00299 aniMat.setFather(mi, CMeshBaseInstance::OwnerBit);
+00300
+00301 <span class="comment">// Append this animated material.</span>
+00302 mi-&gt;_AnimatedMaterials.push_back(aniMat);
+00303 }
+00304
+00305 <span class="comment">// Misc</span>
+00306 <span class="comment">//==========================</span>
+00307
+00308 <span class="comment">// Setup position with the default value</span>
+00309 mi-&gt;ITransformable::setPos( ((CAnimatedValueVector&amp;)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp5">_DefaultPos</a>.getValue()).Value );
+00310 mi-&gt;ITransformable::setRotQuat( ((CAnimatedValueQuat&amp;)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp7">_DefaultRotQuat</a>.getValue()).Value );
+00311 mi-&gt;ITransformable::setScale( ((CAnimatedValueVector&amp;)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp8">_DefaultScale</a>.getValue()).Value );
+00312 mi-&gt;ITransformable::setPivot( ((CAnimatedValueVector&amp;)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp4">_DefaultPivot</a>.getValue()).Value );
+00313
+00314 <span class="comment">// Check materials for transparency</span>
+00315 mi-&gt;setTransparency( <span class="keyword">false</span> );
+00316 mi-&gt;setOpacity( <span class="keyword">false</span> );
+00317 <span class="keywordflow">for</span>( i = 0; i &lt; mi-&gt;Materials.size(); ++i )
+00318 <span class="keywordflow">if</span>( mi-&gt;Materials[i].getBlend() )
+00319 mi-&gt;setTransparency( <span class="keyword">true</span> );
+00320 <span class="keywordflow">else</span>
+00321 mi-&gt;setOpacity( <span class="keyword">true</span> );
+00322
+00323 <span class="comment">// if the mesh is lightable, then the instance is</span>
+00324 mi-&gt;setIsLightable(this-&gt;isLightable());
+00325
+00326 <span class="comment">// a mesh is considered big for lightable if it uses localAttenuation</span>
+00327 mi-&gt;setIsBigLightable(this-&gt;useLightingLocalAttenuation());
+00328
+00329 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLoda10" doxytag="NL3D::CMesh::isLightable" ></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::CMeshBase::isLightable </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, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Is this mesh lightable? true if one of his materials is not a lightmap. NB: result stored in file.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00198">198</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00254">NL3D::CMeshBase::_IsLightable</a>.
+<p>
+Referenced by <a class="el" href="a05824.html#l00305">NL3D::CInstanceLighter::light()</a>.
+<p>
+<div class="fragment"><pre>00198 {<span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp10">_IsLightable</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshz405_4" doxytag="NL3D::CMesh::NLMISC_DECLARE_CLASS" ></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::CMesh::NLMISC_DECLARE_CLASS </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02857.html">CMesh</a>&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>
+clip this mesh in a driver.
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMesha10" doxytag="NL3D::CMesh::operator=" ></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="a02857.html">CMesh</a> &amp; NL3D::CMesh::operator= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02857.html">CMesh</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>mesh</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>
+
+<p>
+Definition at line <a class="el" href="a05989.html#l02290">2290</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>.
+<p>
+<div class="fragment"><pre>02291 {
+02292 <span class="comment">// Copy CMeshBase part</span>
+02293 (<a class="code" href="a02858.html#NL3D_1_1CMeshBasea1">CMeshBase</a>&amp;)*<span class="keyword">this</span>= (<a class="code" href="a02858.html#NL3D_1_1CMeshBasea1">CMeshBase</a>&amp;)mesh;
+02294
+02295 <span class="comment">// copy content of meshGeom.</span>
+02296 *<a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>= *mesh._MeshGeom;
+02297
+02298
+02299 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+02300 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMesha11" doxytag="NL3D::CMesh::optimizeMaterialUsage" ></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::CMesh::optimizeMaterialUsage </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::vector&lt; <a class="el" href="a04558.html#a14">sint</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>remap</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>
+Optimize material use. If a material in <a class="el" href="a02858.html">CMeshBase</a> is not used by any renderPasses, it is removed, and ids are updated. WARNING: This has a side effect of deleting AnimatedMaterials. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>remap</em>&nbsp;</td><td>a remap material Id: newId= remap[oldId]. -1 means "no more used"</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a05989.html#l02316">2316</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>, <a class="el" href="a05989.html#l00458">NL3D::CMeshGeom::applyMaterialRemap()</a>, <a class="el" href="a05989.html#l02437">getNbMatrixBlock()</a>, <a class="el" href="a05989.html#l02442">getNbRdrPass()</a>, <a class="el" href="a05989.html#l02452">getRdrPassMaterial()</a>, <a class="el" href="a05538.html#l02935">size</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>02317 {
+02318 <span class="comment">// For each material, count usage.</span>
+02319 vector&lt;bool&gt; materialUsed;
+02320 materialUsed.resize(CMeshBase::_Materials.<a class="code" href="a04115.html#a94">size</a>(), <span class="keyword">false</span>);
+02321 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> mb=0;mb&lt;<a class="code" href="a02857.html#NL3D_1_1CMeshz407_2">getNbMatrixBlock</a>();mb++)
+02322 {
+02323 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> rp=0;rp&lt;<a class="code" href="a02857.html#NL3D_1_1CMeshz407_3">getNbRdrPass</a>(mb);rp++)
+02324 {
+02325 <a class="code" href="a04558.html#a15">uint</a> matId= <a class="code" href="a02857.html#NL3D_1_1CMeshz407_4">getRdrPassMaterial</a>(mb, rp);
+02326 <span class="comment">// flag as used.</span>
+02327 materialUsed[matId]= <span class="keyword">true</span>;
+02328 }
+02329 }
+02330
+02331 <span class="comment">// Apply it to meshBase</span>
+02332 CMeshBase::applyMaterialUsageOptim(materialUsed, remap);
+02333
+02334 <span class="comment">// Apply lut to meshGeom.</span>
+02335 <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>-&gt;applyMaterialRemap(remap);
+02336 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshz405_5" doxytag="NL3D::CMesh::profileSceneRender" ></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::CMesh::profileSceneRender </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03325.html">CRenderTrav</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>rdrTrav</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02537.html">CTransformShape</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>trans</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>opaquePass</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+profiling
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea8">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a05989.html#l02497">2497</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>, <a class="el" href="a05989.html#l01932">NL3D::CMeshGeom::profileSceneRender()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>02498 {
+02499 <span class="comment">// 0 or 0xFFFFFFFF</span>
+02500 <a class="code" href="a04558.html#a11">uint32</a> mask= (0-(<a class="code" href="a04558.html#a11">uint32</a>)passOpaque);
+02501 <a class="code" href="a04558.html#a11">uint32</a> rdrFlags;
+02502 <span class="comment">// select rdrFlags, without ifs.</span>
+02503 rdrFlags= mask &amp; (IMeshGeom::RenderOpaqueMaterial | IMeshGeom::RenderPassOpaque);
+02504 rdrFlags|= ~mask &amp; (IMeshGeom::RenderTransparentMaterial);
+02505 <span class="comment">// render the mesh</span>
+02506 <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>-&gt;profileSceneRender(rdrTrav, trans, 0, rdrFlags);
+02507 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshz405_6" doxytag="NL3D::CMesh::render" ></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::CMesh::render </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="mdname" nowrap> <em>drv</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02537.html">CTransformShape</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>trans</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>opaquePass</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<a class="el" href="a02857.html#NL3D_1_1CMeshz405_6">render()</a> this mesh in a driver.
+<p>
+
+<p>
+Implements <a class="el" href="a02539.html#NL3D_1_1IShapea9">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a05989.html#l02386">2386</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>, <a class="el" href="a05989.html#l00598">NL3D::CMeshGeom::render()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>02387 {
+02388 <span class="comment">// 0 or 0xFFFFFFFF</span>
+02389 <a class="code" href="a04558.html#a11">uint32</a> mask= (0-(<a class="code" href="a04558.html#a11">uint32</a>)passOpaque);
+02390 <a class="code" href="a04558.html#a11">uint32</a> rdrFlags;
+02391 <span class="comment">// select rdrFlags, without ifs.</span>
+02392 rdrFlags= mask &amp; (IMeshGeom::RenderOpaqueMaterial | IMeshGeom::RenderPassOpaque);
+02393 rdrFlags|= ~mask &amp; (IMeshGeom::RenderTransparentMaterial);
+02394 <span class="comment">// render the mesh</span>
+02395 <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>-&gt;render(drv, trans, 0, rdrFlags, 1);
+02396 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz435_1" doxytag="NL3D::CMesh::resetLodCharacterTexture" ></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::CMeshBase::resetLodCharacterTexture </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> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+reset the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05991.html#l00436">436</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00278">NL3D::CMeshBase::_LodCharacterTexture</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00333">NL3D::CMeshBase::applyMaterialUsageOptim()</a>, <a class="el" href="a05991.html#l00446">NL3D::CMeshBase::setupLodCharacterTexture()</a>, and <a class="el" href="a05991.html#l00062">NL3D::CMeshBase::~CMeshBase()</a>.
+<p>
+<div class="fragment"><pre>00437 {
+00438 <span class="keywordflow">if</span>(_LodCharacterTexture)
+00439 {
+00440 <span class="keyword">delete</span> _LodCharacterTexture;
+00441 _LodCharacterTexture= NULL;
+00442 }
+00443 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshz405_7" doxytag="NL3D::CMesh::serial" ></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::CMesh::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)<code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+serial this mesh.
+<p>
+
+<p>
+Implements <a class="el" href="a02867.html#NL3D_1_1ITrackDefaulta6">NLMISC::IStreamable</a>.
+<p>
+Definition at line <a class="el" href="a05989.html#l02400">2400</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+<div class="fragment"><pre>02401 {
+02402 <span class="comment">/*</span>
+02403 <span class="comment"> Version 6:</span>
+02404 <span class="comment"> - cut in serialisation, because of:</span>
+02405 <span class="comment"> - bad ITexture serialisation (with no version....) =&gt; must cut. (see CMeshBase serial).</span>
+02406 <span class="comment"> - because of this and to simplify, make a cut too in CMesh serialisation.</span>
+02407 <span class="comment"> NB : all old version code is dropped.</span>
+02408 <span class="comment"> */</span>
+02409 <a class="code" href="a04558.html#a14">sint</a> ver= f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(6);
+02410
+02411
+02412 <span class="keywordflow">if</span>(ver&lt;6)
+02413 <span class="keywordflow">throw</span> <a class="code" href="a03781.html">NLMISC::EStream</a>(f, <span class="stringliteral">"Mesh in Stream is too old (Mesh version &lt; 6)"</span>);
+02414
+02415
+02416 <span class="comment">// serial Materials infos contained in CMeshBase.</span>
+02417 CMeshBase::serialMeshBase(f);
+02418
+02419
+02420 <span class="comment">// serial geometry.</span>
+02421 <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>-&gt;serial(f);
+02422
+02423 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLoda12" doxytag="NL3D::CMesh::serialMeshBase" ></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::CMeshBase::serialMeshBase </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)<code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+serial the base Part of this mesh.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05991.html#l00149">149</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, <a class="el" href="a05992.html#l00251">NL3D::CMeshBase::_AnimatedMorph</a>, <a class="el" href="a05992.html#l00258">NL3D::CMeshBase::_AutoAnim</a>, <a class="el" href="a05992.html#l00245">NL3D::CMeshBase::_DefaultPivot</a>, <a class="el" href="a05992.html#l00246">NL3D::CMeshBase::_DefaultRotEuler</a>, <a class="el" href="a05992.html#l00247">NL3D::CMeshBase::_DefaultRotQuat</a>, <a class="el" href="a05992.html#l00248">NL3D::CMeshBase::_DefaultScale</a>, <a class="el" href="a05992.html#l00254">NL3D::CMeshBase::_IsLightable</a>, <a class="el" href="a05992.html#l00234">NL3D::CMeshBase::_LightInfos</a>, <a class="el" href="a05992.html#l00278">NL3D::CMeshBase::_LodCharacterTexture</a>, <a class="el" href="a05992.html#l00256">NL3D::CMeshBase::_UseLightingLocalAttenuation</a>, <a class="el" href="a05991.html#l00407">NL3D::CMeshBase::computeIsLightable()</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05992.html#l00076">NL3D::CMeshBase::TLightInfoMapV7</a>.
+<p>
+<div class="fragment"><pre>00150 {
+00151 <span class="comment">/*</span>
+00152 <span class="comment"> Version 8:</span>
+00153 <span class="comment"> - new format for CLightMapInfoList</span>
+00154 <span class="comment"> Version 7:</span>
+00155 <span class="comment"> - _LodCharacterTexture</span>
+00156 <span class="comment"> Version 6:</span>
+00157 <span class="comment"> - _DistMax</span>
+00158 <span class="comment"> Version 5:</span>
+00159 <span class="comment"> - _AutoAnim</span>
+00160 <span class="comment"> Version 4:</span>
+00161 <span class="comment"> - _UseLightingLocalAttenuation</span>
+00162 <span class="comment"> Version 3:</span>
+00163 <span class="comment"> - _IsLightable</span>
+00164 <span class="comment"> Version 2:</span>
+00165 <span class="comment"> - Added Blend Shapes factors</span>
+00166 <span class="comment"> Version 1:</span>
+00167 <span class="comment"> - Cut in version because of badly coded ITexture* serialisation. throw an exception if </span>
+00168 <span class="comment"> find a version &lt; 1.</span>
+00169 <span class="comment"> Version 0:</span>
+00170 <span class="comment"> - 1st version.</span>
+00171 <span class="comment"> */</span>
+00172 <a class="code" href="a04558.html#a14">sint</a> ver = f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(8);
+00173
+00174 <span class="keywordflow">if</span> (ver &gt;= 2)
+00175 {
+00176 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a> (_AnimatedMorph);
+00177 }
+00178
+00179 <span class="keywordflow">if</span>(ver&lt;1)
+00180 <span class="keywordflow">throw</span> <a class="code" href="a03781.html">NLMISC::EStream</a>(f, <span class="stringliteral">"Mesh in Stream is too old (MeshBase version &lt; 1)"</span>);
+00181
+00182 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_DefaultPos);
+00183 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_DefaultPivot);
+00184 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_DefaultRotEuler);
+00185 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_DefaultRotQuat);
+00186 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_DefaultScale);
+00187
+00188 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_Materials);
+00189 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_AnimatedMaterials);
+00190
+00191 <span class="keywordflow">if</span>(ver &gt;= 8)
+00192 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_LightInfos);
+00193 <span class="keywordflow">else</span>
+00194 {
+00195 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodz425_0">TLightInfoMapV7</a> temp;
+00196 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(temp);
+00197 }
+00198
+00199 <span class="keywordflow">if</span>(ver&gt;=3)
+00200 <span class="comment">// read/write _IsLightable flag.</span>
+00201 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_IsLightable);
+00202 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() )
+00203 <span class="comment">// update _IsLightable flag.</span>
+00204 <a class="code" href="a02858.html#NL3D_1_1CMeshBased0">computeIsLightable</a>();
+00205
+00206 <span class="keywordflow">if</span>(ver&gt;=4)
+00207 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_UseLightingLocalAttenuation);
+00208 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() )
+00209 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp12">_UseLightingLocalAttenuation</a>= <span class="keyword">false</span>;
+00210
+00211 <span class="keywordflow">if</span> (ver &gt;= 5)
+00212 {
+00213 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_AutoAnim);
+00214 }
+00215
+00216 <span class="keywordflow">if</span>(ver &gt;= 6)
+00217 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_DistMax);
+00218
+00219 <span class="keywordflow">if</span>(ver &gt;= 7)
+00220 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_7">serialPtr</a>(_LodCharacterTexture);
+00221
+00222 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz427_1" doxytag="NL3D::CMesh::setAnimatedMaterial" ></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::CMeshBase::setAnimatedMaterial </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>id</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>matName</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+setup a material as animated. Material must exist or else no-op.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05991.html#l00077">77</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00240">NL3D::CMeshBase::_AnimatedMaterials</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00078 {
+00079 <a class="code" href="a04199.html#a6">nlassert</a>(!matName.empty());
+00080 <span class="keywordflow">if</span>(<span class="keywordtype">id</span>&lt;<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size())
+00081 {
+00082 <span class="comment">// add / replace animated material.</span>
+00083 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>[<span class="keywordtype">id</span>].Name= matName;
+00084 <span class="comment">// copy Material default.</span>
+00085 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp0">_AnimatedMaterials</a>[<span class="keywordtype">id</span>].copyFromMaterial(&amp;_Materials[<span class="keywordtype">id</span>]);
+00086 }
+00087 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz433_1" doxytag="NL3D::CMesh::setAutoAnim" ></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::CMeshBase::setAutoAnim </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>on</em> = true </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells that the model instanciated from this shape should be automatically animated. If so the scene will search for an automatic anim that has the same name than this shape and will bind it. This state is serialized. NB: This is a clue to scene::createInstance, a call to createInstance of this object won't make the animation binding.
+<p>
+Definition at line <a class="el" href="a05992.html#l00210">210</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+References <a class="el" href="a05992.html#l00258">NL3D::CMeshBase::_AutoAnim</a>.
+<p>
+<div class="fragment"><pre>00210 { <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp2">_AutoAnim</a> = on; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMesha13" doxytag="NL3D::CMesh::setBlendShapes" ></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::CMesh::setBlendShapes </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::vector&lt; <a class="el" href="a02273.html">CBlendShape</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>bs</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>
+
+<p>
+Definition at line <a class="el" href="a05989.html#l02340">2340</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>, and <a class="el" href="a05989.html#l00449">NL3D::CMeshGeom::setBlendShapes()</a>.
+<p>
+<div class="fragment"><pre>02341 {
+02342 <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>-&gt;setBlendShapes (bs);
+02343 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1IShapea11" doxytag="NL3D::CMesh::setDistMax" ></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::IShape::setDistMax </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>distMax</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+setup the DistMax where the shape is no more displayed. Take effect only for the next created instances. setting &lt;0 means -1 and so means DistMax = infinite.
+<p>
+Definition at line <a class="el" href="a06376.html#l00066">66</a> of file <a class="el" href="a06376.html">shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a05714.html#l00039">NL3D::CFlareShape::CFlareShape()</a>.
+<p>
+<div class="fragment"><pre>00067 {
+00068 <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>= distMax;
+00069 <span class="comment">// normalize infinite setup.</span>
+00070 <span class="keywordflow">if</span>(distMax&lt;0)
+00071 <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>= -1;
+00072 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodz435_2" doxytag="NL3D::CMesh::setupLodCharacterTexture" ></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::CMeshBase::setupLodCharacterTexture </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02810.html">CLodCharacterTexture</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>lodText</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+setup the lod texture info. see <a class="el" href="a03399.html">CSkeletonModel</a> Lod system
+<p>
+
+<p>
+Definition at line <a class="el" href="a05991.html#l00446">446</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00278">NL3D::CMeshBase::_LodCharacterTexture</a>, and <a class="el" href="a05991.html#l00436">NL3D::CMeshBase::resetLodCharacterTexture()</a>.
+<p>
+<div class="fragment"><pre>00447 {
+00448 <span class="comment">// delete old</span>
+00449 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodz435_1">resetLodCharacterTexture</a>();
+00450 <span class="comment">// seutp new</span>
+00451 _LodCharacterTexture= <span class="keyword">new</span> CLodCharacterTexture;
+00452 *_LodCharacterTexture= lodText;
+00453 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshz409_0" doxytag="NL3D::CMesh::supportMeshBlockRendering" ></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="a02879.html">IMeshGeom</a> * NL3D::CMesh::supportMeshBlockRendering </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02537.html">CTransformShape</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>trans</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>polygonCount</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const<code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return !NULL if this shape can support MeshBlock rendering for a special instance. NB: Mesh Block render cannot occurs if the Mesh is Skinned/MeshMorphed. NB: Mesh Block render can occurs only in Opaque pass NB: Mesh block render can occurs only for <a class="el" href="a02858.html">CMeshBase</a> meshes. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>trans</em>&nbsp;</td><td>the instance to take into account (meshMultiLod may return NULL in blend transition). </td></tr>
+ <tr><td valign=top><em>polygonCount</em>&nbsp;</td><td>the number of polygons to render for the meshGeom returned </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>the meshgeom to render per block if OK, else NULL (default)</dd></dl>
+
+<p>
+Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapez904_0">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a05989.html#l02483">2483</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>, and <a class="el" href="a05989.html#l02000">NL3D::CMeshGeom::supportMeshBlockRendering()</a>.
+<p>
+<div class="fragment"><pre>02484 {
+02485 <span class="comment">// Ok if meshGeom is ok.</span>
+02486 <span class="keywordflow">if</span>(<a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>-&gt;supportMeshBlockRendering())
+02487 {
+02488 polygonCount= 0;
+02489 <span class="keywordflow">return</span> <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>;
+02490 }
+02491 <span class="keywordflow">else</span>
+02492 <span class="keywordflow">return</span> NULL;
+02493 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMesha15" doxytag="NL3D::CMesh::updateSkeletonUsage" ></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::CMesh::updateSkeletonUsage </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03399.html">CSkeletonModel</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>sm</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>increment</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+update Skeleton Usage. increment or decrement.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05989.html#l02476">2476</a> of file <a class="el" href="a05989.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="a05990.html#l00321">_MeshGeom</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05989.html#l01596">NL3D::CMeshGeom::updateSkeletonUsage()</a>.
+<p>
+Referenced by <a class="el" href="a06001.html#l00079">NL3D::CMeshInstance::setApplySkin()</a>.
+<p>
+<div class="fragment"><pre>02477 {
+02478 <a class="code" href="a04199.html#a6">nlassert</a> (_MeshGeom);
+02479 <a class="code" href="a02857.html#NL3D_1_1CMeshr0">_MeshGeom</a>-&gt;updateSkeletonUsage(sm, increment);
+02480 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLoda14" doxytag="NL3D::CMesh::useLightingLocalAttenuation" ></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::CMeshBase::useLightingLocalAttenuation </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> [virtual, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+tells if the shape wants LocalAttenuation for RealTime lighting. Default is false
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapez902_0">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a05991.html#l00429">429</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>.
+<p>
+References <a class="el" href="a05992.html#l00256">NL3D::CMeshBase::_UseLightingLocalAttenuation</a>.
+<p>
+<div class="fragment"><pre>00430 {
+00431 <span class="keywordflow">return</span> <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp12">_UseLightingLocalAttenuation</a>;
+00432 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a class="anchor" name="NLGEORGES_1_1UTypen0" doxytag="NL3D::CMesh::CPtrInfo" ></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"> friend struct CPtrInfo<code> [friend, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06402.html#l00067">67</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp0" doxytag="NL3D::CMesh::_AnimatedMaterials" ></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="a02858.html#NL3D_1_1CMeshMultiLodx0">TAnimatedMaterialMap</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp0">NL3D::CMeshBase::_AnimatedMaterials</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00240">240</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00333">NL3D::CMeshBase::applyMaterialUsageOptim()</a>, <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00090">NL3D::CMeshBase::getAnimatedMaterial()</a>, <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>, <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>, and <a class="el" href="a05991.html#l00077">NL3D::CMeshBase::setAnimatedMaterial()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp1" doxytag="NL3D::CMesh::_AnimatedMorph" ></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="a02936.html">CMorphBase</a>&gt; <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp1">NL3D::CMeshBase::_AnimatedMorph</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00251">251</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp2" doxytag="NL3D::CMesh::_AutoAnim" ></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="a02858.html#NL3D_1_1CMeshMultiLodp2">NL3D::CMeshBase::_AutoAnim</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00258">258</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05992.html#l00212">NL3D::CMeshBase::getAutoAnim()</a>, <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>, and <a class="el" href="a05992.html#l00210">NL3D::CMeshBase::setAutoAnim()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp3" doxytag="NL3D::CMesh::_DefaultLMFactor" ></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="a03549.html">CTrackDefaultRGBA</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp3">NL3D::CMeshBase::_DefaultLMFactor</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00249">249</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, and <a class="el" href="a05992.html#l00166">NL3D::CMeshBase::getDefaultLMFactor()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp4" doxytag="NL3D::CMesh::_DefaultPivot" ></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="a03551.html">CTrackDefaultVector</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp4">NL3D::CMeshBase::_DefaultPivot</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00245">245</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05992.html#l00162">NL3D::CMeshBase::getDefaultPivot()</a>, <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp5" doxytag="NL3D::CMesh::_DefaultPos" ></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="a03551.html">CTrackDefaultVector</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp5">NL3D::CMeshBase::_DefaultPos</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Transform default tracks. Those default tracks are instancied, ie, CInstanceMesh will have the same and can't specialize it.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00244">244</a> of file <a class="el" href="a05992.html">mesh_base.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp6" doxytag="NL3D::CMesh::_DefaultRotEuler" ></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="a03551.html">CTrackDefaultVector</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp6">NL3D::CMeshBase::_DefaultRotEuler</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00246">246</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05992.html#l00163">NL3D::CMeshBase::getDefaultRotEuler()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp7" doxytag="NL3D::CMesh::_DefaultRotQuat" ></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="a03548.html">CTrackDefaultQuat</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp7">NL3D::CMeshBase::_DefaultRotQuat</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00247">247</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05992.html#l00164">NL3D::CMeshBase::getDefaultRotQuat()</a>, <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp8" doxytag="NL3D::CMesh::_DefaultScale" ></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="a03551.html">CTrackDefaultVector</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp8">NL3D::CMeshBase::_DefaultScale</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00248">248</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05992.html#l00165">NL3D::CMeshBase::getDefaultScale()</a>, <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1IShapep0" doxytag="NL3D::CMesh::_DistMax" ></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"> float <a class="el" href="a02539.html#NL3D_1_1IShapep0">NL3D::IShape::_DistMax</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Default to -1.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06377.html#l00165">165</a> of file <a class="el" href="a06377.html">shape.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp10" doxytag="NL3D::CMesh::_IsLightable" ></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="a02858.html#NL3D_1_1CMeshMultiLodp10">NL3D::CMeshBase::_IsLightable</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Is this mesh lightable??
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00254">254</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00407">NL3D::CMeshBase::computeIsLightable()</a>, <a class="el" href="a05992.html#l00198">NL3D::CMeshBase::isLightable()</a>, and <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodo0" doxytag="NL3D::CMesh::_LightInfos" ></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="a02858.html#NL3D_1_1CMeshMultiLodz425_1">TLightMapInfo</a> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodo0">NL3D::CMeshBase::_LightInfos</a><code> [inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00234">234</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00333">NL3D::CMeshBase::applyMaterialUsageOptim()</a>, <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a06626.html#l00125">NL3D::UShape::cameraCollisionable()</a>, <a class="el" href="a05993.html#l00131">NL3D::CMeshBaseInstance::getLightMapName()</a>, <a class="el" href="a05993.html#l00124">NL3D::CMeshBaseInstance::getNbLightMap()</a>, <a class="el" href="a05993.html#l00316">NL3D::CMeshBaseInstance::initAnimatedLightIndex()</a>, <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>, and <a class="el" href="a05993.html#l00214">NL3D::CMeshBaseInstance::traverseAnimDetail()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp11" doxytag="NL3D::CMesh::_Materials" ></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="a02839.html">CMaterial</a>&gt; <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp11">NL3D::CMeshBase::_Materials</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The Materials.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00230">230</a> of file <a class="el" href="a05992.html">mesh_base.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshr0" doxytag="NL3D::CMesh::_MeshGeom" ></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="a02878.html">CMeshGeom</a>* <a class="el" href="a02857.html#NL3D_1_1CMeshr0">NL3D::CMesh::_MeshGeom</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="a05990.html#l00321">321</a> of file <a class="el" href="a05990.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="a05989.html#l02305">build()</a>, <a class="el" href="a05989.html#l02379">clip()</a>, <a class="el" href="a05989.html#l02268">CMesh()</a>, <a class="el" href="a05989.html#l02468">computeBonesId()</a>, <a class="el" href="a05989.html#l02357">createInstance()</a>, <a class="el" href="a05989.html#l02427">getBoundingBox()</a>, <a class="el" href="a05989.html#l02463">getMeshGeom()</a>, <a class="el" href="a05989.html#l02437">getNbMatrixBlock()</a>, <a class="el" href="a05989.html#l02442">getNbRdrPass()</a>, <a class="el" href="a05989.html#l02452">getRdrPassMaterial()</a>, <a class="el" href="a05989.html#l02447">getRdrPassPrimitiveBlock()</a>, <a class="el" href="a05989.html#l02432">getVertexBuffer()</a>, <a class="el" href="a05989.html#l02290">operator=()</a>, <a class="el" href="a05989.html#l02316">optimizeMaterialUsage()</a>, <a class="el" href="a05989.html#l02497">profileSceneRender()</a>, <a class="el" href="a05989.html#l02386">render()</a>, <a class="el" href="a05989.html#l02340">setBlendShapes()</a>, <a class="el" href="a05989.html#l02483">supportMeshBlockRendering()</a>, <a class="el" href="a05989.html#l02476">updateSkeletonUsage()</a>, and <a class="el" href="a05989.html#l02274">~CMesh()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CMeshMultiLodp12" doxytag="NL3D::CMesh::_UseLightingLocalAttenuation" ></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="a02858.html#NL3D_1_1CMeshMultiLodp12">NL3D::CMeshBase::_UseLightingLocalAttenuation</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Is this mesh Use Lighting Local Attenuation ??
+<p>
+
+<p>
+Definition at line <a class="el" href="a05992.html#l00256">256</a> of file <a class="el" href="a05992.html">mesh_base.h</a>.
+<p>
+Referenced by <a class="el" href="a05991.html#l00226">NL3D::CMeshBase::buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">NL3D::CMeshBase::CMeshBase()</a>, <a class="el" href="a05991.html#l00149">NL3D::CMeshBase::serialMeshBase()</a>, and <a class="el" href="a05991.html#l00429">NL3D::CMeshBase::useLightingLocalAttenuation()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLGEORGES_1_1UTypeo0" doxytag="NL3D::CMesh::crefs" ></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#a14">sint</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">NLMISC::CRefCount::crefs</a><code> [mutable, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06402.html#l00079">79</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
+<p>
+Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, <a class="el" href="a06402.html#l00070">NLMISC::CRefCount::getRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLGEORGES_1_1UTypes0" doxytag="NL3D::CMesh::NullPtrInfo" ></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="a03320.html">CRefCount::CPtrInfo</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NLMISC::CRefCount::NullPtrInfo</a><code> [static, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLGEORGES_1_1UTypeo1" doxytag="NL3D::CMesh::pinfo" ></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"> CPtrInfo* <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">NLMISC::CRefCount::pinfo</a><code> [mutable, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06402.html#l00080">80</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
+<p>
+Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a05990.html">mesh.h</a><li><a class="el" href="a05989.html">mesh.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:50:58 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>