diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a02858.html | 2542 |
1 files changed, 2542 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02858.html b/docs/doxygen/nel/a02858.html new file mode 100644 index 00000000..3a0e25dd --- /dev/null +++ b/docs/doxygen/nel/a02858.html @@ -0,0 +1,2542 @@ +<!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::CMeshBase class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::CMeshBase Class Reference</h1><code>#include <<a class="el" href="a05992.html">mesh_base.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CMeshBase: +<p><center><img src="a02858.png" usemap="#NL3D::CMeshBase_map" border="0" alt=""></center> +<map name="NL3D::CMeshBase_map"> +<area href="a02539.html" alt="NL3D::IShape" shape="rect" coords="262,112,427,136"> +<area href="a02209.html" alt="NLMISC::CRefCount" shape="rect" coords="175,56,340,80"> +<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="350,56,515,80"> +<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="350,0,515,24"> +<area href="a02857.html" alt="NL3D::CMesh" shape="rect" coords="0,224,165,248"> +<area href="a02891.html" alt="NL3D::CMeshMRM" shape="rect" coords="175,224,340,248"> +<area href="a02900.html" alt="NL3D::CMeshMRMSkinned" shape="rect" coords="350,224,515,248"> +<area href="a02910.html" alt="NL3D::CMeshMultiLod" shape="rect" coords="525,224,690,248"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A base mesh with just material manipulation. Used as an abstract base class for <a class="el" href="a02857.html">CMesh</a> or <a class="el" href="a02891.html">CMeshMRM</a>. <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a05992.html#l00053">53</a> of file <a class="el" href="a05992.html">mesh_base.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>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea0">clip</a> (const std::vector< <a class="el" href="a03082.html">CPlane</a> > &pyramid, const <a class="el" href="a02851.html">CMatrix</a> &worldMatrix)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshBasea1">CMeshBase</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CMeshBasea1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02537.html">CTransformShape</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea1">createInstance</a> (<a class="el" href="a03348.html">CScene</a> &scene)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </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> &driver, <a class="el" href="a04558.html#a15">uint</a> selectedTexture)</td></tr> + +<tr><td class="mdescLeft"> </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 void </td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea3">getAABBox</a> (<a class="el" href="a02156.html">NLMISC::CAABBox</a> &bbox) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string </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 </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> & </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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda10">isLightable</a> () const </td></tr> + +<tr><td class="mdescLeft"> </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>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea8">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="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea9">render</a> (<a class="el" href="a02434.html">IDriver</a> *drv, <a class="el" href="a02537.html">CTransformShape</a> *trans, bool opaquePass)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02867.html#NL3D_1_1ITrackDefaulta6">serial</a> (<a class="el" href="a02270.html">IStream</a> &f)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </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> &f) throw (NLMISC::EStream)</td></tr> + +<tr><td class="mdescLeft"> </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 </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>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda14">useLightingLocalAttenuation</a> () const </td></tr> + +<tr><td class="mdescLeft"> </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> </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshBasea15">~CMeshBase</a> ()</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Load balancing methods</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapez900_0">getNumTriangles</a> (float distance)=0</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Load balancing methods</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapez900_0">getNumTriangles</a> (float distance)=0</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> </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> </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 * </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 </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< <a class="el" href="a04558.html#a11">uint32</a>,<br> + <a class="el" href="a02846.html">CMaterialBase</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodx0">TAnimatedMaterialMap</a></td></tr> + +<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodb0">applyMaterialUsageOptim</a> (const std::vector< bool > &materialUsed, std::vector< <a class="el" href="a04558.html#a14">sint</a> > &remap)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodb1">buildMeshBase</a> (<a class="el" href="a02872.html">CMeshBaseBuild</a> &m)</td></tr> + +<tr><td class="mdescLeft"> </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 </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"> </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> </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< <a class="el" href="a02936.html">CMorphBase</a> > </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 </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> </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> </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> </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp5">_DefaultPos</a></td></tr> + +<tr><td class="mdescLeft"> </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> </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> </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> </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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a></td></tr> + +<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp10">_IsLightable</a></td></tr> + +<tr><td class="mdescLeft"> </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< <a class="el" href="a02839.html">CMaterial</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a></td></tr> + +<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp12">_UseLightingLocalAttenuation</a></td></tr> + +<tr><td class="mdescLeft"> </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 Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshBased0">computeIsLightable</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">compute _Lightable. <a href="#NL3D_1_1CMeshBased0"></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="a02810.html">CLodCharacterTexture</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02858.html#NL3D_1_1CMeshBaser0">_LodCharacterTexture</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The Texture Lod info for this mesh. NB: NULL by default. <a href="#NL3D_1_1CMeshBaser0"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>struct </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::CMeshBase::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<<a class="el" href="a04558.html#a11">uint32</a>, <a class="el" href="a02846.html">CMaterialBase</a>> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodx0">NL3D::CMeshBase::TAnimatedMaterialMap</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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::CMeshBase::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< std::string, <a class="el" href="a02868.html">CLightInfoMapListV7</a> > <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_0">NL3D::CMeshBase::TLightInfoMapV7</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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">serialMeshBase()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodz425_1" doxytag="NL3D::CMeshBase::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< <a class="el" href="a02869.html">CLightMapInfoList</a> > <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodz425_1">NL3D::CMeshBase::TLightMapInfo</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05992.html#l00111">111</a> of file <a class="el" href="a05992.html">mesh_base.h</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CMeshBasea1" doxytag="NL3D::CMeshBase::CMeshBase" ></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::CMeshBase::CMeshBase </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="a05991.html#l00043">43</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>. +<p> +References <a class="el" href="a05992.html#l00258">_AutoAnim</a>, <a class="el" href="a05992.html#l00249">_DefaultLMFactor</a>, <a class="el" href="a05992.html#l00245">_DefaultPivot</a>, <a class="el" href="a05992.html#l00246">_DefaultRotEuler</a>, <a class="el" href="a05992.html#l00247">_DefaultRotQuat</a>, <a class="el" href="a05992.html#l00248">_DefaultScale</a>, <a class="el" href="a05992.html#l00278">_LodCharacterTexture</a>, <a class="el" href="a05992.html#l00256">_UseLightingLocalAttenuation</a>, <a class="el" href="a06556.html#l00162">NL3D::CTrackDefaultBlendable< T >::setValue()</a>, <a class="el" href="a06556.html#l00162">NL3D::CTrackDefaultBlendable< CQuat >::setValue()</a>, and <a class="el" href="a06556.html#l00162">NL3D::CTrackDefaultBlendable< CVector >::setValue()</a>. +<p> +<div class="fragment"><pre>00044 { +00045 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp12">_UseLightingLocalAttenuation</a>= <span class="keyword">false</span>; +00046 +00047 <span class="comment">// To have same functionnality than previous version, init to identity.</span> +00048 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp5">_DefaultPos</a>.setValue(CVector(0,0,0)); +00049 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp4">_DefaultPivot</a>.setValue(CVector(0,0,0)); +00050 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp6">_DefaultRotEuler</a>.setValue(CVector(0,0,0)); +00051 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp7">_DefaultRotQuat</a>.setValue(CQuat::Identity); +00052 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp8">_DefaultScale</a>.setValue(CVector(1,1,1)); +00053 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp3">_DefaultLMFactor</a>.setValue(<a class="code" href="a03337.html">CRGBA</a>(255,255,255,255)); +00054 +00055 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp2">_AutoAnim</a> = <span class="keyword">false</span>; +00056 +00057 <a class="code" href="a02858.html#NL3D_1_1CMeshBaser0">_LodCharacterTexture</a>= NULL; +00058 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshBasea15" doxytag="NL3D::CMeshBase::~CMeshBase" ></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::CMeshBase::~<a class="el" href="a02858.html">CMeshBase</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05991.html#l00062">62</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>. +<p> +References <a class="el" href="a05991.html#l00436">resetLodCharacterTexture()</a>. +<p> +<div class="fragment"><pre>00063 { +00064 <span class="comment">// free if exist</span> +00065 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodz435_1">resetLodCharacterTexture</a>(); +00066 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CMeshMultiLodb0" doxytag="NL3D::CMeshBase::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">( </td> + <td class="md" nowrap valign="top">const std::vector< bool > & </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< <a class="el" href="a04558.html#a14">sint</a> > & </td> + <td class="mdname" nowrap> <em>remap</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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">_AnimatedMaterials</a>, <a class="el" href="a05992.html#l00234">_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">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<CMaterial>::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<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<<a class="code" href="a04223.html#a577">count</a>; i++) +00368 { +00369 CLightMapInfoList &mapInfoList = <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodo0">_LightInfos</a>[i]; +00370 std::list<CMeshBase::CLightMapInfoList::CMatStage>::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->MatId]; +00374 <span class="comment">// If material used</span> +00375 <span class="keywordflow">if</span>(newId>=0) +00376 { +00377 <span class="comment">// apply remap on the material id</span> +00378 ite->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_1CMeshMultiLodb1" doxytag="NL3D::CMeshBase::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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02872.html">CMeshBaseBuild</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>m</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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">_AnimatedMaterials</a>, <a class="el" href="a05992.html#l00251">_AnimatedMorph</a>, <a class="el" href="a05992.html#l00245">_DefaultPivot</a>, <a class="el" href="a05992.html#l00246">_DefaultRotEuler</a>, <a class="el" href="a05992.html#l00247">_DefaultRotQuat</a>, <a class="el" href="a05992.html#l00248">_DefaultScale</a>, <a class="el" href="a05992.html#l00234">_LightInfos</a>, <a class="el" href="a05992.html#l00256">_UseLightingLocalAttenuation</a>, <a class="el" href="a05992.html#l00135">NL3D::CMeshBase::CMeshBaseBuild::BSNames</a>, <a class="el" href="a05991.html#l00407">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< CQuat >::setValue()</a>, <a class="el" href="a06556.html#l00162">NL3D::CTrackDefaultBlendable< CVector >::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 < 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_1IShapea0" doxytag="NL3D::CMeshBase::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"> virtual bool NL3D::IShape::clip </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::vector< <a class="el" href="a03082.html">CPlane</a> > & </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> & </td> + <td class="mdname" nowrap> <em>worldMatrix</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +clip this shape with a pyramid. the pyramid is given in world space.The world matrix of the object is given. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>pyramid</em> </td><td>the clipping polytope, planes are normalized. </td></tr> + <tr><td valign=top><em>worldMatrix</em> </td><td>the world matrix of the instance. </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>true if the object is visible, false otherwise. The default behavior is to return true (never clipped).</dd></dl> + +<p> +Reimplemented in <a class="el" href="a02538.html#NL3D_1_1CFlareShapea0">NL3D::CFlareShape</a>, <a class="el" href="a02857.html#NL3D_1_1CMeshz405_0">NL3D::CMesh</a>, <a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_0">NL3D::CMeshMRM</a>, <a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_0">NL3D::CMeshMRMSkinned</a>, <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz537_0">NL3D::CMeshMultiLod</a>, <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea0">NL3D::CSegRemanenceShape</a>, <a class="el" href="a03402.html#NL3D_1_1CSkeletonShapez944_0">NL3D::CSkeletonShape</a>, <a class="el" href="a03724.html#NL3D_1_1CWaterShapea0">NL3D::CWaterShape</a>, and <a class="el" href="a03726.html#NL3D_1_1CWaveMakerShapea0">NL3D::CWaveMakerShape</a>. +<p> +Definition at line <a class="el" href="a06377.html#l00093">93</a> of file <a class="el" href="a06377.html">shape.h</a>. +<p> +<div class="fragment"><pre>00093 {<span class="keywordflow">return</span> <span class="keyword">true</span>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshBased0" doxytag="NL3D::CMeshBase::computeIsLightable" ></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::computeIsLightable </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +compute _Lightable. +<p> + +<p> +Definition at line <a class="el" href="a05991.html#l00407">407</a> of file <a class="el" href="a05991.html">mesh_base.cpp</a>. +<p> +References <a class="el" href="a05992.html#l00254">_IsLightable</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05991.html#l00226">buildMeshBase()</a>, and <a class="el" href="a05991.html#l00149">serialMeshBase()</a>. +<p> +<div class="fragment"><pre>00408 { +00409 <span class="comment">// by default the mesh is not lightable</span> +00410 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp10">_IsLightable</a>= <span class="keyword">false</span>; +00411 +00412 <span class="comment">// Mat count</span> +00413 <a class="code" href="a04558.html#a15">uint</a> matCount=<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>.size(); +00414 +00415 <span class="comment">// for each material </span> +00416 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> mat=0; mat<matCount; mat++) +00417 { +00418 <span class="comment">// if this one is not a lightmap, then OK, the mesh is lightable</span> +00419 <span class="keywordflow">if</span>( <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp11">_Materials</a>[mat].getShader()!=CMaterial::LightMap ) +00420 { +00421 <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp10">_IsLightable</a>= <span class="keyword">true</span>; +00422 <span class="keywordflow">break</span>; +00423 } +00424 } +00425 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1IShapea1" doxytag="NL3D::CMeshBase::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::IShape::createInstance </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03348.html">CScene</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>scene</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +create an instance of this shape. The instance may be a <a class="el" href="a02537.html">CTransformShape</a>, or a specialized version of it. The default behavior is to createModel() a <a class="el" href="a02537.html">CTransformShape</a>, and just assign to it the Shape. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>scene</em> </td><td>the scene used to createModel(). </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>the specialized instance for this shape.</dd></dl> + +<p> +Reimplemented in <a class="el" href="a02538.html#NL3D_1_1CFlareShapea1">NL3D::CFlareShape</a>, <a class="el" href="a02857.html#NL3D_1_1CMeshz405_1">NL3D::CMesh</a>, <a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_1">NL3D::CMeshMRM</a>, <a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_1">NL3D::CMeshMRMSkinned</a>, <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz537_1">NL3D::CMeshMultiLod</a>, <a class="el" href="a03055.html#NL3D_1_1CParticleSystemShapea3">NL3D::CParticleSystemShape</a>, <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez895_0">NL3D::CSegRemanenceShape</a>, <a class="el" href="a03402.html#NL3D_1_1CSkeletonShapez944_1">NL3D::CSkeletonShape</a>, <a class="el" href="a03724.html#NL3D_1_1CWaterShapea1">NL3D::CWaterShape</a>, and <a class="el" href="a03726.html#NL3D_1_1CWaveMakerShapea1">NL3D::CWaveMakerShape</a>. +<p> +Definition at line <a class="el" href="a06376.html#l00050">50</a> of file <a class="el" href="a06376.html">shape.cpp</a>. +<p> +References <a class="el" href="a06348.html#l01004">NL3D::CScene::createModel()</a>, and <a class="el" href="a06571.html#l00072">NL3D::CTransformShape::Shape</a>. +<p> +Referenced by <a class="el" href="a06348.html#l00600">NL3D::CScene::createInstance()</a>, and <a class="el" href="a06348.html#l00537">NL3D::CScene::updateWaitingInstances()</a>. +<p> +<div class="fragment"><pre>00051 { +00052 CTransformShape *mo= (CTransformShape*)scene.createModel(NL3D::TransformShapeId); +00053 mo->Shape= <span class="keyword">this</span>; +00054 <span class="keywordflow">return</span> mo; +00055 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLoda1" doxytag="NL3D::CMeshBase::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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02434.html">IDriver</a> & </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> </td> + <td class="mdname" nowrap> <em>selectedTexture</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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<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_1IShapea3" doxytag="NL3D::CMeshBase::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"> void NL3D::IShape::getAABBox </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02156.html">NLMISC::CAABBox</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>bbox</em> </td> + <td class="md" valign="top"> ) </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> + + </td> + <td> + +<p> +return the bounding box of the shape. Default is to return Null bbox. +<p> +Reimplemented in <a class="el" href="a02538.html#NL3D_1_1CFlareShapea4">NL3D::CFlareShape</a>, <a class="el" href="a02857.html#NL3D_1_1CMeshz405_2">NL3D::CMesh</a>, <a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_2">NL3D::CMeshMRM</a>, <a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_2">NL3D::CMeshMRMSkinned</a>, <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz537_2">NL3D::CMeshMultiLod</a>, <a class="el" href="a03055.html#NL3D_1_1CParticleSystemShapea5">NL3D::CParticleSystemShape</a>, <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapea1">NL3D::CSegRemanenceShape</a>, <a class="el" href="a03402.html#NL3D_1_1CSkeletonShapez944_3">NL3D::CSkeletonShape</a>, <a class="el" href="a03724.html#NL3D_1_1CWaterShapea3">NL3D::CWaterShape</a>, and <a class="el" href="a03726.html#NL3D_1_1CWaveMakerShapea3">NL3D::CWaveMakerShape</a>. +<p> +Definition at line <a class="el" href="a06376.html#l00076">76</a> of file <a class="el" href="a06376.html">shape.cpp</a>. +<p> +References <a class="el" href="a05385.html#l00066">NLMISC::CAABBox::setCenter()</a>, and <a class="el" href="a05385.html#l00067">NLMISC::CAABBox::setHalfSize()</a>. +<p> +<div class="fragment"><pre>00077 { +00078 bbox.<a class="code" href="a02156.html#NLMISC_1_1CAABBoxz1902_1">setCenter</a>(CVector::Null); +00079 bbox.<a class="code" href="a02156.html#NLMISC_1_1CAABBoxz1902_2">setHalfSize</a>(CVector::Null); +00080 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodz427_0" doxytag="NL3D::CMeshBase::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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>id</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +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">_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> &it->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::CMeshBase::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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">_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_1ITrackKeyFramer_3_01CKeyVector_01_4a6" doxytag="NL3D::CMeshBase::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </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> + + </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::CMeshBase::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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">_DefaultLMFactor</a>. +<p> +<div class="fragment"><pre>00166 {<span class="keywordflow">return</span> &<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::CMeshBase::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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">_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> &<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::CMeshBase::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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> &<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::CMeshBase::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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">_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> &<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::CMeshBase::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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">_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> &<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::CMeshBase::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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">_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> &<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::CMeshBase::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </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> + + </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::CMeshBase::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +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">_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> <a class="code" href="a02858.html#NL3D_1_1CMeshBaser0">_LodCharacterTexture</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodz431_0" doxytag="NL3D::CMeshBase::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>& NL3D::CMeshBase::getMaterial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>id</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +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::CMeshBase::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>& NL3D::CMeshBase::getMaterial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>id</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +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_1CMeshMultiLodz431_2" doxytag="NL3D::CMeshBase::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +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_1IShapez900_0" doxytag="NL3D::CMeshBase::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"> virtual float NL3D::IShape::getNumTriangles </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>distance</em> </td> + <td class="md" valign="top"> ) </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> + + </td> + <td> + +<p> +get an approximation of the number of triangles this instance will render for a fixed distance. return 0 if do not support degradation. +<p> +Implemented in <a class="el" href="a02538.html#NL3D_1_1CFlareShapea17">NL3D::CFlareShape</a>, <a class="el" href="a02857.html#NL3D_1_1CMeshz405_3">NL3D::CMesh</a>, <a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_3">NL3D::CMeshMRM</a>, <a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_3">NL3D::CMeshMRMSkinned</a>, <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLoda6">NL3D::CMeshMultiLod</a>, <a class="el" href="a03055.html#NL3D_1_1CParticleSystemShapea9">NL3D::CParticleSystemShape</a>, <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez895_2">NL3D::CSegRemanenceShape</a>, <a class="el" href="a03402.html#NL3D_1_1CSkeletonShapez944_4">NL3D::CSkeletonShape</a>, <a class="el" href="a03724.html#NL3D_1_1CWaterShapea6">NL3D::CWaterShape</a>, and <a class="el" href="a03726.html#NL3D_1_1CWaveMakerShapea9">NL3D::CWaveMakerShape</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypea8" doxytag="NL3D::CMeshBase::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>& NLMISC::CRefCount::getRefCount </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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_1CMeshMultiLodb2" doxytag="NL3D::CMeshBase::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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02873.html">CMeshBaseInstance</a> * </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> * </td> + <td class="mdname" nowrap> <em>ownerScene</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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">_AnimatedMaterials</a>, <a class="el" href="a05994.html#l00226">NL3D::CMeshBaseInstance::_AnimatedMaterials</a>, <a class="el" href="a05992.html#l00251">_AnimatedMorph</a>, <a class="el" href="a05994.html#l00231">NL3D::CMeshBaseInstance::_AnimatedMorphFactor</a>, <a class="el" href="a05992.html#l00245">_DefaultPivot</a>, <a class="el" href="a05992.html#l00247">_DefaultRotQuat</a>, <a class="el" href="a05992.html#l00248">_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< CQuat >::getValue()</a>, <a class="el" href="a06556.html#l00169">NL3D::CTrackDefaultBlendable< CVector >::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->_AnimatedMorphFactor.reserve(<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a>.size()); +00269 <span class="keywordflow">for</span>(i = 0; i < <a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp1">_AnimatedMorph</a>.size(); ++i) +00270 { +00271 CAnimatedMorph am(&_AnimatedMorph[i]); +00272 mi->_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->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->selectTextureSet(0); +00282 +00283 <span class="comment">// prepare possible AsyncTextures</span> +00284 mi->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->_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(&it->second); +00293 +00294 <span class="comment">// set the target instance material.</span> +00295 <a class="code" href="a04199.html#a6">nlassert</a>(it->first < mi->Materials.size()); +00296 aniMat.setMaterial(&mi->Materials[it->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->_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->ITransformable::setPos( ((CAnimatedValueVector&)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp5">_DefaultPos</a>.getValue()).Value ); +00310 mi->ITransformable::setRotQuat( ((CAnimatedValueQuat&)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp7">_DefaultRotQuat</a>.getValue()).Value ); +00311 mi->ITransformable::setScale( ((CAnimatedValueVector&)<a class="code" href="a02858.html#NL3D_1_1CMeshMultiLodp8">_DefaultScale</a>.getValue()).Value ); +00312 mi->ITransformable::setPivot( ((CAnimatedValueVector&)<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->setTransparency( <span class="keyword">false</span> ); +00316 mi->setOpacity( <span class="keyword">false</span> ); +00317 <span class="keywordflow">for</span>( i = 0; i < mi->Materials.size(); ++i ) +00318 <span class="keywordflow">if</span>( mi->Materials[i].getBlend() ) +00319 mi->setTransparency( <span class="keyword">true</span> ); +00320 <span class="keywordflow">else</span> +00321 mi->setOpacity( <span class="keyword">true</span> ); +00322 +00323 <span class="comment">// if the mesh is lightable, then the instance is</span> +00324 mi->setIsLightable(this->isLightable()); +00325 +00326 <span class="comment">// a mesh is considered big for lightable if it uses localAttenuation</span> +00327 mi->setIsBigLightable(this->useLightingLocalAttenuation()); +00328 +00329 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLoda10" doxytag="NL3D::CMeshBase::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +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">_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_1IShapea8" doxytag="NL3D::CMeshBase::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"> virtual void NL3D::IShape::profileSceneRender </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03325.html">CRenderTrav</a> * </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> * </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 </td> + <td class="mdname" nowrap> <em>opaquePass</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Profiling. Called in RenderPass if Current Frame profiled. No-Op by default Informations must be added in rdrTrav->Scene +<p> +Reimplemented in <a class="el" href="a02857.html#NL3D_1_1CMeshz405_5">NL3D::CMesh</a>, <a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_5">NL3D::CMeshMRM</a>, <a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_5">NL3D::CMeshMRMSkinned</a>, and <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz537_4">NL3D::CMeshMultiLod</a>. +<p> +Definition at line <a class="el" href="a06377.html#l00123">123</a> of file <a class="el" href="a06377.html">shape.h</a>. +<p> +<div class="fragment"><pre>00123 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1IShapea9" doxytag="NL3D::CMeshBase::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"> virtual void NL3D::IShape::render </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02434.html">IDriver</a> * </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> * </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 </td> + <td class="mdname" nowrap> <em>opaquePass</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<a class="el" href="a02539.html#NL3D_1_1IShapea9">render()</a> this shape in a driver, with the specified TransformShape information. CTransfromShape call this method in the render traversal. if opaquePass render the opaque materials else render the transparent materials. +<p> +Implemented in <a class="el" href="a02538.html#NL3D_1_1CFlareShapea27">NL3D::CFlareShape</a>, <a class="el" href="a02857.html#NL3D_1_1CMeshz405_6">NL3D::CMesh</a>, <a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_6">NL3D::CMeshMRM</a>, <a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_6">NL3D::CMeshMRMSkinned</a>, <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz537_5">NL3D::CMeshMultiLod</a>, <a class="el" href="a03055.html#NL3D_1_1CParticleSystemShapez632_0">NL3D::CParticleSystemShape</a>, <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez895_3">NL3D::CSegRemanenceShape</a>, <a class="el" href="a03402.html#NL3D_1_1CSkeletonShapez944_6">NL3D::CSkeletonShape</a>, <a class="el" href="a03724.html#NL3D_1_1CWaterShapea10">NL3D::CWaterShape</a>, and <a class="el" href="a03726.html#NL3D_1_1CWaveMakerShapea16">NL3D::CWaveMakerShape</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodz435_1" doxytag="NL3D::CMeshBase::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +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">_LodCharacterTexture</a>. +<p> +Referenced by <a class="el" href="a05991.html#l00333">applyMaterialUsageOptim()</a>, <a class="el" href="a05991.html#l00446">setupLodCharacterTexture()</a>, and <a class="el" href="a05991.html#l00062">~CMeshBase()</a>. +<p> +<div class="fragment"><pre>00437 { +00438 <span class="keywordflow">if</span>(<a class="code" href="a02858.html#NL3D_1_1CMeshBaser0">_LodCharacterTexture</a>) +00439 { +00440 <span class="keyword">delete</span> <a class="code" href="a02858.html#NL3D_1_1CMeshBaser0">_LodCharacterTexture</a>; +00441 <a class="code" href="a02858.html#NL3D_1_1CMeshBaser0">_LodCharacterTexture</a>= NULL; +00442 } +00443 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITrackDefaulta6" doxytag="NL3D::CMeshBase::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"> virtual void NLMISC::IStreamable::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </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> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02538.html#NL3D_1_1CFlareShapez197_1">NL3D::CFlareShape</a>, <a class="el" href="a03491.html#NL3D_1_1CTextureCrossa41">NL3D::CTextureCross</a>, <a class="el" href="a02857.html#NL3D_1_1CMeshz405_7">NL3D::CMesh</a>, <a class="el" href="a02878.html#NL3D_1_1CMeshGeomz411_7">NL3D::CMeshGeom</a>, <a class="el" href="a02892.html#NL3D_1_1CMeshMRMGeomz467_7">NL3D::CMeshMRMGeom</a>, <a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_7">NL3D::CMeshMRM</a>, <a class="el" href="a02901.html#NL3D_1_1CMeshMRMSkinnedGeomz503_7">NL3D::CMeshMRMSkinnedGeom</a>, <a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_7">NL3D::CMeshMRMSkinned</a>, <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz537_6">NL3D::CMeshMultiLod</a>, <a class="el" href="a02915.html#NL3D_1_1CMeshVPPerPixelLightz545_5">NL3D::CMeshVPPerPixelLight</a>, <a class="el" href="a02917.html#NL3D_1_1CMeshVPWindTreea6">NL3D::CMeshVPWindTree</a>, <a class="el" href="a03054.html#NL3D_1_1CParticleSystemProcessz628_1">NL3D::CParticleSystemProcess</a>, <a class="el" href="a03055.html#NL3D_1_1CParticleSystemShapea16">NL3D::CParticleSystemShape</a>, <a class="el" href="a03136.html#NL3D_1_1CPSAttribMakerz712_2">NL3D::CPSAttribMaker< T ></a>, <a class="el" href="a03138.html#NL3D_1_1CPSColorBinOpz722_7">NL3D::CPSAttribMakerBinOp< T ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">NL3D::CPSAttribMakerT< T, F ></a>, <a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya16">NL3D::CPSAttribMakerMemoryBase< T ></a>, <a class="el" href="a03143.html#NL3D_1_1CPSUIntMemorya26">NL3D::CPSAttribMakerMemory< uint32 ></a>, <a class="el" href="a03142.html#NL3D_1_1CPSIntMemorya26">NL3D::CPSAttribMakerMemory< sint32 ></a>, <a class="el" href="a03141.html#NL3D_1_1CPSFloatMemorya26">NL3D::CPSAttribMakerMemory< float ></a>, <a class="el" href="a03177.html#NL3D_1_1CPSDota50">NL3D::CPSDot</a>, <a class="el" href="a03179.html#NL3D_1_1CPSEmittera49">NL3D::CPSEmitter</a>, <a class="el" href="a03181.html#NL3D_1_1CPSEmitterDirectionnala58">NL3D::CPSEmitterDirectionnal</a>, <a class="el" href="a03225.html#NL3D_1_1CPSRadialEmittera59">NL3D::CPSRadialEmitter</a>, <a class="el" href="a03183.html#NL3D_1_1CPSEmitterOmnia55">NL3D::CPSEmitterOmni</a>, <a class="el" href="a03184.html#NL3D_1_1CPSEmitterRectanglea62">NL3D::CPSEmitterRectangle</a>, <a class="el" href="a03180.html#NL3D_1_1CPSEmitterConica60">NL3D::CPSEmitterConic</a>, <a class="el" href="a03238.html#NL3D_1_1CPSSphericalEmittera59">NL3D::CPSSphericalEmitter</a>, <a class="el" href="a03186.html#NL3D_1_1CPSFacea82">NL3D::CPSFace</a>, <a class="el" href="a03191.html#NL3D_1_1CPSFaceLookAta85">NL3D::CPSFaceLookAt</a>, <a class="el" href="a03194.html#NL3D_1_1CPSFanLightz735_1">NL3D::CPSFanLight</a>, <a class="el" href="a02690.html#NL3D_1_1CPSForcea43">NL3D::CPSForce</a>, <a class="el" href="a03149.html#NL3D_1_1CPSForceIntensityHelpera45">NL3D::CPSForceIntensityHelper</a>, <a class="el" href="a02688.html#NL3D_1_1CIsotropicForceTa42">NL3D::CIsotropicForceT< T ></a>, <a class="el" href="a03176.html#NL3D_1_1CPSDirectionnalForcea47">NL3D::CPSDirectionnalForce</a>, <a class="el" href="a03205.html#NL3D_1_1CPSGravitya47">NL3D::CPSGravity</a>, <a class="el" href="a03150.html#NL3D_1_1CPSCentralGravitya47">NL3D::CPSCentralGravity</a>, <a class="el" href="a03239.html#NL3D_1_1CPSSpringa47">NL3D::CPSSpring</a>, <a class="el" href="a03173.html#NL3D_1_1CPSCylindricVortexa53">NL3D::CPSCylindricVortex</a>, <a class="el" href="a03217.html#NL3D_1_1CPSMagneticForcea48">NL3D::CPSMagneticForce</a>, <a class="el" href="a03213.html#NL3D_1_1CPSLightz739_2">NL3D::CPSLight</a>, <a class="el" href="a03214.html#NL3D_1_1CPSLocateda80">NL3D::CPSLocated</a>, <a class="el" href="a02691.html#NL3D_1_1CPSLocatedBindablez743_2">NL3D::CPSLocatedBindable</a>, <a class="el" href="a02689.html#NL3D_1_1CPSTargetLocatedBindablea39">NL3D::CPSTargetLocatedBindable</a>, <a class="el" href="a03218.html#NL3D_1_1CPSMesha53">NL3D::CPSMesh</a>, <a class="el" href="a03161.html#NL3D_1_1CPSConstraintMesha68">NL3D::CPSConstraintMesh</a>, <a class="el" href="a03162.html#NL3D_1_1CPSParticlea42">NL3D::CPSParticle</a>, <a class="el" href="a03222.html#NL3D_1_1CPSPlaneBasisFollowSpeeda22">NL3D::CPSPlaneBasisFollowSpeed</a>, <a class="el" href="a03187.html#NL3D_1_1CPSQuadb27">NL3D::CPSQuad</a>, <a class="el" href="a03226.html#NL3D_1_1CPSRibbonz748_2">NL3D::CPSRibbon</a>, <a class="el" href="a03227.html#NL3D_1_1CPSRibbonBasez753_1">NL3D::CPSRibbonBase</a>, <a class="el" href="a03230.html#NL3D_1_1CPSRibbonLookAtz756_2">NL3D::CPSRibbonLookAt</a>, <a class="el" href="a03233.html#NL3D_1_1CPSShockWavea70">NL3D::CPSShockWave</a>, <a class="el" href="a03235.html#NL3D_1_1CPSSoundz762_1">NL3D::CPSSound</a>, <a class="el" href="a03240.html#NL3D_1_1CPSTailDotz763_2">NL3D::CPSTailDot</a>, <a class="el" href="a03255.html#NL3D_1_1CPSZonea43">NL3D::CPSZone</a>, <a class="el" href="a03258.html#NL3D_1_1CPSZonePlanea47">NL3D::CPSZonePlane</a>, <a class="el" href="a03260.html#NL3D_1_1CPSZoneSpherea48">NL3D::CPSZoneSphere</a>, <a class="el" href="a03257.html#NL3D_1_1CPSZoneDisca48">NL3D::CPSZoneDisc</a>, <a class="el" href="a03256.html#NL3D_1_1CPSZoneCylindera48">NL3D::CPSZoneCylinder</a>, <a class="el" href="a03259.html#NL3D_1_1CPSZoneRectanglea48">NL3D::CPSZoneRectangle</a>, <a class="el" href="a03360.html#NL3D_1_1CSegRemanenceShapez891_4">NL3D::CSegRemanenceShape</a>, <a class="el" href="a03402.html#NL3D_1_1CSkeletonShapez944_7">NL3D::CSkeletonShape</a>, <a class="el" href="a03487.html#NL3D_1_1ITexturea39">NL3D::ITexture</a>, <a class="el" href="a03488.html#NL3D_1_1CTextureBlenda44">NL3D::CTextureBlend</a>, <a class="el" href="a03489.html#NL3D_1_1CTextureBumpa50">NL3D::CTextureBump</a>, <a class="el" href="a03492.html#NL3D_1_1CTextureCubea45">NL3D::CTextureCube</a>, <a class="el" href="a03493.html#NL3D_1_1CTextureDLMa43">NL3D::CTextureDLM</a>, <a class="el" href="a03497.html#NL3D_1_1CTextureEmbossa49">NL3D::CTextureEmboss</a>, <a class="el" href="a03498.html#NL3D_1_1CTextureFard5">NL3D::CTextureFar</a>, <a class="el" href="a03502.html#NL3D_1_1CTextureFilea48">NL3D::CTextureFile</a>, <a class="el" href="a03506.html#NL3D_1_1CTextureFonta44">NL3D::CTextureFont</a>, <a class="el" href="a03509.html#NL3D_1_1CTextureGroupeda51">NL3D::CTextureGrouped</a>, <a class="el" href="a03511.html#NL3D_1_1CTextureMema46">NL3D::CTextureMem</a>, <a class="el" href="a03512.html#NL3D_1_1CTextureMultiFilea44">NL3D::CTextureMultiFile</a>, <a class="el" href="a03513.html#NL3D_1_1CTextureNeara43">NL3D::CTextureNear</a>, <a class="el" href="a03541.html#NL3D_1_1CTrackDefaultRGBAa9">NL3D::CTrackDefaultBlendable< T ></a>, <a class="el" href="a03545.html#NL3D_1_1CTrackDefaultStringa9">NL3D::CTrackDefaultNotBlendable< T ></a>, <a class="el" href="a03554.html#NL3D_1_1ITrackKeyFramera15">NL3D::ITrackKeyFramer< CKeyT ></a>, <a class="el" href="a03591.html#NL3D_1_1CTrackSampledQuatz1010_2">NL3D::CTrackSampledQuat</a>, <a class="el" href="a03593.html#NL3D_1_1CTrackSampledVectorz1011_2">NL3D::CTrackSampledVector</a>, <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1180_1">NL3D::CWaterShape</a>, <a class="el" href="a03726.html#NL3D_1_1CWaveMakerShapez1192_1">NL3D::CWaveMakerShape</a>, <a class="el" href="a02995.html#NLAIAGENT_1_1CNumericIndexz1699_1">NLAIAGENT::CNumericIndex</a>, <a class="el" href="a02145.html#NLAIC_1_1IPointerGestionz1764_1">NLAIC::IPointerGestion</a>, <a class="el" href="a02650.html#NLAIC_1_1CIdentTypez1766_1">NLAIC::CIdentType</a>, <a class="el" href="a02154.html#NLAIAGENT_1_1VectorTypea54">NLAIC::IBasicInterface</a>, <a class="el" href="a03022.html#NLAISCRIPT_1_1COperandVoida16">NLAISCRIPT::COperandVoid</a>, <a class="el" href="a03017.html#NLAISCRIPT_1_1COperandAnyObjecta16">NLAISCRIPT::COperandAnyObject</a>, <a class="el" href="a03019.html#NLAISCRIPT_1_1COperandSimplea17">NLAISCRIPT::COperandSimple</a>, <a class="el" href="a03020.html#NLAISCRIPT_1_1COperandSimpleListOra20">NLAISCRIPT::COperandSimpleListOr</a>, <a class="el" href="a03021.html#NLAISCRIPT_1_1COperandUnknowna18">NLAISCRIPT::COperandUnknown</a>, <a class="el" href="a03023.html#NLAISCRIPT_1_1COperationTypea19">NLAISCRIPT::COperationType</a>, <a class="el" href="a03024.html#NLAISCRIPT_1_1COperationTypeGDa19">NLAISCRIPT::COperationTypeGD</a>, <a class="el" href="a03018.html#NLAISCRIPT_1_1COperandListTypea19">NLAISCRIPT::COperandListType</a>, <a class="el" href="a02241.html#CAutomataDescz1896_1">CAutomataDesc</a>, <a class="el" href="a03136.html#NL3D_1_1CPSAttribMakerz712_2">NL3D::CPSAttribMaker< float ></a>, <a class="el" href="a03136.html#NL3D_1_1CPSAttribMakerz712_2">NL3D::CPSAttribMaker< CPlaneBasis ></a>, <a class="el" href="a03136.html#NL3D_1_1CPSAttribMakerz712_2">NL3D::CPSAttribMaker< NLMISC::CRGBA ></a>, <a class="el" href="a03136.html#NL3D_1_1CPSAttribMakerz712_2">NL3D::CPSAttribMaker< uint32 ></a>, <a class="el" href="a03136.html#NL3D_1_1CPSAttribMakerz712_2">NL3D::CPSAttribMaker< CRGBA ></a>, <a class="el" href="a03136.html#NL3D_1_1CPSAttribMakerz712_2">NL3D::CPSAttribMaker< sint32 ></a>, <a class="el" href="a03138.html#NL3D_1_1CPSColorBinOpz722_7">NL3D::CPSAttribMakerBinOp< float ></a>, <a class="el" href="a03138.html#NL3D_1_1CPSColorBinOpz722_7">NL3D::CPSAttribMakerBinOp< CPlaneBasis ></a>, <a class="el" href="a03138.html#NL3D_1_1CPSColorBinOpz722_7">NL3D::CPSAttribMakerBinOp< uint32 ></a>, <a class="el" href="a03138.html#NL3D_1_1CPSColorBinOpz722_7">NL3D::CPSAttribMakerBinOp< NLMISC::CRGBA ></a>, <a class="el" href="a03138.html#NL3D_1_1CPSColorBinOpz722_7">NL3D::CPSAttribMakerBinOp< sint32 ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">NL3D::CPSAttribMakerT< NLMISC::CRGBA, CPSValueGradientFunc< NLMISC::CRGBA > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">NL3D::CPSAttribMakerT< sint32, CPSValueBlendFunc< sint32 > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">NL3D::CPSAttribMakerT< T, CPSValueGradientFunc< T > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">NL3D::CPSAttribMakerT< sint32, CPSValueGradientFunc< sint32 > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">NL3D::CPSAttribMakerT< uint32, CPSValueGradientFunc< uint32 > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">NL3D::CPSAttribMakerT< NLMISC::CRGBA, CPSValueBlendFunc< NLMISC::CRGBA > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">NL3D::CPSAttribMakerT< float, CPSFloatCurveFunctor ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">NL3D::CPSAttribMakerT< CPlaneBasis, CPSValueBlendFunc< CPlaneBasis > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">NL3D::CPSAttribMakerT< float, CPSValueGradientFunc< float > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">NL3D::CPSAttribMakerT< float, CPSValueBlendFunc< float > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">NL3D::CPSAttribMakerT< T, CPSValueBlendSampleFunc< T, n > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">NL3D::CPSAttribMakerT< NLMISC::CRGBA, CPSValueBlendSampleFunc< NLMISC::CRGBA, n > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">NL3D::CPSAttribMakerT< CPlaneBasis, CPSValueGradientFunc< CPlaneBasis > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">NL3D::CPSAttribMakerT< CPlaneBasis, CSpinnerFunctor ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">NL3D::CPSAttribMakerT< T, CPSValueBlendFunc< T > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > ></a>, <a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya16">NL3D::CPSAttribMakerMemoryBase< float ></a>, <a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya16">NL3D::CPSAttribMakerMemoryBase< CPlaneBasis ></a>, <a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya16">NL3D::CPSAttribMakerMemoryBase< NLMISC::CRGBA ></a>, <a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya16">NL3D::CPSAttribMakerMemoryBase< uint32 ></a>, <a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya16">NL3D::CPSAttribMakerMemoryBase< sint32 ></a>, <a class="el" href="a02688.html#NL3D_1_1CIsotropicForceTa42">NL3D::CIsotropicForceT< CPSTurbulForceFunc ></a>, <a class="el" href="a02688.html#NL3D_1_1CIsotropicForceTa42">NL3D::CIsotropicForceT< CPSFluidFrictionFunctor ></a>, <a class="el" href="a03541.html#NL3D_1_1CTrackDefaultRGBAa9">NL3D::CTrackDefaultBlendable< float ></a>, <a class="el" href="a03541.html#NL3D_1_1CTrackDefaultRGBAa9">NL3D::CTrackDefaultBlendable< NLMISC::CRGBA ></a>, <a class="el" href="a03541.html#NL3D_1_1CTrackDefaultRGBAa9">NL3D::CTrackDefaultBlendable< CQuat ></a>, <a class="el" href="a03541.html#NL3D_1_1CTrackDefaultRGBAa9">NL3D::CTrackDefaultBlendable< sint32 ></a>, <a class="el" href="a03541.html#NL3D_1_1CTrackDefaultRGBAa9">NL3D::CTrackDefaultBlendable< CVector ></a>, <a class="el" href="a03545.html#NL3D_1_1CTrackDefaultStringa9">NL3D::CTrackDefaultNotBlendable< std::string ></a>, <a class="el" href="a03545.html#NL3D_1_1CTrackDefaultStringa9">NL3D::CTrackDefaultNotBlendable< bool ></a>, <a class="el" href="a03554.html#NL3D_1_1ITrackKeyFramera15">NL3D::ITrackKeyFramer< CKeyBezierVector ></a>, <a class="el" href="a03554.html#NL3D_1_1ITrackKeyFramera15">NL3D::ITrackKeyFramer< CKeyTCBVector ></a>, <a class="el" href="a03554.html#NL3D_1_1ITrackKeyFramera15">NL3D::ITrackKeyFramer< CKeyVector ></a>, <a class="el" href="a03554.html#NL3D_1_1ITrackKeyFramera15">NL3D::ITrackKeyFramer< CKeyTCBQuat ></a>, <a class="el" href="a03554.html#NL3D_1_1ITrackKeyFramera15">NL3D::ITrackKeyFramer< CKeyRGBA ></a>, <a class="el" href="a03554.html#NL3D_1_1ITrackKeyFramera15">NL3D::ITrackKeyFramer< CKeyInt ></a>, <a class="el" href="a03554.html#NL3D_1_1ITrackKeyFramera15">NL3D::ITrackKeyFramer< CKeyBool ></a>, <a class="el" href="a03554.html#NL3D_1_1ITrackKeyFramera15">NL3D::ITrackKeyFramer< CKeyFloat ></a>, <a class="el" href="a03554.html#NL3D_1_1ITrackKeyFramera15">NL3D::ITrackKeyFramer< CKeyQuat ></a>, <a class="el" href="a03554.html#NL3D_1_1ITrackKeyFramera15">NL3D::ITrackKeyFramer< CKeyBezierFloat ></a>, <a class="el" href="a03554.html#NL3D_1_1ITrackKeyFramera15">NL3D::ITrackKeyFramer< CKeyTCBFloat ></a>, <a class="el" href="a03554.html#NL3D_1_1ITrackKeyFramera15">NL3D::ITrackKeyFramer< CKeyString ></a>, and <a class="el" href="a03554.html#NL3D_1_1ITrackKeyFramera15">NL3D::ITrackKeyFramer< CKeyBezierQuat ></a>. +<p> +Referenced by <a class="el" href="a06005.html#l01627">NL3D::CMeshMRMGeom::loadHeader()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLoda12" doxytag="NL3D::CMeshBase::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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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">_AnimatedMaterials</a>, <a class="el" href="a05992.html#l00251">_AnimatedMorph</a>, <a class="el" href="a05992.html#l00258">_AutoAnim</a>, <a class="el" href="a05992.html#l00245">_DefaultPivot</a>, <a class="el" href="a05992.html#l00246">_DefaultRotEuler</a>, <a class="el" href="a05992.html#l00247">_DefaultRotQuat</a>, <a class="el" href="a05992.html#l00248">_DefaultScale</a>, <a class="el" href="a05992.html#l00254">_IsLightable</a>, <a class="el" href="a05992.html#l00234">_LightInfos</a>, <a class="el" href="a05992.html#l00278">_LodCharacterTexture</a>, <a class="el" href="a05992.html#l00256">_UseLightingLocalAttenuation</a>, <a class="el" href="a05991.html#l00407">computeIsLightable()</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05992.html#l00076">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 < 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 >= 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<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 < 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 >= 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>=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>=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 >= 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 >= 6) +00217 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_DistMax); +00218 +00219 <span class="keywordflow">if</span>(ver >= 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::CMeshBase::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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </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 & </td> + <td class="mdname" nowrap> <em>matName</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +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">_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><<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(&_Materials[<span class="keywordtype">id</span>]); +00086 } +00087 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodz433_1" doxytag="NL3D::CMeshBase::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">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>on</em> = true </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +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">_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_1IShapea11" doxytag="NL3D::CMeshBase::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">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>distMax</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +setup the DistMax where the shape is no more displayed. Take effect only for the next created instances. setting <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<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::CMeshBase::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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02810.html">CLodCharacterTexture</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>lodText</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +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">_LodCharacterTexture</a>, and <a class="el" href="a05991.html#l00436">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 <a class="code" href="a02858.html#NL3D_1_1CMeshBaser0">_LodCharacterTexture</a>= <span class="keyword">new</span> CLodCharacterTexture; +00452 *<a class="code" href="a02858.html#NL3D_1_1CMeshBaser0">_LodCharacterTexture</a>= lodText; +00453 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1IShapez904_0" doxytag="NL3D::CMeshBase::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"> virtual <a class="el" href="a02879.html">IMeshGeom</a>* NL3D::IShape::supportMeshBlockRendering </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02537.html">CTransformShape</a> * </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 & </td> + <td class="mdname" nowrap> <em>polygonCount</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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> </td><td>the instance to take into account (meshMultiLod may return NULL in blend transition). </td></tr> + <tr><td valign=top><em>polygonCount</em> </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 in <a class="el" href="a02857.html#NL3D_1_1CMeshz409_0">NL3D::CMesh</a>, <a class="el" href="a02891.html#NL3D_1_1CMeshMRMz497_0">NL3D::CMeshMRM</a>, <a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz529_0">NL3D::CMeshMRMSkinned</a>, and <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz539_0">NL3D::CMeshMultiLod</a>. +<p> +Definition at line <a class="el" href="a06377.html#l00158">158</a> of file <a class="el" href="a06377.html">shape.h</a>. +<p> +<div class="fragment"><pre>00158 {<span class="keywordflow">return</span> NULL;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLoda14" doxytag="NL3D::CMeshBase::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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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">_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::CMeshBase::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> + + </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::CMeshBase::_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]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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">applyMaterialUsageOptim()</a>, <a class="el" href="a05991.html#l00226">buildMeshBase()</a>, <a class="el" href="a05991.html#l00090">getAnimatedMaterial()</a>, <a class="el" href="a05991.html#l00261">instanciateMeshBase()</a>, <a class="el" href="a05991.html#l00149">serialMeshBase()</a>, and <a class="el" href="a05991.html#l00077">setAnimatedMaterial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodp1" doxytag="NL3D::CMeshBase::_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<<a class="el" href="a02936.html">CMorphBase</a>> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp1">NL3D::CMeshBase::_AnimatedMorph</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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">buildMeshBase()</a>, <a class="el" href="a05991.html#l00261">instanciateMeshBase()</a>, and <a class="el" href="a05991.html#l00149">serialMeshBase()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodp2" doxytag="NL3D::CMeshBase::_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]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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">CMeshBase()</a>, <a class="el" href="a05992.html#l00212">getAutoAnim()</a>, <a class="el" href="a05991.html#l00149">serialMeshBase()</a>, and <a class="el" href="a05992.html#l00210">setAutoAnim()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodp3" doxytag="NL3D::CMeshBase::_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]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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">CMeshBase()</a>, and <a class="el" href="a05992.html#l00166">getDefaultLMFactor()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodp4" doxytag="NL3D::CMeshBase::_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]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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">buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">CMeshBase()</a>, <a class="el" href="a05992.html#l00162">getDefaultPivot()</a>, <a class="el" href="a05991.html#l00261">instanciateMeshBase()</a>, and <a class="el" href="a05991.html#l00149">serialMeshBase()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodp5" doxytag="NL3D::CMeshBase::_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]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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::CMeshBase::_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]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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">buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">CMeshBase()</a>, <a class="el" href="a05992.html#l00163">getDefaultRotEuler()</a>, and <a class="el" href="a05991.html#l00149">serialMeshBase()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodp7" doxytag="NL3D::CMeshBase::_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]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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">buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">CMeshBase()</a>, <a class="el" href="a05992.html#l00164">getDefaultRotQuat()</a>, <a class="el" href="a05991.html#l00261">instanciateMeshBase()</a>, and <a class="el" href="a05991.html#l00149">serialMeshBase()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodp8" doxytag="NL3D::CMeshBase::_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]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="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">buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">CMeshBase()</a>, <a class="el" href="a05992.html#l00165">getDefaultScale()</a>, <a class="el" href="a05991.html#l00261">instanciateMeshBase()</a>, and <a class="el" href="a05991.html#l00149">serialMeshBase()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1IShapep0" doxytag="NL3D::CMeshBase::_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> + + </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::CMeshBase::_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]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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">computeIsLightable()</a>, <a class="el" href="a05992.html#l00198">isLightable()</a>, and <a class="el" href="a05991.html#l00149">serialMeshBase()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodo0" doxytag="NL3D::CMeshBase::_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> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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">applyMaterialUsageOptim()</a>, <a class="el" href="a05991.html#l00226">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">serialMeshBase()</a>, and <a class="el" href="a05993.html#l00214">NL3D::CMeshBaseInstance::traverseAnimDetail()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshBaser0" doxytag="NL3D::CMeshBase::_LodCharacterTexture" ></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="a02810.html">CLodCharacterTexture</a>* <a class="el" href="a02858.html#NL3D_1_1CMeshBaser0">NL3D::CMeshBase::_LodCharacterTexture</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The Texture Lod info for this mesh. NB: NULL by default. +<p> + +<p> +Definition at line <a class="el" href="a05992.html#l00278">278</a> of file <a class="el" href="a05992.html">mesh_base.h</a>. +<p> +Referenced by <a class="el" href="a05991.html#l00043">CMeshBase()</a>, <a class="el" href="a05992.html#l00223">getLodCharacterTexture()</a>, <a class="el" href="a05991.html#l00436">resetLodCharacterTexture()</a>, <a class="el" href="a05991.html#l00149">serialMeshBase()</a>, and <a class="el" href="a05991.html#l00446">setupLodCharacterTexture()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshMultiLodp11" doxytag="NL3D::CMeshBase::_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<<a class="el" href="a02839.html">CMaterial</a>> <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLodp11">NL3D::CMeshBase::_Materials</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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_1CMeshMultiLodp12" doxytag="NL3D::CMeshBase::_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]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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">buildMeshBase()</a>, <a class="el" href="a05991.html#l00043">CMeshBase()</a>, <a class="el" href="a05991.html#l00149">serialMeshBase()</a>, and <a class="el" href="a05991.html#l00429">useLightingLocalAttenuation()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypeo0" doxytag="NL3D::CMeshBase::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> + + </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::CMeshBase::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> + + </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::CMeshBase::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> + + </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="a05992.html">mesh_base.h</a><li><a class="el" href="a05991.html">mesh_base.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:51:11 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> |