diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNL3D_1_1CLodCharacterShape.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1CLodCharacterShape.html')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CLodCharacterShape.html | 1149 |
1 files changed, 1149 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CLodCharacterShape.html b/docs/doxygen/nel/classNL3D_1_1CLodCharacterShape.html new file mode 100644 index 00000000..d0ceb215 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CLodCharacterShape.html @@ -0,0 +1,1149 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.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">Compound List</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">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NL3D::CLodCharacterShape Class Reference</h1>A very Small Shape with anims encoded as Key Meshes. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>></code> +<p> +<a href="classNL3D_1_1CLodCharacterShape-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#a0">CLodCharacterShape</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#a1">buildMesh</a> (const std::string &name, const <a class="el" href="classNL3D_1_1CLodCharacterShapeBuild.html">CLodCharacterShapeBuild</a> &lodBuild)</td></tr> +<tr><td> </td><td><font size=-1><em>build the Mesh base information NB: SkinWeights array tells for each vertex what bone color to use.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#a2">addAnim</a> (const <a class="el" href="structNL3D_1_1CLodCharacterShape_1_1CAnimBuild.html">CAnimBuild</a> &animBuild)</td></tr> +<tr><td> </td><td><font size=-1><em>Add an animation.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#a3">serial</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f)</td></tr> +<tr><td> </td><td><font size=-1><em>serial this shape.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const std::string & </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#a4">getName</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get name of this lod.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a14">sint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#a5">getAnimIdByName</a> (const std::string &name) const</td></tr> +<tr><td> </td><td><font size=-1><em>get the animId from a name. -1 if not found.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#a6">getNumVertices</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get the number of vertices of this mesh.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#a7">getNumTriangles</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get the number of triangles of this mesh.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#a8">getNumBones</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get the number of bones.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a14">sint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#a9">getBoneIdByName</a> (const std::string &name) const</td></tr> +<tr><td> </td><td><font size=-1><em>get a bone id, according to its name. -1 if not found.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="memory__common_8h.html#a11">uint32</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#a10">getTriangleArray</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get a ptr to the triangles indices.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const CUV * </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#a11">getUVs</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get a ptr on the UVs.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const CVector * </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#a12">getNormals</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get a ptr to the triangles indices.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="structNL3D_1_1CLodCharacterShape_1_1CVector3s.html">CVector3s</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#a13">getAnimKey</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> animId, <a class="el" href="namespaceNL3D.html#a2">TGlobalAnimationTime</a> time, bool wrapMode, CVector &unPackScaleFactor) const</td></tr> +<tr><td> </td><td><font size=-1><em>get a ptr to the vertices of the key according to animId and time.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Vertex per Bone coloring</div></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#z536_0">startBoneColor</a> (std::vector< <a class="el" href="classNLMISC_1_1CRGBAF.html">NLMISC::CRGBAF</a> > &tmpColors) const</td></tr> +<tr><td> </td><td><font size=-1><em>init the process by resize-ing a tmp RGBAF vector of <a class="el" href="classNL3D_1_1CLodCharacterShape.html#a6">getNumVertices</a>() size, and reset to full black.</em> <a href="#z536_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#z536_1">addBoneColor</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> boneId, CRGBA color, std::vector< <a class="el" href="classNLMISC_1_1CRGBAF.html">NLMISC::CRGBAF</a> > &tmpColors) const</td></tr> +<tr><td> </td><td><font size=-1><em>Add a bone color influence to tmpColors.</em> <a href="#z536_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#z536_2">endBoneColor</a> (const std::vector< <a class="el" href="classNLMISC_1_1CRGBAF.html">NLMISC::CRGBAF</a> > &tmpColors, std::vector< <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> > &dstColors) const</td></tr> +<tr><td> </td><td><font size=-1><em>Compile boneColor result into a CRGBA vector (resize-ed by the method), averaging with weight stored in A.</em> <a href="#z536_2">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Types</h2></td></tr> +<tr><td nowrap align=right valign=top>typedef std::map< std::string,<br> + <a class="el" href="memory__common_8h.html#a11">uint32</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#u0">TStrIdMap</a></td></tr> +<tr><td> </td><td><font size=-1><em>Map name To Id.</em> <a href="#u0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>typedef TStrIdMap::iterator </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#u1">ItStrIdMap</a></td></tr> +<tr><td nowrap align=right valign=top>typedef TStrIdMap::const_iterator </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#u2">CstItStrIdMap</a></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>std::string </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#o0">_Name</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#o1">_NumVertices</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#o2">_NumTriangles</a></td></tr> +<tr><td nowrap align=right valign=top>std::vector< CUV > </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#o3">_UVs</a></td></tr> +<tr><td nowrap align=right valign=top>std::vector< CVector > </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#o4">_Normals</a></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="structNL3D_1_1CLodCharacterShape_1_1CBoneInfluence.html">CBoneInfluence</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#o5">_Bones</a></td></tr> +<tr><td> </td><td><font size=-1><em>List of bones and vertices they influence.</em> <a href="#o5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CLodCharacterShape.html#u0">TStrIdMap</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#o6">_BoneMap</a></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="memory__common_8h.html#a11">uint32</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#o7">_TriangleIndices</a></td></tr> +<tr><td> </td><td><font size=-1><em>numTriangles * 3.</em> <a href="#o7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="structNL3D_1_1CLodCharacterShape_1_1CAnim.html">CAnim</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#o8">_Anims</a></td></tr> +<tr><td> </td><td><font size=-1><em>List of animation.</em> <a href="#o8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CLodCharacterShape.html#u0">TStrIdMap</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CLodCharacterShape.html#o9">_AnimMap</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A very Small Shape with anims encoded as Key Meshes. +<p> +Used for Lod of skinned meshes NB: normals are not skinned (for anim size consideration). <dl compact><dt><b> +Author: </b><dd> +Lionel Berenguier , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2002 </dl> +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00130">130</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>.<hr><h2>Member Typedef Documentation</h2> +<a name="u2" doxytag="NL3D::CLodCharacterShape::CstItStrIdMap"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef TStrIdMap::const_iterator NL3D::CLodCharacterShape::CstItStrIdMap<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00282">282</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>. +<p> +Referenced by <a class="el" href="lod__character__shape_8cpp-source.html#l00540">getAnimIdByName</a>, and <a class="el" href="lod__character__shape_8cpp-source.html#l00551">getBoneIdByName</a>. </td> + </tr> +</table> +<a name="u1" doxytag="NL3D::CLodCharacterShape::ItStrIdMap"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef TStrIdMap::iterator NL3D::CLodCharacterShape::ItStrIdMap<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00281">281</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>. </td> + </tr> +</table> +<a name="u0" doxytag="NL3D::CLodCharacterShape::TStrIdMap"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef std::map<std::string, <a class="el" href="memory__common_8h.html#a11">uint32</a>> NL3D::CLodCharacterShape::TStrIdMap<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Map name To Id. +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00280">280</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NL3D::CLodCharacterShape::CLodCharacterShape"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CLodCharacterShape::CLodCharacterShape </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="lod__character__shape_8cpp-source.html#l00329">329</a> of file <a class="el" href="lod__character__shape_8cpp-source.html">lod_character_shape.cpp</a>. +<p> +References <a class="el" href="lod__character__shape_8h-source.html#l00287">_NumTriangles</a>, and <a class="el" href="lod__character__shape_8h-source.html#l00286">_NumVertices</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a2" doxytag="NL3D::CLodCharacterShape::addAnim"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CLodCharacterShape::addAnim </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="structNL3D_1_1CLodCharacterShape_1_1CAnimBuild.html">CAnimBuild</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>animBuild</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> +Add an animation. +<p> +many nlAssert to verify array size etc... return false, if same AnimName exist. NB: the entire animation is compressed to <a class="el" href="structNL3D_1_1CLodCharacterShape_1_1CVector3s.html">CVector3s</a> internally. +<p> +Definition at line <a class="el" href="lod__character__shape_8cpp-source.html#l00410">410</a> of file <a class="el" href="lod__character__shape_8cpp-source.html">lod_character_shape.cpp</a>. +<p> +References <a class="el" href="lod__character__shape_8h-source.html#l00304">_AnimMap</a>, <a class="el" href="lod__character__shape_8h-source.html#l00301">_Anims</a>, <a class="el" href="lod__character__shape_8h-source.html#l00286">_NumVertices</a>, <a class="el" href="common_8h-source.html#l00151">NLMISC::clamp</a>, <a class="el" href="lod__character__shape_8cpp-source.html#l00540">getAnimIdByName</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>. </td> + </tr> +</table> +<a name="z536_1" doxytag="NL3D::CLodCharacterShape::addBoneColor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLodCharacterShape::addBoneColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>boneId</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>CRGBA </td> + <td class="mdname" nowrap> <em>color</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>std::vector< <a class="el" href="classNLMISC_1_1CRGBAF.html">NLMISC::CRGBAF</a> > & </td> + <td class="mdname" nowrap> <em>tmpColors</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Add a bone color influence to tmpColors. +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8cpp-source.html#l00639">639</a> of file <a class="el" href="lod__character__shape_8cpp-source.html">lod_character_shape.cpp</a>. +<p> +References <a class="el" href="lod__character__shape_8h-source.html#l00292">_Bones</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::CLodCharacterShape::buildMesh"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLodCharacterShape::buildMesh </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNL3D_1_1CLodCharacterShapeBuild.html">CLodCharacterShapeBuild</a> & </td> + <td class="mdname" nowrap> <em>lodBuild</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> +build the Mesh base information NB: SkinWeights array tells for each vertex what bone color to use. +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8cpp-source.html#l00336">336</a> of file <a class="el" href="lod__character__shape_8cpp-source.html">lod_character_shape.cpp</a>. +<p> +References <a class="el" href="lod__character__shape_8h-source.html#l00304">_AnimMap</a>, <a class="el" href="lod__character__shape_8h-source.html#l00301">_Anims</a>, <a class="el" href="lod__character__shape_8h-source.html#l00295">_BoneMap</a>, <a class="el" href="lod__character__shape_8h-source.html#l00292">_Bones</a>, <a class="el" href="lod__character__shape_8h-source.html#l00285">_Name</a>, <a class="el" href="lod__character__shape_8h-source.html#l00290">_Normals</a>, <a class="el" href="lod__character__shape_8h-source.html#l00287">_NumTriangles</a>, <a class="el" href="lod__character__shape_8h-source.html#l00286">_NumVertices</a>, <a class="el" href="lod__character__shape_8h-source.html#l00298">_TriangleIndices</a>, <a class="el" href="lod__character__shape_8h-source.html#l00289">_UVs</a>, <a class="el" href="common_8h-source.html#l00177">NLMISC::contReset</a>, <a class="el" href="mesh_8h-source.html#l00062">NL3D_MESH_SKINNING_MAX_MATRIX</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="z536_2" doxytag="NL3D::CLodCharacterShape::endBoneColor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLodCharacterShape::endBoneColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::vector< <a class="el" href="classNLMISC_1_1CRGBAF.html">NLMISC::CRGBAF</a> > & </td> + <td class="mdname" nowrap> <em>tmpColors</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>std::vector< <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> > & </td> + <td class="mdname" nowrap> <em>dstColors</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compile boneColor result into a CRGBA vector (resize-ed by the method), averaging with weight stored in A. +<p> +NB: if a final vertex is not influenced by any BoneColor, then it will receive (128,128,128,0). Hence it will be somewhat transparent (AlphaTest is used to render lod character shapes). This may be interressant to hide some parts if they are not used. +<p> +Definition at line <a class="el" href="lod__character__shape_8cpp-source.html#l00660">660</a> of file <a class="el" href="lod__character__shape_8cpp-source.html">lod_character_shape.cpp</a>. +<p> +References <a class="el" href="lod__character__shape_8h-source.html#l00184">getNumVertices</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="fast__floor_8h-source.html#l00125">NL3D::OptFastFloor</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NL3D::CLodCharacterShape::getAnimIdByName"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a14">sint</a> NL3D::CLodCharacterShape::getAnimIdByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the animId from a name. -1 if not found. +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8cpp-source.html#l00540">540</a> of file <a class="el" href="lod__character__shape_8cpp-source.html">lod_character_shape.cpp</a>. +<p> +References <a class="el" href="lod__character__shape_8h-source.html#l00304">_AnimMap</a>, and <a class="el" href="lod__character__shape_8h-source.html#l00282">CstItStrIdMap</a>. +<p> +Referenced by <a class="el" href="lod__character__shape_8cpp-source.html#l00410">addAnim</a>. </td> + </tr> +</table> +<a name="a13" doxytag="NL3D::CLodCharacterShape::getAnimKey"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="structNL3D_1_1CLodCharacterShape_1_1CVector3s.html">CLodCharacterShape::CVector3s</a> * NL3D::CLodCharacterShape::getAnimKey </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>animId</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="namespaceNL3D.html#a2">TGlobalAnimationTime</a> </td> + <td class="mdname" nowrap> <em>time</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>wrapMode</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>CVector & </td> + <td class="mdname" nowrap> <em>unPackScaleFactor</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get a ptr to the vertices of the key according to animId and time. +<p> +NB: the anim Loop if wrapMode is true <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>unPackScaleFactor</em> </td><td> +return value is the scale factor which to multiply </td></tr> +</table> +</dl><dl compact><dt><b> +Returns: </b><dd> +NULL if animId is not valid </dl> +<p> +Definition at line <a class="el" href="lod__character__shape_8cpp-source.html#l00571">571</a> of file <a class="el" href="lod__character__shape_8cpp-source.html">lod_character_shape.cpp</a>. +<p> +References <a class="el" href="lod__character__shape_8h-source.html#l00301">_Anims</a>, <a class="el" href="lod__character__shape_8h-source.html#l00286">_NumVertices</a>, <a class="el" href="common_8h-source.html#l00151">NLMISC::clamp</a>, <a class="el" href="memory__common_8h-source.html#l00104">sint</a>, and <a class="el" href="animation__time_8h-source.html#l00045">NL3D::TGlobalAnimationTime</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NL3D::CLodCharacterShape::getBoneIdByName"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a14">sint</a> NL3D::CLodCharacterShape::getBoneIdByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get a bone id, according to its name. -1 if not found. +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8cpp-source.html#l00551">551</a> of file <a class="el" href="lod__character__shape_8cpp-source.html">lod_character_shape.cpp</a>. +<p> +References <a class="el" href="lod__character__shape_8h-source.html#l00295">_BoneMap</a>, and <a class="el" href="lod__character__shape_8h-source.html#l00282">CstItStrIdMap</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NL3D::CLodCharacterShape::getName"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const std::string& NL3D::CLodCharacterShape::getName </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 name of this lod. +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00178">178</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>. +<p> +References <a class="el" href="lod__character__shape_8h-source.html#l00285">_Name</a>. </td> + </tr> +</table> +<a name="a12" doxytag="NL3D::CLodCharacterShape::getNormals"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const CVector * NL3D::CLodCharacterShape::getNormals </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</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get a ptr to the triangles indices. +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8cpp-source.html#l00611">611</a> of file <a class="el" href="lod__character__shape_8cpp-source.html">lod_character_shape.cpp</a>. +<p> +References <a class="el" href="lod__character__shape_8h-source.html#l00290">_Normals</a>, and <a class="el" href="lod__character__shape_8h-source.html#l00286">_NumVertices</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NL3D::CLodCharacterShape::getNumBones"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NL3D::CLodCharacterShape::getNumBones </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 bones. +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00190">190</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>. +<p> +References <a class="el" href="lod__character__shape_8h-source.html#l00292">_Bones</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NL3D::CLodCharacterShape::getNumTriangles"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NL3D::CLodCharacterShape::getNumTriangles </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 triangles of this mesh. +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00187">187</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>. +<p> +References <a class="el" href="lod__character__shape_8h-source.html#l00287">_NumTriangles</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NL3D::CLodCharacterShape::getNumVertices"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NL3D::CLodCharacterShape::getNumVertices </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 vertices of this mesh. +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00184">184</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>. +<p> +References <a class="el" href="lod__character__shape_8h-source.html#l00286">_NumVertices</a>. +<p> +Referenced by <a class="el" href="lod__character__shape_8cpp-source.html#l00660">endBoneColor</a>, and <a class="el" href="lod__character__shape_8cpp-source.html#l00629">startBoneColor</a>. </td> + </tr> +</table> +<a name="a10" doxytag="NL3D::CLodCharacterShape::getTriangleArray"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="memory__common_8h.html#a11">uint32</a> * NL3D::CLodCharacterShape::getTriangleArray </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</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get a ptr to the triangles indices. +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8cpp-source.html#l00562">562</a> of file <a class="el" href="lod__character__shape_8cpp-source.html">lod_character_shape.cpp</a>. +<p> +References <a class="el" href="lod__character__shape_8h-source.html#l00298">_TriangleIndices</a>. </td> + </tr> +</table> +<a name="a11" doxytag="NL3D::CLodCharacterShape::getUVs"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const CUV * NL3D::CLodCharacterShape::getUVs </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</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get a ptr on the UVs. +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8cpp-source.html#l00602">602</a> of file <a class="el" href="lod__character__shape_8cpp-source.html">lod_character_shape.cpp</a>. +<p> +References <a class="el" href="lod__character__shape_8h-source.html#l00286">_NumVertices</a>, and <a class="el" href="lod__character__shape_8h-source.html#l00289">_UVs</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NL3D::CLodCharacterShape::serial"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLodCharacterShape::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1IStream.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></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +serial this shape. +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8cpp-source.html#l00504">504</a> of file <a class="el" href="lod__character__shape_8cpp-source.html">lod_character_shape.cpp</a>. +<p> +References <a class="el" href="lod__character__shape_8h-source.html#l00304">_AnimMap</a>, <a class="el" href="lod__character__shape_8h-source.html#l00301">_Anims</a>, <a class="el" href="lod__character__shape_8h-source.html#l00295">_BoneMap</a>, <a class="el" href="lod__character__shape_8h-source.html#l00292">_Bones</a>, <a class="el" href="lod__character__shape_8h-source.html#l00285">_Name</a>, <a class="el" href="lod__character__shape_8h-source.html#l00290">_Normals</a>, <a class="el" href="lod__character__shape_8h-source.html#l00287">_NumTriangles</a>, <a class="el" href="lod__character__shape_8h-source.html#l00286">_NumVertices</a>, <a class="el" href="lod__character__shape_8h-source.html#l00298">_TriangleIndices</a>, <a class="el" href="lod__character__shape_8h-source.html#l00289">_UVs</a>, <a class="el" href="stream_8h-source.html#l00222">NLMISC::IStream::serial</a>, <a class="el" href="stream_8h-source.html#l00488">NLMISC::IStream::serialCheck</a>, <a class="el" href="stream_8h-source.html#l00312">NLMISC::IStream::serialCont</a>, and <a class="el" href="stream_8cpp-source.html#l00253">NLMISC::IStream::serialVersion</a>. </td> + </tr> +</table> +<a name="z536_0" doxytag="NL3D::CLodCharacterShape::startBoneColor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CLodCharacterShape::startBoneColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< <a class="el" href="classNLMISC_1_1CRGBAF.html">NLMISC::CRGBAF</a> > & </td> + <td class="mdname1" valign="top" nowrap> <em>tmpColors</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +init the process by resize-ing a tmp RGBAF vector of <a class="el" href="classNL3D_1_1CLodCharacterShape.html#a6">getNumVertices</a>() size, and reset to full black. +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8cpp-source.html#l00629">629</a> of file <a class="el" href="lod__character__shape_8cpp-source.html">lod_character_shape.cpp</a>. +<p> +References <a class="el" href="lod__character__shape_8h-source.html#l00184">getNumVertices</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o9" doxytag="NL3D::CLodCharacterShape::_AnimMap"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CLodCharacterShape.html#u0">TStrIdMap</a> NL3D::CLodCharacterShape::_AnimMap<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00304">304</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>. +<p> +Referenced by <a class="el" href="lod__character__shape_8cpp-source.html#l00410">addAnim</a>, <a class="el" href="lod__character__shape_8cpp-source.html#l00336">buildMesh</a>, <a class="el" href="lod__character__shape_8cpp-source.html#l00540">getAnimIdByName</a>, and <a class="el" href="lod__character__shape_8cpp-source.html#l00504">serial</a>. </td> + </tr> +</table> +<a name="o8" doxytag="NL3D::CLodCharacterShape::_Anims"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="structNL3D_1_1CLodCharacterShape_1_1CAnim.html">CAnim</a>> NL3D::CLodCharacterShape::_Anims<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +List of animation. +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00301">301</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>. +<p> +Referenced by <a class="el" href="lod__character__shape_8cpp-source.html#l00410">addAnim</a>, <a class="el" href="lod__character__shape_8cpp-source.html#l00336">buildMesh</a>, <a class="el" href="lod__character__shape_8cpp-source.html#l00571">getAnimKey</a>, and <a class="el" href="lod__character__shape_8cpp-source.html#l00504">serial</a>. </td> + </tr> +</table> +<a name="o6" doxytag="NL3D::CLodCharacterShape::_BoneMap"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CLodCharacterShape.html#u0">TStrIdMap</a> NL3D::CLodCharacterShape::_BoneMap<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00295">295</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>. +<p> +Referenced by <a class="el" href="lod__character__shape_8cpp-source.html#l00336">buildMesh</a>, <a class="el" href="lod__character__shape_8cpp-source.html#l00551">getBoneIdByName</a>, and <a class="el" href="lod__character__shape_8cpp-source.html#l00504">serial</a>. </td> + </tr> +</table> +<a name="o5" doxytag="NL3D::CLodCharacterShape::_Bones"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="structNL3D_1_1CLodCharacterShape_1_1CBoneInfluence.html">CBoneInfluence</a>> NL3D::CLodCharacterShape::_Bones<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +List of bones and vertices they influence. +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00292">292</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>. +<p> +Referenced by <a class="el" href="lod__character__shape_8cpp-source.html#l00639">addBoneColor</a>, <a class="el" href="lod__character__shape_8cpp-source.html#l00336">buildMesh</a>, <a class="el" href="lod__character__shape_8h-source.html#l00190">getNumBones</a>, and <a class="el" href="lod__character__shape_8cpp-source.html#l00504">serial</a>. </td> + </tr> +</table> +<a name="o0" doxytag="NL3D::CLodCharacterShape::_Name"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string NL3D::CLodCharacterShape::_Name<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00285">285</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>. +<p> +Referenced by <a class="el" href="lod__character__shape_8cpp-source.html#l00336">buildMesh</a>, <a class="el" href="lod__character__shape_8h-source.html#l00178">getName</a>, and <a class="el" href="lod__character__shape_8cpp-source.html#l00504">serial</a>. </td> + </tr> +</table> +<a name="o4" doxytag="NL3D::CLodCharacterShape::_Normals"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<CVector> NL3D::CLodCharacterShape::_Normals<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00290">290</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>. +<p> +Referenced by <a class="el" href="lod__character__shape_8cpp-source.html#l00336">buildMesh</a>, <a class="el" href="lod__character__shape_8cpp-source.html#l00611">getNormals</a>, and <a class="el" href="lod__character__shape_8cpp-source.html#l00504">serial</a>. </td> + </tr> +</table> +<a name="o2" doxytag="NL3D::CLodCharacterShape::_NumTriangles"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NL3D::CLodCharacterShape::_NumTriangles<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00287">287</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>. +<p> +Referenced by <a class="el" href="lod__character__shape_8cpp-source.html#l00336">buildMesh</a>, <a class="el" href="lod__character__shape_8cpp-source.html#l00329">CLodCharacterShape</a>, <a class="el" href="lod__character__shape_8h-source.html#l00187">getNumTriangles</a>, and <a class="el" href="lod__character__shape_8cpp-source.html#l00504">serial</a>. </td> + </tr> +</table> +<a name="o1" doxytag="NL3D::CLodCharacterShape::_NumVertices"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NL3D::CLodCharacterShape::_NumVertices<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00286">286</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>. +<p> +Referenced by <a class="el" href="lod__character__shape_8cpp-source.html#l00410">addAnim</a>, <a class="el" href="lod__character__shape_8cpp-source.html#l00336">buildMesh</a>, <a class="el" href="lod__character__shape_8cpp-source.html#l00329">CLodCharacterShape</a>, <a class="el" href="lod__character__shape_8cpp-source.html#l00571">getAnimKey</a>, <a class="el" href="lod__character__shape_8cpp-source.html#l00611">getNormals</a>, <a class="el" href="lod__character__shape_8h-source.html#l00184">getNumVertices</a>, <a class="el" href="lod__character__shape_8cpp-source.html#l00602">getUVs</a>, and <a class="el" href="lod__character__shape_8cpp-source.html#l00504">serial</a>. </td> + </tr> +</table> +<a name="o7" doxytag="NL3D::CLodCharacterShape::_TriangleIndices"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="memory__common_8h.html#a11">uint32</a>> NL3D::CLodCharacterShape::_TriangleIndices<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +numTriangles * 3. +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00298">298</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>. +<p> +Referenced by <a class="el" href="lod__character__shape_8cpp-source.html#l00336">buildMesh</a>, <a class="el" href="lod__character__shape_8cpp-source.html#l00562">getTriangleArray</a>, and <a class="el" href="lod__character__shape_8cpp-source.html#l00504">serial</a>. </td> + </tr> +</table> +<a name="o3" doxytag="NL3D::CLodCharacterShape::_UVs"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<CUV> NL3D::CLodCharacterShape::_UVs<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="lod__character__shape_8h-source.html#l00289">289</a> of file <a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a>. +<p> +Referenced by <a class="el" href="lod__character__shape_8cpp-source.html#l00336">buildMesh</a>, <a class="el" href="lod__character__shape_8cpp-source.html#l00602">getUVs</a>, and <a class="el" href="lod__character__shape_8cpp-source.html#l00504">serial</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="lod__character__shape_8h-source.html">lod_character_shape.h</a><li><a class="el" href="lod__character__shape_8cpp-source.html">lod_character_shape.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |