diff options
Diffstat (limited to 'docs/doxygen/nel/a02965.html')
-rw-r--r-- | docs/doxygen/nel/a02965.html | 304 |
1 files changed, 304 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02965.html b/docs/doxygen/nel/a02965.html new file mode 100644 index 00000000..f052321c --- /dev/null +++ b/docs/doxygen/nel/a02965.html @@ -0,0 +1,304 @@ +<!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::CMRMMeshFinal::CWedge 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::CMRMMeshFinal::CWedge Struct Reference</h1><code>#include <<a class="el" href="a06062.html">mrm_mesh.h</a>></code> +<p> +<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> </td><td class="memItemRight" valign=bottom><a class="el" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgea0">CWedge</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgea1">operator<</a> (const <a class="el" href="a02965.html">CWedge</a> &o) const </td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03668.html">CVectorH</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo0">Attributes</a> [12]</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="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo1">NSkinMatUsed</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">CVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo2">Vertex</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02865.html">CMesh::CSkinWeight</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo3">VertexSkin</a></td></tr> + +<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedges0">CompareSkinning</a> = false</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="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedges1">NumAttributesToCompare</a> = 0</td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CMRMMeshFinal_1_1CWedgea0" doxytag="NL3D::CMRMMeshFinal::CWedge::CWedge" ></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::CMRMMeshFinal::CWedge::CWedge </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="a06061.html#l00075">75</a> of file <a class="el" href="a06061.html">mrm_mesh.cpp</a>. +<p> +References <a class="el" href="a06062.html#l00046">NL3D_MRM_MAX_ATTRIB</a>, <a class="el" href="a06062.html#l00213">NSkinMatUsed</a>, <a class="el" href="a06681.html#l00060">NLMISC::CVectorH::set()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00076 { +00077 <a class="code" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo2">Vertex</a> = <a class="code" href="a03128.html#NLMISC_1_1CVectors3">NLMISC::CVector::Null</a>; +00078 <a class="code" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo1">NSkinMatUsed</a> = 0; +00079 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k < <a class="code" href="a04639.html#a0">NL3D_MRM_MAX_ATTRIB</a>; ++k) +00080 { +00081 <a class="code" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo0">Attributes</a>[k].<a class="code" href="a03668.html#NLMISC_1_1CVectorHa5">set</a>(0, 0, 0, 0); +00082 } +00083 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CMRMMeshFinal_1_1CWedgea1" doxytag="NL3D::CMRMMeshFinal::CWedge::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"> bool NL3D::CMRMMeshFinal::CWedge::operator< </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02965.html">CWedge</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>o</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> + +<p> +Definition at line <a class="el" href="a06062.html#l00219">219</a> of file <a class="el" href="a06062.html">mrm_mesh.h</a>. +<p> +References <a class="el" href="a06062.html#l00215">Attributes</a>, <a class="el" href="a06061.html#l00039">CompareSkinning</a>, <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="a06062.html#l00046">NL3D_MRM_MAX_ATTRIB</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06061.html#l00038">NumAttributesToCompare</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a06062.html#l00214">Vertex</a>, <a class="el" href="a06062.html#l00211">VertexSkin</a>, and <a class="el" href="a05990.html#l00118">NL3D::CMesh::CSkinWeight::Weights</a>. +<p> +<div class="fragment"><pre>00220 { +00221 <span class="keywordflow">if</span>(<a class="code" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo2">Vertex</a>!=o.Vertex) +00222 <span class="keywordflow">return</span> <a class="code" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo2">Vertex</a><o.Vertex; +00223 <span class="keywordflow">else</span> +00224 { +00225 <a class="code" href="a04199.html#a6">nlassert</a>(NumAttributesToCompare<=NL3D_MRM_MAX_ATTRIB); +00226 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=0; i<<a class="code" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedges1">NumAttributesToCompare</a>; i++) +00227 { +00228 <span class="keywordflow">if</span>(<a class="code" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo0">Attributes</a>[i]!=o.Attributes[i]) +00229 <span class="keywordflow">return</span> <a class="code" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo0">Attributes</a>[i]<o.Attributes[i]; +00230 } +00231 } +00232 +00233 <span class="comment">// They may be different by their skin Weight.</span> +00234 <span class="keywordflow">if</span>(<a class="code" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedges0">CompareSkinning</a>) +00235 { +00236 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=0; i<<a class="code" href="a04567.html#a0">NL3D_MESH_SKINNING_MAX_MATRIX</a>; i++) +00237 { +00238 <span class="keywordflow">if</span>( <a class="code" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo3">VertexSkin</a>.MatrixId[i] != o.VertexSkin.MatrixId[i] ) +00239 <span class="keywordflow">return</span> <a class="code" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo3">VertexSkin</a>.MatrixId[i] < o.VertexSkin.MatrixId[i]; +00240 <span class="keywordflow">if</span>( <a class="code" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo3">VertexSkin</a>.Weights[i] != o.VertexSkin.Weights[i] ) +00241 <span class="keywordflow">return</span> <a class="code" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo3">VertexSkin</a>.Weights[i] < o.VertexSkin.Weights[i]; +00242 } +00243 } +00244 +00245 <span class="comment">// else they are equal.</span> +00246 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00247 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CMRMMeshFinal_1_1CWedgeo0" doxytag="NL3D::CMRMMeshFinal::CWedge::Attributes" ></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="a03668.html">CVectorH</a> <a class="el" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo0">NL3D::CMRMMeshFinal::CWedge::Attributes</a>[ 12 ] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06062.html#l00215">215</a> of file <a class="el" href="a06062.html">mrm_mesh.h</a>. +<p> +Referenced by <a class="el" href="a06055.html#l01336">NL3D::CMRMBuilder::buildFinalMRM()</a>, <a class="el" href="a06055.html#l01918">NL3D::CMRMBuilder::buildMeshBuildMrm()</a>, and <a class="el" href="a06062.html#l00219">operator<()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMRMMeshFinal_1_1CWedges0" doxytag="NL3D::CMRMMeshFinal::CWedge::CompareSkinning" ></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="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedges0">NL3D::CMRMMeshFinal::CWedge::CompareSkinning</a> = false<code> [static]</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="a06061.html#l00039">39</a> of file <a class="el" href="a06061.html">mrm_mesh.cpp</a>. +<p> +Referenced by <a class="el" href="a06062.html#l00219">operator<()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMRMMeshFinal_1_1CWedgeo1" doxytag="NL3D::CMRMMeshFinal::CWedge::NSkinMatUsed" ></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="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo1">NL3D::CMRMMeshFinal::CWedge::NSkinMatUsed</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="a06062.html#l00213">213</a> of file <a class="el" href="a06062.html">mrm_mesh.h</a>. +<p> +Referenced by <a class="el" href="a06055.html#l01336">NL3D::CMRMBuilder::buildFinalMRM()</a>, and <a class="el" href="a06061.html#l00075">CWedge()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMRMMeshFinal_1_1CWedges1" doxytag="NL3D::CMRMMeshFinal::CWedge::NumAttributesToCompare" ></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="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedges1">NL3D::CMRMMeshFinal::CWedge::NumAttributesToCompare</a> = 0<code> [static]</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="a06061.html#l00038">38</a> of file <a class="el" href="a06061.html">mrm_mesh.cpp</a>. +<p> +Referenced by <a class="el" href="a06062.html#l00219">operator<()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMRMMeshFinal_1_1CWedgeo2" doxytag="NL3D::CMRMMeshFinal::CWedge::Vertex" ></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="a03128.html">CVector</a> <a class="el" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo2">NL3D::CMRMMeshFinal::CWedge::Vertex</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="a06062.html#l00214">214</a> of file <a class="el" href="a06062.html">mrm_mesh.h</a>. +<p> +Referenced by <a class="el" href="a06055.html#l01336">NL3D::CMRMBuilder::buildFinalMRM()</a>, <a class="el" href="a06055.html#l01918">NL3D::CMRMBuilder::buildMeshBuildMrm()</a>, and <a class="el" href="a06062.html#l00219">operator<()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMRMMeshFinal_1_1CWedgeo3" doxytag="NL3D::CMRMMeshFinal::CWedge::VertexSkin" ></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="a02865.html">CMesh::CSkinWeight</a> <a class="el" href="a02965.html#NL3D_1_1CMRMMeshFinal_1_1CWedgeo3">NL3D::CMRMMeshFinal::CWedge::VertexSkin</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="a06062.html#l00211">211</a> of file <a class="el" href="a06062.html">mrm_mesh.h</a>. +<p> +Referenced by <a class="el" href="a06055.html#l01336">NL3D::CMRMBuilder::buildFinalMRM()</a>, <a class="el" href="a06055.html#l01918">NL3D::CMRMBuilder::buildMeshBuildMrm()</a>, and <a class="el" href="a06062.html#l00219">operator<()</a>. </td> + </tr> +</table> +<hr>The documentation for this struct was generated from the following files:<ul> +<li><a class="el" href="a06062.html">mrm_mesh.h</a><li><a class="el" href="a06061.html">mrm_mesh.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:57:01 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> |