diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a02884.html | 220 |
1 files changed, 220 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02884.html b/docs/doxygen/nel/a02884.html new file mode 100644 index 00000000..b11174d1 --- /dev/null +++ b/docs/doxygen/nel/a02884.html @@ -0,0 +1,220 @@ +<!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::CMatrixBlock 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::CMeshGeom::CMatrixBlock Class Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> +A block of RdrPasses, sorted by matrix use. +<p> + +<p> +Definition at line <a class="el" href="a05990.html#l00508">508</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><a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02884.html#NL3D_1_1CMeshGeom_1_1CMatrixBlocka0">getMatrixIdLocation</a> (<a class="el" href="a04558.html#a11">uint32</a> boneId) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">return the idx of this bone, in MatrixId. -1 if not found. <a href="#NL3D_1_1CMeshGeom_1_1CMatrixBlocka0"></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="a02884.html#NL3D_1_1CMeshGeom_1_1CMatrixBlocka1">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f)</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="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02884.html#NL3D_1_1CMeshGeom_1_1CMatrixBlocko0">MatrixId</a> [IDriver::MaxModelMatrix]</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Which matrix we use for this block. <a href="#NL3D_1_1CMeshGeom_1_1CMatrixBlocko0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02884.html#NL3D_1_1CMeshGeom_1_1CMatrixBlocko1">NumMatrix</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Number of matrix actually used. <a href="#NL3D_1_1CMeshGeom_1_1CMatrixBlocko1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02886.html">CRdrPass</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a02884.html#NL3D_1_1CMeshGeom_1_1CMatrixBlocko2">RdrPass</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">List of rdr pass, for this matrix block. <a href="#NL3D_1_1CMeshGeom_1_1CMatrixBlocko2"></a><br><br></td></tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CMeshGeom_1_1CMatrixBlocka0" doxytag="NL3D::CMeshGeom::CMatrixBlock::getMatrixIdLocation" ></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> NL3D::CMeshGeom::CMatrixBlock::getMatrixIdLocation </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>boneId</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> +return the idx of this bone, in MatrixId. -1 if not found. +<p> + +<p> +Definition at line <a class="el" href="a05989.html#l01415">1415</a> of file <a class="el" href="a05989.html">mesh.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a05989.html#l01105">NL3D::CMeshGeom::buildSkin()</a>. +<p> +<div class="fragment"><pre>01416 { +01417 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=0;i<<a class="code" href="a02884.html#NL3D_1_1CMeshGeom_1_1CMatrixBlocko1">NumMatrix</a>;i++) +01418 { +01419 <span class="keywordflow">if</span>(<a class="code" href="a02884.html#NL3D_1_1CMeshGeom_1_1CMatrixBlocko0">MatrixId</a>[i]==boneId) +01420 <span class="keywordflow">return</span> i; +01421 } +01422 +01423 <span class="comment">// not found.</span> +01424 <span class="keywordflow">return</span> -1; +01425 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshGeom_1_1CMatrixBlocka1" doxytag="NL3D::CMeshGeom::CMatrixBlock::serial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::CMatrixBlock::serial </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><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#l00518">518</a> of file <a class="el" href="a05990.html">mesh.h</a>. +<p> +References <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05990.html#l00516">RdrPass</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a06462.html#l00324">NLMISC::IStream::serialCont()</a>, <a class="el" href="a06461.html#l00266">NLMISC::IStream::serialVersion()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00519 { +00520 (<span class="keywordtype">void</span>)f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(0); +00521 +00522 <span class="comment">// Code written for IDriver::MaxModelMatrix==16 matrixs.</span> +00523 <a class="code" href="a04199.html#a6">nlassert</a>(IDriver::MaxModelMatrix == 16); +00524 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=0;i<IDriver::MaxModelMatrix;i++) +00525 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(MatrixId[i]); +00526 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(NumMatrix); +00527 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(RdrPass); +00528 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CMeshGeom_1_1CMatrixBlocko0" doxytag="NL3D::CMeshGeom::CMatrixBlock::MatrixId" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a02884.html#NL3D_1_1CMeshGeom_1_1CMatrixBlocko0">NL3D::CMeshGeom::CMatrixBlock::MatrixId</a>[IDriver::MaxModelMatrix] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Which matrix we use for this block. +<p> + +<p> +Definition at line <a class="el" href="a05990.html#l00512">512</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#l01549">NL3D::CMeshGeom::buildBoneUsageVer3()</a>, <a class="el" href="a05989.html#l01105">NL3D::CMeshGeom::buildSkin()</a>, <a class="el" href="a05989.html#l01456">NL3D::CMeshGeom::computeBonesId()</a>, and <a class="el" href="a05989.html#l01914">NL3D::CMeshGeom::computeSkinMatrixes()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshGeom_1_1CMatrixBlocko1" doxytag="NL3D::CMeshGeom::CMatrixBlock::NumMatrix" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a02884.html#NL3D_1_1CMeshGeom_1_1CMatrixBlocko1">NL3D::CMeshGeom::CMatrixBlock::NumMatrix</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Number of matrix actually used. +<p> + +<p> +Definition at line <a class="el" href="a05990.html#l00514">514</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#l01549">NL3D::CMeshGeom::buildBoneUsageVer3()</a>, <a class="el" href="a05989.html#l01105">NL3D::CMeshGeom::buildSkin()</a>, <a class="el" href="a05989.html#l01456">NL3D::CMeshGeom::computeBonesId()</a>, and <a class="el" href="a05989.html#l01914">NL3D::CMeshGeom::computeSkinMatrixes()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMeshGeom_1_1CMatrixBlocko2" doxytag="NL3D::CMeshGeom::CMatrixBlock::RdrPass" ></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="a02886.html">CRdrPass</a>> <a class="el" href="a02884.html#NL3D_1_1CMeshGeom_1_1CMatrixBlocko2">NL3D::CMeshGeom::CMatrixBlock::RdrPass</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +List of rdr pass, for this matrix block. +<p> + +<p> +Definition at line <a class="el" href="a05990.html#l00516">516</a> of file <a class="el" href="a05990.html">mesh.h</a>. +<p> +Referenced by <a class="el" href="a05989.html#l02133">NL3D::CMeshGeom::computeMeshVBHeap()</a>, <a class="el" href="a05989.html#l01836">NL3D::CMeshGeom::flagSkinVerticesForMatrixBlock()</a>, <a class="el" href="a05989.html#l01429">NL3D::CMeshGeom::getNumTriangles()</a>, <a class="el" href="a05989.html#l01932">NL3D::CMeshGeom::profileSceneRender()</a>, <a class="el" href="a05989.html#l00598">NL3D::CMeshGeom::render()</a>, <a class="el" href="a05989.html#l02075">NL3D::CMeshGeom::renderPass()</a>, <a class="el" href="a05989.html#l00915">NL3D::CMeshGeom::renderSimpleWithMaterial()</a>, <a class="el" href="a05989.html#l00788">NL3D::CMeshGeom::renderSkin()</a>, and <a class="el" href="a05990.html#l00518">serial()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a05990.html">mesh.h</a><li><a class="el" href="a05989.html">mesh.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06: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> |