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/a03105.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a03105.html | 1744 |
1 files changed, 1744 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03105.html b/docs/doxygen/nel/a03105.html new file mode 100644 index 00000000..98e78bc3 --- /dev/null +++ b/docs/doxygen/nel/a03105.html @@ -0,0 +1,1744 @@ +<!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::CPrimitiveBlock 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::CPrimitiveBlock Class Reference</h1><code>#include <<a class="el" href="a06198.html">primitive_block.h</a>></code> +<p> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Class <a class="el" href="a03105.html">CPrimitiveBlock</a> +<p> + +<p> +Definition at line <a class="el" href="a06198.html#l00048">48</a> of file <a class="el" href="a06198.html">3d/primitive_block.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="a03105.html#NL3D_1_1CPrimitiveBlocka0">addLine</a> (<a class="el" href="a04558.html#a11">uint32</a> vidx0, <a class="el" href="a04558.html#a11">uint32</a> vidx1)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Apend a line at <a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlocka9">getNumLine()</a> (then resize +1 the numline). <a href="#NL3D_1_1CPrimitiveBlocka0"></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="a03105.html#NL3D_1_1CPrimitiveBlocka1">addQuad</a> (<a class="el" href="a04558.html#a11">uint32</a> vidx0, <a class="el" href="a04558.html#a11">uint32</a> vidx1, <a class="el" href="a04558.html#a11">uint32</a> vidx2, <a class="el" href="a04558.html#a11">uint32</a> vidx3)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Apend a quad at <a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlocka10">getNumQuad()</a> (then resize +1 the numquad). <a href="#NL3D_1_1CPrimitiveBlocka1"></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="a03105.html#NL3D_1_1CPrimitiveBlocka2">addTri</a> (<a class="el" href="a04558.html#a11">uint32</a> vidx0, <a class="el" href="a04558.html#a11">uint32</a> vidx1, <a class="el" href="a04558.html#a11">uint32</a> vidx2)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Apend a triangle at <a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlocka11">getNumTri()</a> (then resize +1 the numtri). <a href="#NL3D_1_1CPrimitiveBlocka2"></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="a03105.html#NL3D_1_1CPrimitiveBlocka3">capacityLine</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the number of Line reserved. <a href="#NL3D_1_1CPrimitiveBlocka3"></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="a03105.html#NL3D_1_1CPrimitiveBlocka4">capacityQuad</a> ()</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="a03105.html#NL3D_1_1CPrimitiveBlocka5">capacityTri</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the number of triangles reserved. <a href="#NL3D_1_1CPrimitiveBlocka5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlocka6">CPrimitiveBlock</a> (void)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a11">uint32</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlocka7">getLinePointer</a> (void) const </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="a03105.html#NL3D_1_1CPrimitiveBlocka8">getLinePointer</a> (void)</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="a03105.html#NL3D_1_1CPrimitiveBlocka9">getNumLine</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the number of active Lineangles. <a href="#NL3D_1_1CPrimitiveBlocka9"></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="a03105.html#NL3D_1_1CPrimitiveBlocka10">getNumQuad</a> (void) const </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="a03105.html#NL3D_1_1CPrimitiveBlocka11">getNumTri</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the number of active triangles. <a href="#NL3D_1_1CPrimitiveBlocka11"></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="a03105.html#NL3D_1_1CPrimitiveBlocka12">getNumTriangles</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">return total number of triangle in this primitive block <a href="#NL3D_1_1CPrimitiveBlocka12"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a11">uint32</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlocka13">getQuadPointer</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">return the quad buffer, const version <a href="#NL3D_1_1CPrimitiveBlocka13"></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="a03105.html#NL3D_1_1CPrimitiveBlocka14">getQuadPointer</a> (void)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a11">uint32</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlocka15">getTriPointer</a> (void) const </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="a03105.html#NL3D_1_1CPrimitiveBlocka16">getTriPointer</a> (void)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlocka17">reserveLine</a> (<a class="el" href="a04558.html#a11">uint32</a> n)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">reserve space for nLines Line. You are allowed to write your Line indices on this space. <a href="#NL3D_1_1CPrimitiveBlocka17"></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="a03105.html#NL3D_1_1CPrimitiveBlocka18">reserveQuad</a> (<a class="el" href="a04558.html#a11">uint32</a> n)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlocka19">reserveTri</a> (<a class="el" href="a04558.html#a11">uint32</a> n)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">reserve space for nTris triangles. You are allowed to write your triangles indices on this space. <a href="#NL3D_1_1CPrimitiveBlocka19"></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="a03105.html#NL3D_1_1CPrimitiveBlocka20">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlocka21">setLine</a> (<a class="el" href="a04558.html#a15">uint</a> lineIdx, <a class="el" href="a04558.html#a11">uint32</a> vidx0, <a class="el" href="a04558.html#a11">uint32</a> vidx1)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Build a Lineangle. <a href="#NL3D_1_1CPrimitiveBlocka21"></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="a03105.html#NL3D_1_1CPrimitiveBlocka22">setNumLine</a> (<a class="el" href="a04558.html#a11">uint32</a> n)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the number of active Line. It enlarge Line capacity, if needed. <a href="#NL3D_1_1CPrimitiveBlocka22"></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="a03105.html#NL3D_1_1CPrimitiveBlocka23">setNumQuad</a> (<a class="el" href="a04558.html#a11">uint32</a> n)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlocka24">setNumTri</a> (<a class="el" href="a04558.html#a11">uint32</a> n)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the number of active triangles. It enlarge Tri capacity, if needed. <a href="#NL3D_1_1CPrimitiveBlocka24"></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="a03105.html#NL3D_1_1CPrimitiveBlocka25">setQuad</a> (<a class="el" href="a04558.html#a15">uint</a> quadIdx, <a class="el" href="a04558.html#a11">uint32</a> vidx0, <a class="el" href="a04558.html#a11">uint32</a> vidx1, <a class="el" href="a04558.html#a11">uint32</a> vidx2, <a class="el" href="a04558.html#a11">uint32</a> vidx3)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlocka26">setTri</a> (<a class="el" href="a04558.html#a15">uint</a> triIdx, <a class="el" href="a04558.html#a11">uint32</a> vidx0, <a class="el" href="a04558.html#a11">uint32</a> vidx1, <a class="el" href="a04558.html#a11">uint32</a> vidx2)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Build a triangle. <a href="#NL3D_1_1CPrimitiveBlocka26"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlocka27">~CPrimitiveBlock</a> (void)</td></tr> + +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlockr0">_Fan</a></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="a03105.html#NL3D_1_1CPrimitiveBlockr1">_FanIdx</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a04558.html#a11">uint32</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlockr2">_Line</a></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="a03105.html#NL3D_1_1CPrimitiveBlockr3">_LineCapacity</a></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="a03105.html#NL3D_1_1CPrimitiveBlockr4">_NbLines</a></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="a03105.html#NL3D_1_1CPrimitiveBlockr5">_NbQuads</a></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="a03105.html#NL3D_1_1CPrimitiveBlockr6">_NbTris</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a04558.html#a11">uint32</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlockr7">_Quad</a></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="a03105.html#NL3D_1_1CPrimitiveBlockr8">_QuadCapacity</a></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="a03105.html#NL3D_1_1CPrimitiveBlockr9">_Strip</a></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="a03105.html#NL3D_1_1CPrimitiveBlockr10">_StripIdx</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a04558.html#a11">uint32</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlockr11">_Tri</a></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="a03105.html#NL3D_1_1CPrimitiveBlockr12">_TriCapacity</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka6" doxytag="NL3D::CPrimitiveBlock::CPrimitiveBlock" ></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::CPrimitiveBlock::CPrimitiveBlock </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </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="a06198.html#l00073">73</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +References <a class="el" href="a06198.html#l00063">_LineCapacity</a>, <a class="el" href="a06198.html#l00062">_NbLines</a>, <a class="el" href="a06198.html#l00057">_NbQuads</a>, <a class="el" href="a06198.html#l00052">_NbTris</a>, <a class="el" href="a06198.html#l00058">_QuadCapacity</a>, and <a class="el" href="a06198.html#l00053">_TriCapacity</a>. +<p> +<div class="fragment"><pre>00074 {<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr12">_TriCapacity</a>=<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr6">_NbTris</a>= <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr5">_NbQuads</a>=<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr8">_QuadCapacity</a>=<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr4">_NbLines</a>=<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr3">_LineCapacity</a>= 0;}; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka27" doxytag="NL3D::CPrimitiveBlock::~CPrimitiveBlock" ></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::CPrimitiveBlock::~<a class="el" href="a03105.html">CPrimitiveBlock</a> </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </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="a06198.html#l00075">75</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +<div class="fragment"><pre>00075 {}; +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka0" doxytag="NL3D::CPrimitiveBlock::addLine" ></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::CPrimitiveBlock::addLine </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="mdname" nowrap> <em>vidx0</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>vidx1</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> +Apend a line at <a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlocka9">getNumLine()</a> (then resize +1 the numline). +<p> + +<p> +Definition at line <a class="el" href="a06197.html#l00080">80</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00087">getNumLine()</a>, <a class="el" href="a06197.html#l00069">setLine()</a>, <a class="el" href="a06197.html#l00061">setNumLine()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06285.html#l00118">NL3D::CPSUtil::displayBBox()</a>, <a class="el" href="a06350.html#l01224">NL3D::CInstanceGroup::displayDebugClusters()</a>, and <a class="el" href="a06239.html#l00413">NL3D::CPSGravity::show()</a>. +<p> +<div class="fragment"><pre>00081 { +00082 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlocka22">setNumLine</a>(<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlocka9">getNumLine</a>()+1); +00083 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlocka21">setLine</a>(<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlocka9">getNumLine</a>()-1, vidx0, vidx1); +00084 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka1" doxytag="NL3D::CPrimitiveBlock::addQuad" ></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::CPrimitiveBlock::addQuad </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="mdname" nowrap> <em>vidx0</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>vidx1</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>vidx2</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>vidx3</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> +Apend a quad at <a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlocka10">getNumQuad()</a> (then resize +1 the numquad). +<p> + +<p> +Definition at line <a class="el" href="a06197.html#l00211">211</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00141">getNumQuad()</a>, <a class="el" href="a06197.html#l00180">setNumQuad()</a>, <a class="el" href="a06197.html#l00193">setQuad()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00212 { +00213 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlocka23">setNumQuad</a>(<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlocka10">getNumQuad</a>()+1); +00214 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlocka25">setQuad</a>(<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlocka10">getNumQuad</a>()-1, vidx0, vidx1, vidx2, vidx3); +00215 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka2" doxytag="NL3D::CPrimitiveBlock::addTri" ></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::CPrimitiveBlock::addTri </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="mdname" nowrap> <em>vidx0</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>vidx1</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>vidx2</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> +Apend a triangle at <a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlocka11">getNumTri()</a> (then resize +1 the numtri). +<p> + +<p> +Definition at line <a class="el" href="a06197.html#l00138">138</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00108">getNumTri()</a>, <a class="el" href="a06197.html#l00114">setNumTri()</a>, <a class="el" href="a06197.html#l00122">setTri()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06350.html#l01224">NL3D::CInstanceGroup::displayDebugClusters()</a>, and <a class="el" href="a06473.html#l00164">NL3D::COrderFace::insertInPB()</a>. +<p> +<div class="fragment"><pre>00139 { +00140 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlocka24">setNumTri</a>(<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlocka11">getNumTri</a>()+1); +00141 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlocka26">setTri</a>(<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlocka11">getNumTri</a>()-1, vidx0, vidx1, vidx2); +00142 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka3" doxytag="NL3D::CPrimitiveBlock::capacityLine" ></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> NL3D::CPrimitiveBlock::capacityLine </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> +Return the number of Line reserved. +<p> + +<p> +Definition at line <a class="el" href="a06198.html#l00083">83</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +References <a class="el" href="a06198.html#l00063">_LineCapacity</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00083 {<span class="keywordflow">return</span> <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr3">_LineCapacity</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka4" doxytag="NL3D::CPrimitiveBlock::capacityQuad" ></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> NL3D::CPrimitiveBlock::capacityQuad </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> +Return the number of triangles reserved. +<p> +Definition at line <a class="el" href="a06198.html#l00131">131</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +References <a class="el" href="a06198.html#l00058">_QuadCapacity</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00131 { <span class="keywordflow">return</span> <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr8">_QuadCapacity</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka5" doxytag="NL3D::CPrimitiveBlock::capacityTri" ></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> NL3D::CPrimitiveBlock::capacityTri </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> +Return the number of triangles reserved. +<p> + +<p> +Definition at line <a class="el" href="a06198.html#l00104">104</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +References <a class="el" href="a06198.html#l00053">_TriCapacity</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00104 {<span class="keywordflow">return</span> <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr12">_TriCapacity</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka7" doxytag="NL3D::CPrimitiveBlock::getLinePointer" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a04558.html#a11">uint32</a> * NL3D::CPrimitiveBlock::getLinePointer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </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> + +<p> +Definition at line <a class="el" href="a06197.html#l00046">46</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00064">_Line</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00047 { +00048 <span class="keywordflow">if</span>(<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr2">_Line</a>.begin()==<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr2">_Line</a>.end()) +00049 <span class="keywordflow">return</span> NULL; +00050 <span class="keywordflow">else</span> +00051 <span class="keywordflow">return</span>(&(*<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr2">_Line</a>.begin())); +00052 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka8" doxytag="NL3D::CPrimitiveBlock::getLinePointer" ></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> * NL3D::CPrimitiveBlock::getLinePointer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </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="a06197.html#l00038">38</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00064">_Line</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06005.html#l02811">NL3D::CMeshMRMGeom::computeMeshVBHeap()</a>, <a class="el" href="a05989.html#l02133">NL3D::CMeshGeom::computeMeshVBHeap()</a>, <a class="el" href="a06250.html#l01937">NL3D::DuplicatePrimitiveBlock()</a>, <a class="el" href="a05989.html#l01836">NL3D::CMeshGeom::flagSkinVerticesForMatrixBlock()</a>, and <a class="el" href="a05653.html#l00135">NL3D::CDriverGL::render()</a>. +<p> +<div class="fragment"><pre>00039 { +00040 <span class="keywordflow">if</span>(<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr2">_Line</a>.begin()==<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr2">_Line</a>.end()) +00041 <span class="keywordflow">return</span> NULL; +00042 <span class="keywordflow">else</span> +00043 <span class="keywordflow">return</span>(&(*<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr2">_Line</a>.begin())); +00044 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka9" doxytag="NL3D::CPrimitiveBlock::getNumLine" ></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> NL3D::CPrimitiveBlock::getNumLine </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </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 active Lineangles. +<p> + +<p> +Definition at line <a class="el" href="a06198.html#l00087">87</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +References <a class="el" href="a06198.html#l00062">_NbLines</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06197.html#l00080">addLine()</a>, <a class="el" href="a06005.html#l02554">NL3D::CMeshMRMGeom::compileRunTime()</a>, <a class="el" href="a06005.html#l02811">NL3D::CMeshMRMGeom::computeMeshVBHeap()</a>, <a class="el" href="a05989.html#l02133">NL3D::CMeshGeom::computeMeshVBHeap()</a>, <a class="el" href="a06250.html#l01937">NL3D::DuplicatePrimitiveBlock()</a>, <a class="el" href="a05989.html#l01836">NL3D::CMeshGeom::flagSkinVerticesForMatrixBlock()</a>, <a class="el" href="a06250.html#l00462">NL3D::getMeshNumTri()</a>, and <a class="el" href="a05653.html#l00135">NL3D::CDriverGL::render()</a>. +<p> +<div class="fragment"><pre>00087 {<span class="keywordflow">return</span> <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr4">_NbLines</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka10" doxytag="NL3D::CPrimitiveBlock::getNumQuad" ></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> NL3D::CPrimitiveBlock::getNumQuad </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </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 active quads. +<p> +Definition at line <a class="el" href="a06198.html#l00141">141</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +References <a class="el" href="a06198.html#l00057">_NbQuads</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06197.html#l00211">addQuad()</a>, <a class="el" href="a06768.html#l01717">NL3D::CZoneLighter::addTriangles()</a>, <a class="el" href="a05824.html#l00179">NL3D::CInstanceLighter::addTriangles()</a>, <a class="el" href="a06005.html#l02554">NL3D::CMeshMRMGeom::compileRunTime()</a>, <a class="el" href="a06005.html#l02811">NL3D::CMeshMRMGeom::computeMeshVBHeap()</a>, <a class="el" href="a05989.html#l02133">NL3D::CMeshGeom::computeMeshVBHeap()</a>, <a class="el" href="a06250.html#l01937">NL3D::DuplicatePrimitiveBlock()</a>, <a class="el" href="a05989.html#l01836">NL3D::CMeshGeom::flagSkinVerticesForMatrixBlock()</a>, <a class="el" href="a06250.html#l00462">NL3D::getMeshNumTri()</a>, <a class="el" href="a05567.html#l00430">NL3D::CCoarseMeshBuild::remapCoordinates()</a>, and <a class="el" href="a05653.html#l00135">NL3D::CDriverGL::render()</a>. +<p> +<div class="fragment"><pre>00141 { <span class="keywordflow">return</span> <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr5">_NbQuads</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka11" doxytag="NL3D::CPrimitiveBlock::getNumTri" ></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> NL3D::CPrimitiveBlock::getNumTri </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </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 active triangles. +<p> + +<p> +Definition at line <a class="el" href="a06198.html#l00108">108</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +References <a class="el" href="a06198.html#l00052">_NbTris</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06197.html#l00138">addTri()</a>, <a class="el" href="a06768.html#l01717">NL3D::CZoneLighter::addTriangles()</a>, <a class="el" href="a05824.html#l00179">NL3D::CInstanceLighter::addTriangles()</a>, <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>, <a class="el" href="a06011.html#l00131">NL3D::CMeshMRMSkinnedGeom::CLod::buildPrimitiveBlock()</a>, <a class="el" href="a06016.html#l00765">NL3D::CMeshMultiLod::compileCoarseMeshes()</a>, <a class="el" href="a06005.html#l02811">NL3D::CMeshMRMGeom::computeMeshVBHeap()</a>, <a class="el" href="a05989.html#l02133">NL3D::CMeshGeom::computeMeshVBHeap()</a>, <a class="el" href="a06001.html#l00254">NL3D::CMeshInstance::createShadowMap()</a>, <a class="el" href="a06250.html#l01937">NL3D::DuplicatePrimitiveBlock()</a>, <a class="el" href="a05989.html#l01836">NL3D::CMeshGeom::flagSkinVerticesForMatrixBlock()</a>, <a class="el" href="a06250.html#l00462">NL3D::getMeshNumTri()</a>, <a class="el" href="a06626.html#l00053">NL3D::UShape::getMeshTriangles()</a>, <a class="el" href="a06005.html#l02600">NL3D::CMeshMRMGeom::profileSceneRender()</a>, <a class="el" href="a05989.html#l01932">NL3D::CMeshGeom::profileSceneRender()</a>, <a class="el" href="a05567.html#l00430">NL3D::CCoarseMeshBuild::remapCoordinates()</a>, and <a class="el" href="a05653.html#l00135">NL3D::CDriverGL::render()</a>. +<p> +<div class="fragment"><pre>00108 {<span class="keywordflow">return</span> <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr6">_NbTris</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka12" doxytag="NL3D::CPrimitiveBlock::getNumTriangles" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::CPrimitiveBlock::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><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return total number of triangle in this primitive block +<p> + +<p> +Definition at line <a class="el" href="a06198.html#l00160">160</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +References <a class="el" href="a06198.html#l00062">_NbLines</a>, <a class="el" href="a06198.html#l00057">_NbQuads</a>, <a class="el" href="a06198.html#l00052">_NbTris</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06005.html#l00246">NL3D::CMeshMRMGeom::build()</a>, and <a class="el" href="a05989.html#l01429">NL3D::CMeshGeom::getNumTriangles()</a>. +<p> +<div class="fragment"><pre>00161 { +00162 <span class="comment">// Return number of triangles in this primitive block</span> +00163 <span class="keywordflow">return</span> <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr6">_NbTris</a>+2*<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr5">_NbQuads</a>+<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr4">_NbLines</a>; +00164 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka13" doxytag="NL3D::CPrimitiveBlock::getQuadPointer" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a04558.html#a11">uint32</a> * NL3D::CPrimitiveBlock::getQuadPointer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </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> +return the quad buffer, const version +<p> + +<p> +Definition at line <a class="el" href="a06197.html#l00157">157</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00059">_Quad</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00158 { +00159 <span class="keywordflow">if</span>(<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr7">_Quad</a>.begin()==<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr7">_Quad</a>.end()) +00160 <span class="keywordflow">return</span> NULL; +00161 <span class="keywordflow">else</span> +00162 <span class="keywordflow">return</span>(&(*<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr7">_Quad</a>.begin())); +00163 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka14" doxytag="NL3D::CPrimitiveBlock::getQuadPointer" ></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> * NL3D::CPrimitiveBlock::getQuadPointer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </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> +Return the Quad buffer +<p> +Definition at line <a class="el" href="a06197.html#l00149">149</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00059">_Quad</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06768.html#l01717">NL3D::CZoneLighter::addTriangles()</a>, <a class="el" href="a05824.html#l00179">NL3D::CInstanceLighter::addTriangles()</a>, <a class="el" href="a06005.html#l02811">NL3D::CMeshMRMGeom::computeMeshVBHeap()</a>, <a class="el" href="a05989.html#l02133">NL3D::CMeshGeom::computeMeshVBHeap()</a>, <a class="el" href="a06250.html#l01937">NL3D::DuplicatePrimitiveBlock()</a>, <a class="el" href="a05989.html#l01836">NL3D::CMeshGeom::flagSkinVerticesForMatrixBlock()</a>, <a class="el" href="a05567.html#l00430">NL3D::CCoarseMeshBuild::remapCoordinates()</a>, and <a class="el" href="a05653.html#l00135">NL3D::CDriverGL::render()</a>. +<p> +<div class="fragment"><pre>00150 { +00151 <span class="keywordflow">if</span>(<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr7">_Quad</a>.begin()==<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr7">_Quad</a>.end()) +00152 <span class="keywordflow">return</span> NULL; +00153 <span class="keywordflow">else</span> +00154 <span class="keywordflow">return</span>(&(*<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr7">_Quad</a>.begin())); +00155 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka15" doxytag="NL3D::CPrimitiveBlock::getTriPointer" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a04558.html#a11">uint32</a> * NL3D::CPrimitiveBlock::getTriPointer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </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> + +<p> +Definition at line <a class="el" href="a06197.html#l00099">99</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00054">_Tri</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00100 { +00101 <span class="keywordflow">if</span>(<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr11">_Tri</a>.begin()==<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr11">_Tri</a>.end()) +00102 <span class="keywordflow">return</span> NULL; +00103 <span class="keywordflow">else</span> +00104 <span class="keywordflow">return</span>(&(*<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr11">_Tri</a>.begin())); +00105 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka16" doxytag="NL3D::CPrimitiveBlock::getTriPointer" ></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> * NL3D::CPrimitiveBlock::getTriPointer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </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="a06197.html#l00091">91</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00054">_Tri</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06768.html#l01717">NL3D::CZoneLighter::addTriangles()</a>, <a class="el" href="a05824.html#l00179">NL3D::CInstanceLighter::addTriangles()</a>, <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>, <a class="el" href="a06011.html#l00131">NL3D::CMeshMRMSkinnedGeom::CLod::buildPrimitiveBlock()</a>, <a class="el" href="a06016.html#l00765">NL3D::CMeshMultiLod::compileCoarseMeshes()</a>, <a class="el" href="a06005.html#l02811">NL3D::CMeshMRMGeom::computeMeshVBHeap()</a>, <a class="el" href="a05989.html#l02133">NL3D::CMeshGeom::computeMeshVBHeap()</a>, <a class="el" href="a06001.html#l00254">NL3D::CMeshInstance::createShadowMap()</a>, <a class="el" href="a06250.html#l01937">NL3D::DuplicatePrimitiveBlock()</a>, <a class="el" href="a05989.html#l01836">NL3D::CMeshGeom::flagSkinVerticesForMatrixBlock()</a>, <a class="el" href="a06626.html#l00053">NL3D::UShape::getMeshTriangles()</a>, <a class="el" href="a05567.html#l00430">NL3D::CCoarseMeshBuild::remapCoordinates()</a>, and <a class="el" href="a05653.html#l00135">NL3D::CDriverGL::render()</a>. +<p> +<div class="fragment"><pre>00092 { +00093 <span class="keywordflow">if</span>(<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr11">_Tri</a>.begin()==<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr11">_Tri</a>.end()) +00094 <span class="keywordflow">return</span> NULL; +00095 <span class="keywordflow">else</span> +00096 <span class="keywordflow">return</span>(&(*<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr11">_Tri</a>.begin())); +00097 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka17" doxytag="NL3D::CPrimitiveBlock::reserveLine" ></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::CPrimitiveBlock::reserveLine </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>n</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> +reserve space for nLines Line. You are allowed to write your Line indices on this space. +<p> + +<p> +Definition at line <a class="el" href="a06197.html#l00056">56</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00064">_Line</a>, <a class="el" href="a06198.html#l00063">_LineCapacity</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06285.html#l00118">NL3D::CPSUtil::displayBBox()</a>, <a class="el" href="a06350.html#l01224">NL3D::CInstanceGroup::displayDebugClusters()</a>, <a class="el" href="a06250.html#l01937">NL3D::DuplicatePrimitiveBlock()</a>, <a class="el" href="a06197.html#l00061">setNumLine()</a>, and <a class="el" href="a06239.html#l00413">NL3D::CPSGravity::show()</a>. +<p> +<div class="fragment"><pre>00057 { +00058 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr2">_Line</a>.resize(n*2); +00059 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr3">_LineCapacity</a>= n; +00060 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka18" doxytag="NL3D::CPrimitiveBlock::reserveQuad" ></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::CPrimitiveBlock::reserveQuad </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>n</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> +reserve space for quads. +<p> +Definition at line <a class="el" href="a06197.html#l00170">170</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00059">_Quad</a>, <a class="el" href="a06198.html#l00058">_QuadCapacity</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06250.html#l01937">NL3D::DuplicatePrimitiveBlock()</a>, <a class="el" href="a06279.html#l00479">NL3D::CPSShockWave::getVBnPB()</a>, and <a class="el" href="a06197.html#l00180">setNumQuad()</a>. +<p> +<div class="fragment"><pre>00171 { +00172 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr7">_Quad</a>.resize(n*4); +00173 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr8">_QuadCapacity</a> = n; +00174 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka19" doxytag="NL3D::CPrimitiveBlock::reserveTri" ></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::CPrimitiveBlock::reserveTri </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>n</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> +reserve space for nTris triangles. You are allowed to write your triangles indices on this space. +<p> + +<p> +Definition at line <a class="el" href="a06197.html#l00109">109</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00054">_Tri</a>, <a class="el" href="a06198.html#l00053">_TriCapacity</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06350.html#l01224">NL3D::CInstanceGroup::displayDebugClusters()</a>, <a class="el" href="a06250.html#l01937">NL3D::DuplicatePrimitiveBlock()</a>, <a class="el" href="a06473.html#l00196">NL3D::CStripifier::optimizeTriangles()</a>, and <a class="el" href="a06197.html#l00114">setNumTri()</a>. +<p> +<div class="fragment"><pre>00110 { +00111 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr11">_Tri</a>.resize(n*3); +00112 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr12">_TriCapacity</a>= n; +00113 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka20" doxytag="NL3D::CPrimitiveBlock::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::CPrimitiveBlock::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></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="a06197.html#l00219">219</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00064">_Line</a>, <a class="el" href="a06198.html#l00063">_LineCapacity</a>, <a class="el" href="a06198.html#l00062">_NbLines</a>, <a class="el" href="a06198.html#l00057">_NbQuads</a>, <a class="el" href="a06198.html#l00052">_NbTris</a>, <a class="el" href="a06198.html#l00059">_Quad</a>, <a class="el" href="a06198.html#l00058">_QuadCapacity</a>, <a class="el" href="a06198.html#l00054">_Tri</a>, <a class="el" href="a06198.html#l00053">_TriCapacity</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a06462.html#l00324">NLMISC::IStream::serialCont()</a>, and <a class="el" href="a06461.html#l00266">NLMISC::IStream::serialVersion()</a>. +<p> +<div class="fragment"><pre>00220 { +00221 (<span class="keywordtype">void</span>)f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(0); +00222 +00223 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_NbLines, _LineCapacity); +00224 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_Line); +00225 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_NbTris, _TriCapacity); +00226 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_Tri); +00227 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_NbQuads, _QuadCapacity); +00228 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_Quad); +00229 +00230 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka21" doxytag="NL3D::CPrimitiveBlock::setLine" ></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::CPrimitiveBlock::setLine </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>lineIdx</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>vidx0</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>vidx1</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 a Lineangle. +<p> + +<p> +Definition at line <a class="el" href="a06197.html#l00069">69</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00064">_Line</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="a06197.html#l00080">addLine()</a>, <a class="el" href="a05657.html#l00127">NL3D::CDriverUser::CDriverUser()</a>, <a class="el" href="a05660.html#l00173">NL3D::CDRU::drawLine()</a>, <a class="el" href="a05660.html#l00377">NL3D::CDRU::drawLinesUnlit()</a>, <a class="el" href="a06250.html#l01937">NL3D::DuplicatePrimitiveBlock()</a>, and <a class="el" href="a06283.html#l00374">NL3D::CPSTailDot::getVBnPB()</a>. +<p> +<div class="fragment"><pre>00070 { +00071 <a class="code" href="a04558.html#a11">uint32</a>* ptr; +00072 +00073 ptr=(<a class="code" href="a04558.html#a11">uint32</a>*)(&<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr2">_Line</a>[lineIdx*2]); +00074 *ptr=vidx0; +00075 ptr++; +00076 *ptr=vidx1; +00077 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka22" doxytag="NL3D::CPrimitiveBlock::setNumLine" ></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::CPrimitiveBlock::setNumLine </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>n</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> +Set the number of active Line. It enlarge Line capacity, if needed. +<p> + +<p> +Definition at line <a class="el" href="a06197.html#l00061">61</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00063">_LineCapacity</a>, <a class="el" href="a06198.html#l00062">_NbLines</a>, <a class="el" href="a06197.html#l00056">reserveLine()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06197.html#l00080">addLine()</a>, <a class="el" href="a05657.html#l00127">NL3D::CDriverUser::CDriverUser()</a>, <a class="el" href="a06005.html#l02811">NL3D::CMeshMRMGeom::computeMeshVBHeap()</a>, <a class="el" href="a05989.html#l02133">NL3D::CMeshGeom::computeMeshVBHeap()</a>, <a class="el" href="a06350.html#l01224">NL3D::CInstanceGroup::displayDebugClusters()</a>, <a class="el" href="a06283.html#l00242">NL3D::CPSTailDot::displayRibbons()</a>, <a class="el" href="a05660.html#l00173">NL3D::CDRU::drawLine()</a>, <a class="el" href="a05660.html#l00377">NL3D::CDRU::drawLinesUnlit()</a>, <a class="el" href="a06011.html#l00114">NL3D::CMeshMRMSkinnedGeom::CLod::getRdrPassPrimitiveBlock()</a>, and <a class="el" href="a06283.html#l00374">NL3D::CPSTailDot::getVBnPB()</a>. +<p> +<div class="fragment"><pre>00062 { +00063 <span class="keywordflow">if</span>(<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr3">_LineCapacity</a><n) +00064 { +00065 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlocka17">reserveLine</a>(n); +00066 } +00067 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr4">_NbLines</a>= n; +00068 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka23" doxytag="NL3D::CPrimitiveBlock::setNumQuad" ></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::CPrimitiveBlock::setNumQuad </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>n</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> +Set the number of active quads. It enlarges Quad capacity, if needed. +<p> +Definition at line <a class="el" href="a06197.html#l00180">180</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00057">_NbQuads</a>, <a class="el" href="a06198.html#l00058">_QuadCapacity</a>, <a class="el" href="a06197.html#l00170">reserveQuad()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06197.html#l00211">addQuad()</a>, <a class="el" href="a05657.html#l00127">NL3D::CDriverUser::CDriverUser()</a>, <a class="el" href="a06005.html#l02811">NL3D::CMeshMRMGeom::computeMeshVBHeap()</a>, <a class="el" href="a05989.html#l02133">NL3D::CMeshGeom::computeMeshVBHeap()</a>, <a class="el" href="a05660.html#l00136">NL3D::CDRU::drawBitmap()</a>, <a class="el" href="a05660.html#l00241">NL3D::CDRU::drawQuad()</a>, <a class="el" href="a06279.html#l00069">NL3D::CPSShockWaveHelper::drawShockWave()</a>, and <a class="el" href="a06011.html#l00114">NL3D::CMeshMRMSkinnedGeom::CLod::getRdrPassPrimitiveBlock()</a>. +<p> +<div class="fragment"><pre>00181 { +00182 <span class="keywordflow">if</span>(<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr8">_QuadCapacity</a><n) +00183 { +00184 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlocka18">reserveQuad</a>(n); +00185 } +00186 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr5">_NbQuads</a> = n; +00187 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka24" doxytag="NL3D::CPrimitiveBlock::setNumTri" ></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::CPrimitiveBlock::setNumTri </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>n</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> +Set the number of active triangles. It enlarge Tri capacity, if needed. +<p> + +<p> +Definition at line <a class="el" href="a06197.html#l00114">114</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00052">_NbTris</a>, <a class="el" href="a06198.html#l00053">_TriCapacity</a>, <a class="el" href="a06197.html#l00109">reserveTri()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06197.html#l00138">addTri()</a>, <a class="el" href="a05657.html#l00127">NL3D::CDriverUser::CDriverUser()</a>, <a class="el" href="a06005.html#l02811">NL3D::CMeshMRMGeom::computeMeshVBHeap()</a>, <a class="el" href="a05989.html#l02133">NL3D::CMeshGeom::computeMeshVBHeap()</a>, <a class="el" href="a06350.html#l01224">NL3D::CInstanceGroup::displayDebugClusters()</a>, <a class="el" href="a06277.html#l00319">NL3D::CPSRibbonLookAt::displayRibbons()</a>, <a class="el" href="a06273.html#l00471">NL3D::CPSRibbon::displayRibbons()</a>, <a class="el" href="a05660.html#l00206">NL3D::CDRU::drawTriangle()</a>, <a class="el" href="a05660.html#l00341">NL3D::CDRU::drawTrianglesUnlit()</a>, <a class="el" href="a06011.html#l00114">NL3D::CMeshMRMSkinnedGeom::CLod::getRdrPassPrimitiveBlock()</a>, <a class="el" href="a06277.html#l00546">NL3D::CPSRibbonLookAt::getVBnPB()</a>, <a class="el" href="a06273.html#l00695">NL3D::CPSRibbon::getVBnPB()</a>, <a class="el" href="a06473.html#l00196">NL3D::CStripifier::optimizeTriangles()</a>, and <a class="el" href="a06360.html#l00183">NL3D::CSegRemanenceShape::setupVBnPB()</a>. +<p> +<div class="fragment"><pre>00115 { +00116 <span class="keywordflow">if</span>(<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr12">_TriCapacity</a><n) +00117 { +00118 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlocka19">reserveTri</a>(n); +00119 } +00120 <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr6">_NbTris</a>= n; +00121 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka25" doxytag="NL3D::CPrimitiveBlock::setQuad" ></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::CPrimitiveBlock::setQuad </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>quadIdx</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>vidx0</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>vidx1</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>vidx2</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>vidx3</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 a quad. +<p> +Definition at line <a class="el" href="a06197.html#l00193">193</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00059">_Quad</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="a06197.html#l00211">addQuad()</a>, <a class="el" href="a05657.html#l00127">NL3D::CDriverUser::CDriverUser()</a>, <a class="el" href="a05660.html#l00136">NL3D::CDRU::drawBitmap()</a>, <a class="el" href="a05660.html#l00241">NL3D::CDRU::drawQuad()</a>, <a class="el" href="a06250.html#l01937">NL3D::DuplicatePrimitiveBlock()</a>, and <a class="el" href="a06279.html#l00479">NL3D::CPSShockWave::getVBnPB()</a>. +<p> +<div class="fragment"><pre>00194 { +00195 <a class="code" href="a04558.html#a11">uint32</a>* ptr; +00196 +00197 ptr = (<a class="code" href="a04558.html#a11">uint32</a>*)(&<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr7">_Quad</a>[quadIdx*4]); +00198 *ptr = vidx0; +00199 ptr++; +00200 *ptr = vidx1; +00201 ptr++; +00202 *ptr = vidx2; +00203 ptr++; +00204 *ptr = vidx3; +00205 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlocka26" doxytag="NL3D::CPrimitiveBlock::setTri" ></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::CPrimitiveBlock::setTri </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>triIdx</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>vidx0</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>vidx1</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>vidx2</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 a triangle. +<p> + +<p> +Definition at line <a class="el" href="a06197.html#l00122">122</a> of file <a class="el" href="a06197.html">primitive_block.cpp</a>. +<p> +References <a class="el" href="a06198.html#l00054">_Tri</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <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="a06197.html#l00138">addTri()</a>, <a class="el" href="a05657.html#l00127">NL3D::CDriverUser::CDriverUser()</a>, <a class="el" href="a05660.html#l00206">NL3D::CDRU::drawTriangle()</a>, <a class="el" href="a05660.html#l00341">NL3D::CDRU::drawTrianglesUnlit()</a>, <a class="el" href="a06250.html#l01937">NL3D::DuplicatePrimitiveBlock()</a>, <a class="el" href="a06011.html#l00114">NL3D::CMeshMRMSkinnedGeom::CLod::getRdrPassPrimitiveBlock()</a>, <a class="el" href="a06277.html#l00546">NL3D::CPSRibbonLookAt::getVBnPB()</a>, <a class="el" href="a06273.html#l00695">NL3D::CPSRibbon::getVBnPB()</a>, and <a class="el" href="a06360.html#l00183">NL3D::CSegRemanenceShape::setupVBnPB()</a>. +<p> +<div class="fragment"><pre>00123 { +00124 <span class="preprocessor"> #ifdef NL_DEBUG</span> +00125 <span class="preprocessor"></span> <a class="code" href="a04199.html#a6">nlassert</a>((<a class="code" href="a04558.html#a14">sint</a>) triIdx <= ((<a class="code" href="a04558.html#a14">sint</a>) <a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr11">_Tri</a>.size() - 3)); +00126 <span class="preprocessor"> #endif</span> +00127 <span class="preprocessor"></span> <a class="code" href="a04558.html#a11">uint32</a>* ptr; +00128 +00129 ptr=(<a class="code" href="a04558.html#a11">uint32</a>*)(&<a class="code" href="a03105.html#NL3D_1_1CPrimitiveBlockr11">_Tri</a>[triIdx*3]); +00130 *ptr=vidx0; +00131 ptr++; +00132 *ptr=vidx1; +00133 ptr++; +00134 *ptr=vidx2; +00135 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CPrimitiveBlockr0" doxytag="NL3D::CPrimitiveBlock::_Fan" ></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="a03105.html#NL3D_1_1CPrimitiveBlockr0">NL3D::CPrimitiveBlock::_Fan</a><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="a06198.html#l00071">71</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlockr1" doxytag="NL3D::CPrimitiveBlock::_FanIdx" ></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="a03105.html#NL3D_1_1CPrimitiveBlockr1">NL3D::CPrimitiveBlock::_FanIdx</a><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="a06198.html#l00070">70</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlockr2" doxytag="NL3D::CPrimitiveBlock::_Line" ></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="a04558.html#a11">uint32</a>> <a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlockr2">NL3D::CPrimitiveBlock::_Line</a><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="a06198.html#l00064">64</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +Referenced by <a class="el" href="a06197.html#l00038">getLinePointer()</a>, <a class="el" href="a06197.html#l00056">reserveLine()</a>, <a class="el" href="a06197.html#l00219">serial()</a>, and <a class="el" href="a06197.html#l00069">setLine()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlockr3" doxytag="NL3D::CPrimitiveBlock::_LineCapacity" ></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="a03105.html#NL3D_1_1CPrimitiveBlockr3">NL3D::CPrimitiveBlock::_LineCapacity</a><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="a06198.html#l00063">63</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +Referenced by <a class="el" href="a06198.html#l00083">capacityLine()</a>, <a class="el" href="a06198.html#l00073">CPrimitiveBlock()</a>, <a class="el" href="a06197.html#l00056">reserveLine()</a>, <a class="el" href="a06197.html#l00219">serial()</a>, and <a class="el" href="a06197.html#l00061">setNumLine()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlockr4" doxytag="NL3D::CPrimitiveBlock::_NbLines" ></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="a03105.html#NL3D_1_1CPrimitiveBlockr4">NL3D::CPrimitiveBlock::_NbLines</a><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="a06198.html#l00062">62</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +Referenced by <a class="el" href="a06198.html#l00073">CPrimitiveBlock()</a>, <a class="el" href="a06198.html#l00087">getNumLine()</a>, <a class="el" href="a06198.html#l00160">getNumTriangles()</a>, <a class="el" href="a06197.html#l00219">serial()</a>, and <a class="el" href="a06197.html#l00061">setNumLine()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlockr5" doxytag="NL3D::CPrimitiveBlock::_NbQuads" ></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="a03105.html#NL3D_1_1CPrimitiveBlockr5">NL3D::CPrimitiveBlock::_NbQuads</a><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="a06198.html#l00057">57</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +Referenced by <a class="el" href="a06198.html#l00073">CPrimitiveBlock()</a>, <a class="el" href="a06198.html#l00141">getNumQuad()</a>, <a class="el" href="a06198.html#l00160">getNumTriangles()</a>, <a class="el" href="a06197.html#l00219">serial()</a>, and <a class="el" href="a06197.html#l00180">setNumQuad()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlockr6" doxytag="NL3D::CPrimitiveBlock::_NbTris" ></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="a03105.html#NL3D_1_1CPrimitiveBlockr6">NL3D::CPrimitiveBlock::_NbTris</a><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="a06198.html#l00052">52</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +Referenced by <a class="el" href="a06198.html#l00073">CPrimitiveBlock()</a>, <a class="el" href="a06198.html#l00108">getNumTri()</a>, <a class="el" href="a06198.html#l00160">getNumTriangles()</a>, <a class="el" href="a06197.html#l00219">serial()</a>, and <a class="el" href="a06197.html#l00114">setNumTri()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlockr7" doxytag="NL3D::CPrimitiveBlock::_Quad" ></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="a04558.html#a11">uint32</a>> <a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlockr7">NL3D::CPrimitiveBlock::_Quad</a><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="a06198.html#l00059">59</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +Referenced by <a class="el" href="a06197.html#l00149">getQuadPointer()</a>, <a class="el" href="a06197.html#l00170">reserveQuad()</a>, <a class="el" href="a06197.html#l00219">serial()</a>, and <a class="el" href="a06197.html#l00193">setQuad()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlockr8" doxytag="NL3D::CPrimitiveBlock::_QuadCapacity" ></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="a03105.html#NL3D_1_1CPrimitiveBlockr8">NL3D::CPrimitiveBlock::_QuadCapacity</a><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="a06198.html#l00058">58</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +Referenced by <a class="el" href="a06198.html#l00131">capacityQuad()</a>, <a class="el" href="a06198.html#l00073">CPrimitiveBlock()</a>, <a class="el" href="a06197.html#l00170">reserveQuad()</a>, <a class="el" href="a06197.html#l00219">serial()</a>, and <a class="el" href="a06197.html#l00180">setNumQuad()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlockr9" doxytag="NL3D::CPrimitiveBlock::_Strip" ></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="a03105.html#NL3D_1_1CPrimitiveBlockr9">NL3D::CPrimitiveBlock::_Strip</a><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="a06198.html#l00069">69</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlockr10" doxytag="NL3D::CPrimitiveBlock::_StripIdx" ></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="a03105.html#NL3D_1_1CPrimitiveBlockr10">NL3D::CPrimitiveBlock::_StripIdx</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b><a class="el" href="todo.html#_todo000020">Todo:</a></b></dt><dd>hulud: support for strips and fans</dd></dl> + +<p> +Definition at line <a class="el" href="a06198.html#l00068">68</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlockr11" doxytag="NL3D::CPrimitiveBlock::_Tri" ></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="a04558.html#a11">uint32</a>> <a class="el" href="a03105.html#NL3D_1_1CPrimitiveBlockr11">NL3D::CPrimitiveBlock::_Tri</a><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="a06198.html#l00054">54</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +Referenced by <a class="el" href="a06197.html#l00091">getTriPointer()</a>, <a class="el" href="a06197.html#l00109">reserveTri()</a>, <a class="el" href="a06197.html#l00219">serial()</a>, and <a class="el" href="a06197.html#l00122">setTri()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPrimitiveBlockr12" doxytag="NL3D::CPrimitiveBlock::_TriCapacity" ></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="a03105.html#NL3D_1_1CPrimitiveBlockr12">NL3D::CPrimitiveBlock::_TriCapacity</a><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="a06198.html#l00053">53</a> of file <a class="el" href="a06198.html">3d/primitive_block.h</a>. +<p> +Referenced by <a class="el" href="a06198.html#l00104">capacityTri()</a>, <a class="el" href="a06198.html#l00073">CPrimitiveBlock()</a>, <a class="el" href="a06197.html#l00109">reserveTri()</a>, <a class="el" href="a06197.html#l00219">serial()</a>, and <a class="el" href="a06197.html#l00114">setNumTri()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06198.html">3d/primitive_block.h</a><li><a class="el" href="a06197.html">primitive_block.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:03:07 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> |