diff options
Diffstat (limited to 'docs/doxygen/nel/a02883.html')
-rw-r--r-- | docs/doxygen/nel/a02883.html | 264 |
1 files changed, 264 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02883.html b/docs/doxygen/nel/a02883.html new file mode 100644 index 00000000..7972ff81 --- /dev/null +++ b/docs/doxygen/nel/a02883.html @@ -0,0 +1,264 @@ +<!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::CMeshGeom::CFaceTmp struct Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main 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::CMeshGeom::CFaceTmp Struct Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> +Just for build process. A Triangle face. +<p> + +<p> +Definition at line <a class="el" href="a05990.html#l00611">611</a> of file <a class="el" href="a05990.html">mesh.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02883.html#NL3D_1_1CMeshGeom_1_1CFaceTmpa0">buildBoneUse</a> (std::vector< <a class="el" href="a04558.html#a15">uint</a> > &boneUse, std::vector< <a class="el" href="a02865.html">CMesh::CSkinWeight</a> > &skinWeights)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02883.html#NL3D_1_1CMeshGeom_1_1CFaceTmpa1">CFaceTmp</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02883.html">CFaceTmp</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02883.html#NL3D_1_1CMeshGeom_1_1CFaceTmpa2">operator=</a> (const <a class="el" href="a02860.html">CMesh::CFace</a> &o)</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="a02882.html">CCornerTmp</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02883.html#NL3D_1_1CMeshGeom_1_1CFaceTmpo0">Corner</a> [3]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02883.html#NL3D_1_1CMeshGeom_1_1CFaceTmpo1">MaterialId</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="a02883.html#NL3D_1_1CMeshGeom_1_1CFaceTmpo2">MatrixBlockId</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CMeshGeom_1_1CFaceTmpa1" doxytag="NL3D::CMeshGeom::CFaceTmp::CFaceTmp" ></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::CMeshGeom::CFaceTmp::CFaceTmp </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="a05990.html#l00618">618</a> of file <a class="el" href="a05990.html">mesh.h</a>. +<p> +References <a class="el" href="a05990.html#l00616">MatrixBlockId</a>. +<p> +<div class="fragment"><pre>00619 { +00620 <a class="code" href="a02883.html#NL3D_1_1CMeshGeom_1_1CFaceTmpo2">MatrixBlockId</a>= -1; +00621 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CMeshGeom_1_1CFaceTmpa0" doxytag="NL3D::CMeshGeom::CFaceTmp::buildBoneUse" ></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::CMeshGeom::CFaceTmp::buildBoneUse </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< <a class="el" href="a04558.html#a15">uint</a> > & </td> + <td class="mdname" nowrap> <em>boneUse</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::vector< <a class="el" href="a02865.html">CMesh::CSkinWeight</a> > & </td> + <td class="mdname" nowrap> <em>skinWeights</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> + +<p> +Definition at line <a class="el" href="a05989.html#l01389">1389</a> of file <a class="el" href="a05989.html">mesh.cpp</a>. +<p> +References <a class="el" href="a05990.html#l00116">NL3D::CMesh::CSkinWeight::MatrixId</a>, <a class="el" href="a05990.html#l00063">NL3D_MESH_SKINNING_MAX_MATRIX</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05990.html#l00087">NL3D::CMesh::CCorner::Vertex</a>. +<p> +<div class="fragment"><pre>01390 { +01391 boneUse.clear(); +01392 +01393 <span class="comment">// For the 3 corners of the face.</span> +01394 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a14">sint</a> i=0;i<3;i++) +01395 { +01396 <span class="comment">// get the CSkinWeight of this vertex.</span> +01397 CMesh::CSkinWeight &sw= skinWeights[<a class="code" href="a02883.html#NL3D_1_1CMeshGeom_1_1CFaceTmpo0">Corner</a>[i].Vertex]; +01398 +01399 <span class="comment">// For all skin weights of this vertex,</span> +01400 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a14">sint</a> j=0;j<<a class="code" href="a04567.html#a0">NL3D_MESH_SKINNING_MAX_MATRIX</a>;j++) +01401 { +01402 <a class="code" href="a04558.html#a15">uint</a> boneId= sw.MatrixId[j]; +01403 <span class="comment">// insert (if not in the array) this bone.</span> +01404 <span class="keywordflow">if</span>( find(boneUse.begin(), boneUse.end(), boneId)==boneUse.end() ) +01405 boneUse.push_back(boneId); +01406 } +01407 } +01408 +01409 +01410 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshGeom_1_1CFaceTmpa2" doxytag="NL3D::CMeshGeom::CFaceTmp::operator=" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02883.html">CFaceTmp</a>& NL3D::CMeshGeom::CFaceTmp::operator= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02860.html">CMesh::CFace</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>o</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> + +<p> +Definition at line <a class="el" href="a05990.html#l00622">622</a> of file <a class="el" href="a05990.html">mesh.h</a>. +<p> +References <a class="el" href="a05990.html#l00103">NL3D::CMesh::CFace::Corner</a>, and <a class="el" href="a05990.html#l00104">NL3D::CMesh::CFace::MaterialId</a>. +<p> +<div class="fragment"><pre>00623 { +00624 <a class="code" href="a02883.html#NL3D_1_1CMeshGeom_1_1CFaceTmpo0">Corner</a>[0]= o.Corner[0]; +00625 <a class="code" href="a02883.html#NL3D_1_1CMeshGeom_1_1CFaceTmpo0">Corner</a>[1]= o.Corner[1]; +00626 <a class="code" href="a02883.html#NL3D_1_1CMeshGeom_1_1CFaceTmpo0">Corner</a>[2]= o.Corner[2]; +00627 <a class="code" href="a02883.html#NL3D_1_1CMeshGeom_1_1CFaceTmpo1">MaterialId</a>= o.MaterialId; +00628 +00629 <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00630 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CMeshGeom_1_1CFaceTmpo0" doxytag="NL3D::CMeshGeom::CFaceTmp::Corner" ></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="a02882.html">CCornerTmp</a> <a class="el" href="a02883.html#NL3D_1_1CMeshGeom_1_1CFaceTmpo0">NL3D::CMeshGeom::CFaceTmp::Corner</a>[3] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05990.html#l00613">613</a> of file <a class="el" href="a05990.html">mesh.h</a>. +<p> +Referenced by <a class="el" href="a05989.html#l00172">NL3D::CMeshGeom::build()</a>, and <a class="el" href="a05989.html#l01105">NL3D::CMeshGeom::buildSkin()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshGeom_1_1CFaceTmpo1" doxytag="NL3D::CMeshGeom::CFaceTmp::MaterialId" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a02883.html#NL3D_1_1CMeshGeom_1_1CFaceTmpo1">NL3D::CMeshGeom::CFaceTmp::MaterialId</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="a05990.html#l00614">614</a> of file <a class="el" href="a05990.html">mesh.h</a>. +<p> +Referenced by <a class="el" href="a05989.html#l00172">NL3D::CMeshGeom::build()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshGeom_1_1CFaceTmpo2" doxytag="NL3D::CMeshGeom::CFaceTmp::MatrixBlockId" ></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="a02883.html#NL3D_1_1CMeshGeom_1_1CFaceTmpo2">NL3D::CMeshGeom::CFaceTmp::MatrixBlockId</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="a05990.html#l00616">616</a> of file <a class="el" href="a05990.html">mesh.h</a>. +<p> +Referenced by <a class="el" href="a05989.html#l00172">NL3D::CMeshGeom::build()</a>, <a class="el" href="a05989.html#l01105">NL3D::CMeshGeom::buildSkin()</a>, and <a class="el" href="a05990.html#l00618">CFaceTmp()</a>. </td> + </tr> +</table> +<hr>The documentation for this struct was generated from the following files:<ul> +<li><a class="el" href="a05990.html">mesh.h</a><li><a class="el" href="a05989.html">mesh.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:52:08 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> |