diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a02423.html | 996 |
1 files changed, 996 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02423.html b/docs/doxygen/nel/a02423.html new file mode 100644 index 00000000..9cc08c1e --- /dev/null +++ b/docs/doxygen/nel/a02423.html @@ -0,0 +1,996 @@ +<!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: TemplateNL3D::CCubeGrid< TCell > 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::CCubeGrid< TCell > Class Template Reference</h1><code>#include <<a class="el" href="a05618.html">cube_grid.h</a>></code> +<p> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<h3>template<class TCell><br> + class NL3D::CCubeGrid< TCell ></h3> + +Class used to classify elements in space around a point (good for pointlight raytracing) Elements are copied at insertion, and are duplicated at compilation along the grids. Therefore TCell should be small (ie a pointer). This constraint help because memory is much more reduced when compile is called.<p> +<dl compact><dt><b>Author:</b></dt><dd>Matthieu Besson <p> +Lionel Berenguier <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a05618.html#l00052">52</a> of file <a class="el" href="a05618.html">cube_grid.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> </td><td class="memItemRight" valign=bottom><a class="el" href="a02423.html#NL3D_1_1CCubeGrida0">CCubeGrid</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02423.html#NL3D_1_1CCubeGrida1">compile</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">compile the container, storing in <a class="el" href="a03439.html">CStaticQuadGrid</a>. <a href="#NL3D_1_1CCubeGrida1"></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="a02423.html#NL3D_1_1CCubeGrida2">create</a> (const <a class="el" href="a03128.html">CVector</a> &center, int nSize)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>TCell </td><td class="memItemRight" valign=bottom><a class="el" href="a02423.html#NL3D_1_1CCubeGrida3">getSel</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02423.html#NL3D_1_1CCubeGrida4">insert</a> (const <a class="el" href="a03616.html">NLMISC::CTriangle</a> &tri, const TCell &cell)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02423.html#NL3D_1_1CCubeGrida5">isEndSel</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02423.html#NL3D_1_1CCubeGrida6">nextSel</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02423.html#NL3D_1_1CCubeGrida7">select</a> (const <a class="el" href="a03128.html">NLMISC::CVector</a> &<a class="el" href="a04223.html#a576">v</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02423.html#NL3D_1_1CCubeGrida8">~CCubeGrid</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Private Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02423.html#NL3D_1_1CCubeGridy0">gridPos</a> { <br> + <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy6">kUp</a> = 0, +<a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy2">kDown</a>, +<a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy4">kLeft</a>, +<a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy5">kRight</a>, +<br> + <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy3">kFront</a>, +<a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy1">kBack</a> +<br> + }</td></tr> + +<tr><td colspan=2><br><h2>Private 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="a02423.html#NL3D_1_1CCubeGridd0">project</a> (const <a class="el" href="a03616.html">NLMISC::CTriangle</a> &tri, <a class="el" href="a03082.html">NLMISC::CPlane</a> pyr[4], <a class="el" href="a03082.html">NLMISC::CPlane</a> &gridPlane, <a class="el" href="a04558.html#a10">sint32</a> nGridNb, const TCell &cell)</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="a03128.html">NLMISC::CVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02423.html#NL3D_1_1CCubeGridr0">_Center</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02423.html#NL3D_1_1CCubeGridr1">_Compiled</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02423.html#NL3D_1_1CCubeGridr2">_CurSel</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03273.html">NL3D::CQuadGrid</a>< TCell > </td><td class="memItemRight" valign=bottom><a class="el" href="a02423.html#NL3D_1_1CCubeGridr3">_Grids</a> [6]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02423.html#NL3D_1_1CCubeGridr4">_NumSels</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const TCell * </td><td class="memItemRight" valign=bottom><a class="el" href="a02423.html#NL3D_1_1CCubeGridr5">_Selection</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03439.html">NL3D::CStaticQuadGrid</a>< TCell > </td><td class="memItemRight" valign=bottom><a class="el" href="a02423.html#NL3D_1_1CCubeGridr6">_StaticGrids</a> [6]</td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NL3D_1_1CCubeGridy0" doxytag="NL3D::CCubeGrid::gridPos" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0">NL3D::CCubeGrid::gridPos</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy6" doxytag="kUp" ></a>kUp</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy2" doxytag="kDown" ></a>kDown</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy4" doxytag="kLeft" ></a>kLeft</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy5" doxytag="kRight" ></a>kRight</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy3" doxytag="kFront" ></a>kFront</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy1" doxytag="kBack" ></a>kBack</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a05618.html#l00078">78</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. +<p> +<div class="fragment"><pre>00078 { <a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy6">kUp</a> = 0, <a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy2">kDown</a>, <a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy4">kLeft</a>, <a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy5">kRight</a>, <a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy3">kFront</a>, <a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy1">kBack</a> }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CCubeGrida0" doxytag="NL3D::CCubeGrid::CCubeGrid" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02423.html">NL3D::CCubeGrid</a>< TCell >::<a class="el" href="a02423.html">CCubeGrid</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05618.html#l00109">109</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. +<p> +References <a class="el" href="a05618.html#l00085">NL3D::CCubeGrid< TCell >::_Compiled</a>, <a class="el" href="a05618.html#l00080">NL3D::CCubeGrid< TCell >::_Grids</a>, <a class="el" href="a03273.html#NL3D_1_1CQuadGridz772_0">NL3D::CQuadGrid< TCell >::changeBase()</a>, <a class="el" href="a05972.html#l00200">NLMISC::CMatrix::identity()</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy1">NL3D::CCubeGrid< TCell >::kBack</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy2">NL3D::CCubeGrid< TCell >::kDown</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy3">NL3D::CCubeGrid< TCell >::kFront</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy4">NL3D::CCubeGrid< TCell >::kLeft</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy5">NL3D::CCubeGrid< TCell >::kRight</a>, and <a class="el" href="a05972.html#l00209">NLMISC::CMatrix::setRot()</a>. +<p> +<div class="fragment"><pre>00110 { +00111 <a class="code" href="a02851.html">NLMISC::CMatrix</a> tmp; +00112 <a class="code" href="a03128.html">NLMISC::CVector</a> I, J, K; +00113 +00114 <span class="comment">// grids[kUp].changeBase( );</span> +00115 I = <a class="code" href="a03128.html">NLMISC::CVector</a>( 1, 0, 0 ); +00116 J = NLMISC::CVector( 0, -1, 0 ); +00117 K = NLMISC::CVector( 0, 0, -1 ); +00118 tmp.<a class="code" href="a02851.html#NLMISC_1_1CMatrixz1961_0">identity</a>(); tmp.<a class="code" href="a02851.html#NLMISC_1_1CMatrixz1961_10">setRot</a>( I, J, K, <span class="keyword">true</span> ); +00119 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr3">_Grids</a>[<a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy2">kDown</a>].<a class="code" href="a03273.html#NL3D_1_1CQuadGridz772_0">changeBase</a>( tmp ); +00120 +00121 I = NLMISC::CVector( 0, 0, 1 ); +00122 J = NLMISC::CVector( 0, 1, 0 ); +00123 K = NLMISC::CVector( -1, 0, 0 ); +00124 tmp.<a class="code" href="a02851.html#NLMISC_1_1CMatrixz1961_0">identity</a>(); tmp.<a class="code" href="a02851.html#NLMISC_1_1CMatrixz1961_10">setRot</a>( I, J, K, <span class="keyword">true</span>); +00125 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr3">_Grids</a>[<a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy4">kLeft</a>].<a class="code" href="a03273.html#NL3D_1_1CQuadGridz772_0">changeBase</a>( tmp ); +00126 +00127 I = NLMISC::CVector( 0, 0, -1 ); +00128 J = NLMISC::CVector( 0, 1, 0 ); +00129 K = NLMISC::CVector( 1, 0, 0 ); +00130 tmp.<a class="code" href="a02851.html#NLMISC_1_1CMatrixz1961_0">identity</a>(); tmp.<a class="code" href="a02851.html#NLMISC_1_1CMatrixz1961_10">setRot</a>( I, J, K, <span class="keyword">true</span>); +00131 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr3">_Grids</a>[<a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy5">kRight</a>].<a class="code" href="a03273.html#NL3D_1_1CQuadGridz772_0">changeBase</a>( tmp ); +00132 +00133 I = NLMISC::CVector( 1, 0, 0 ); +00134 J = NLMISC::CVector( 0, 0, 1 ); +00135 K = NLMISC::CVector( 0, -1, 0 ); +00136 tmp.<a class="code" href="a02851.html#NLMISC_1_1CMatrixz1961_0">identity</a>(); tmp.<a class="code" href="a02851.html#NLMISC_1_1CMatrixz1961_10">setRot</a>( I, J, K, <span class="keyword">true</span>); +00137 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr3">_Grids</a>[<a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy3">kFront</a>].<a class="code" href="a03273.html#NL3D_1_1CQuadGridz772_0">changeBase</a>( tmp ); +00138 +00139 I = NLMISC::CVector( 1, 0, 0 ); +00140 J = NLMISC::CVector( 0, 0, -1 ); +00141 K = NLMISC::CVector( 0, 1, 0 ); +00142 tmp.<a class="code" href="a02851.html#NLMISC_1_1CMatrixz1961_0">identity</a>(); tmp.<a class="code" href="a02851.html#NLMISC_1_1CMatrixz1961_10">setRot</a>( I, J, K, <span class="keyword">true</span>); +00143 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr3">_Grids</a>[<a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy1">kBack</a>].<a class="code" href="a03273.html#NL3D_1_1CQuadGridz772_0">changeBase</a>( tmp ); +00144 +00145 +00146 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr1">_Compiled</a>= <span class="keyword">false</span>; +00147 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CCubeGrida8" doxytag="NL3D::CCubeGrid::~CCubeGrid" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02423.html">NL3D::CCubeGrid</a>< TCell >::~<a class="el" href="a02423.html">CCubeGrid</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05618.html#l00151">151</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. +<p> +<div class="fragment"><pre>00152 { +00153 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CCubeGrida1" doxytag="NL3D::CCubeGrid::compile" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void <a class="el" href="a02423.html">NL3D::CCubeGrid</a>< TCell >::compile </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +compile the container, storing in <a class="el" href="a03439.html">CStaticQuadGrid</a>. +<p> + +<p> +Definition at line <a class="el" href="a05618.html#l00229">229</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. +<p> +References <a class="el" href="a05618.html#l00085">NL3D::CCubeGrid< TCell >::_Compiled</a>, <a class="el" href="a05618.html#l00089">NL3D::CCubeGrid< TCell >::_CurSel</a>, <a class="el" href="a05618.html#l00080">NL3D::CCubeGrid< TCell >::_Grids</a>, <a class="el" href="a05618.html#l00090">NL3D::CCubeGrid< TCell >::_NumSels</a>, <a class="el" href="a05618.html#l00082">NL3D::CCubeGrid< TCell >::_StaticGrids</a>, <a class="el" href="a03439.html#NL3D_1_1CStaticQuadGridz962_0">NL3D::CStaticQuadGrid< TCell >::build()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00230 { +00231 <a class="code" href="a04199.html#a6">nlassert</a>(!_Compiled); +00232 <span class="comment">// For all Grids.</span> +00233 <a class="code" href="a04558.html#a15">uint</a> i; +00234 <span class="keywordflow">for</span>(i=0; i<6; i++) +00235 { +00236 <span class="comment">// build the _StaticGrid</span> +00237 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr6">_StaticGrids</a>[i].<a class="code" href="a03439.html#NL3D_1_1CStaticQuadGridz962_0">build</a>(_Grids[i]); +00238 <span class="comment">// And reset the grid. contReset is necessary to clean the CBlockMemory.</span> +00239 <a class="code" href="a05378.html#a381">contReset</a>(_Grids[i]); +00240 } +00241 +00242 <span class="comment">// done</span> +00243 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr1">_Compiled</a>= <span class="keyword">true</span>; +00244 +00245 <span class="comment">// Clear the Selection</span> +00246 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr5">_Selection</a>= NULL; +00247 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr2">_CurSel</a>= 0; +00248 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr4">_NumSels</a>= 0; +00249 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CCubeGrida2" doxytag="NL3D::CCubeGrid::create" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void <a class="el" href="a02423.html">NL3D::CCubeGrid</a>< TCell >::create </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">CVector</a> & </td> + <td class="mdname" nowrap> <em>center</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>nSize</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> +Create the cubeGrid, specifying center of this one, and number of Cells per side. +<p> +Definition at line <a class="el" href="a05618.html#l00157">157</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. +<p> +References <a class="el" href="a05618.html#l00076">NL3D::CCubeGrid< TCell >::_Center</a>, <a class="el" href="a05618.html#l00085">NL3D::CCubeGrid< TCell >::_Compiled</a>, <a class="el" href="a05618.html#l00080">NL3D::CCubeGrid< TCell >::_Grids</a>, <a class="el" href="a03273.html#NL3D_1_1CQuadGridz772_1">NL3D::CQuadGrid< TCell >::create()</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy1">NL3D::CCubeGrid< TCell >::kBack</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy2">NL3D::CCubeGrid< TCell >::kDown</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy3">NL3D::CCubeGrid< TCell >::kFront</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy4">NL3D::CCubeGrid< TCell >::kLeft</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy5">NL3D::CCubeGrid< TCell >::kRight</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy6">NL3D::CCubeGrid< TCell >::kUp</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>00158 { +00159 <a class="code" href="a04199.html#a6">nlassert</a>(!_Compiled); +00160 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr0">_Center</a>= center; +00161 +00162 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr3">_Grids</a>[<a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy6">kUp</a>].<a class="code" href="a03273.html#NL3D_1_1CQuadGridz772_1">create</a> ( nSize, 1.0f / ((<span class="keywordtype">float</span>)nSize) ); +00163 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr3">_Grids</a>[<a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy2">kDown</a>].<a class="code" href="a03273.html#NL3D_1_1CQuadGridz772_1">create</a> ( nSize, 1.0f / ((<span class="keywordtype">float</span>)nSize) ); +00164 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr3">_Grids</a>[<a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy4">kLeft</a>].<a class="code" href="a03273.html#NL3D_1_1CQuadGridz772_1">create</a> ( nSize, 1.0f / ((<span class="keywordtype">float</span>)nSize) ); +00165 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr3">_Grids</a>[<a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy5">kRight</a>].<a class="code" href="a03273.html#NL3D_1_1CQuadGridz772_1">create</a> ( nSize, 1.0f / ((<span class="keywordtype">float</span>)nSize) ); +00166 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr3">_Grids</a>[<a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy3">kFront</a>].<a class="code" href="a03273.html#NL3D_1_1CQuadGridz772_1">create</a> ( nSize, 1.0f / ((<span class="keywordtype">float</span>)nSize) ); +00167 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr3">_Grids</a>[<a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy1">kBack</a>].<a class="code" href="a03273.html#NL3D_1_1CQuadGridz772_1">create</a> ( nSize, 1.0f / ((<span class="keywordtype">float</span>)nSize) ); +00168 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CCubeGrida3" doxytag="NL3D::CCubeGrid::getSel" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> TCell <a class="el" href="a02423.html">NL3D::CCubeGrid</a>< TCell >::getSel </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05618.html#l00313">313</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. +<p> +References <a class="el" href="a05618.html#l00085">NL3D::CCubeGrid< TCell >::_Compiled</a>, <a class="el" href="a05618.html#l00089">NL3D::CCubeGrid< TCell >::_CurSel</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>00314 { +00315 <a class="code" href="a04199.html#a6">nlassert</a>(_Compiled); +00316 <span class="keywordflow">return</span> <a class="code" href="a02423.html#NL3D_1_1CCubeGridr5">_Selection</a>[<a class="code" href="a02423.html#NL3D_1_1CCubeGridr2">_CurSel</a>]; +00317 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CCubeGrida4" doxytag="NL3D::CCubeGrid::insert" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void <a class="el" href="a02423.html">NL3D::CCubeGrid</a>< TCell >::insert </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03616.html">NLMISC::CTriangle</a> & </td> + <td class="mdname" nowrap> <em>tri</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const TCell & </td> + <td class="mdname" nowrap> <em>cell</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05618.html#l00172">172</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. +<p> +References <a class="el" href="a05618.html#l00076">NL3D::CCubeGrid< TCell >::_Center</a>, <a class="el" href="a05618.html#l00085">NL3D::CCubeGrid< TCell >::_Compiled</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy1">NL3D::CCubeGrid< TCell >::kBack</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy2">NL3D::CCubeGrid< TCell >::kDown</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy3">NL3D::CCubeGrid< TCell >::kFront</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy4">NL3D::CCubeGrid< TCell >::kLeft</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy5">NL3D::CCubeGrid< TCell >::kRight</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy6">NL3D::CCubeGrid< TCell >::kUp</a>, <a class="el" href="a06170.html#l00036">NLMISC::CPlane::make()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05618.html#l00337">NL3D::CCubeGrid< TCell >::project()</a>, <a class="el" href="a06585.html#l00051">NLMISC::CTriangle::V0</a>, <a class="el" href="a06585.html#l00051">NLMISC::CTriangle::V1</a>, and <a class="el" href="a06585.html#l00051">NLMISC::CTriangle::V2</a>. +<p> +<div class="fragment"><pre>00173 { +00174 <a class="code" href="a04199.html#a6">nlassert</a>(!_Compiled); +00175 <span class="comment">// Center triangle on _Center.</span> +00176 <a class="code" href="a03616.html">NLMISC::CTriangle</a> tri= triIn; +00177 tri.<a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo3">V0</a>-= <a class="code" href="a02423.html#NL3D_1_1CCubeGridr0">_Center</a>; +00178 tri.<a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo4">V1</a>-= <a class="code" href="a02423.html#NL3D_1_1CCubeGridr0">_Center</a>; +00179 tri.<a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo5">V2</a>-= <a class="code" href="a02423.html#NL3D_1_1CCubeGridr0">_Center</a>; +00180 +00181 <a class="code" href="a03082.html">NLMISC::CPlane</a> p[4], gp; +00182 <span class="comment">// Construct clip pyramid for grid : UP</span> +00183 p[0].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,-1,+1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,-1,+1 ) ); +00184 p[1].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,-1,+1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,+1,+1 ) ); +00185 p[2].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,+1,+1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,+1,+1 ) ); +00186 p[3].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,+1,+1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,-1,+1 ) ); +00187 gp.<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,1), <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0.5) ); +00188 <a class="code" href="a02423.html#NL3D_1_1CCubeGridd0">project</a>( tri, p, gp, kUp, cell ); +00189 <span class="comment">// Construct clip pyramid for grid : DOWN</span> +00190 p[0].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,-1,-1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,-1,-1 ) ); +00191 p[1].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,-1,-1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,+1,-1 ) ); +00192 p[2].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,+1,-1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,+1,-1 ) ); +00193 p[3].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,+1,-1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,-1,-1 ) ); +00194 gp.<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,-1), <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,-0.5) ); +00195 <a class="code" href="a02423.html#NL3D_1_1CCubeGridd0">project</a>( tri, p, gp, kDown, cell ); +00196 <span class="comment">// Construct clip pyramid for grid : LEFT</span> +00197 p[0].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,-1,-1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,-1,+1 ) ); +00198 p[1].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,-1,+1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,+1,+1 ) ); +00199 p[2].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,+1,+1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,+1,-1 ) ); +00200 p[3].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,+1,-1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,-1,-1 ) ); +00201 gp.<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(-1,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>(-0.5,0,0) ); +00202 <a class="code" href="a02423.html#NL3D_1_1CCubeGridd0">project</a>( tri, p, gp, kLeft, cell ); +00203 <span class="comment">// Construct clip pyramid for grid : RIGHT</span> +00204 p[0].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,-1,+1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,-1,-1 ) ); +00205 p[1].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,-1,-1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,+1,-1 ) ); +00206 p[2].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,+1,-1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,+1,+1 ) ); +00207 p[3].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,+1,+1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,-1,+1 ) ); +00208 gp.<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(1,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>(0.5,0,0) ); +00209 <a class="code" href="a02423.html#NL3D_1_1CCubeGridd0">project</a>( tri, p, gp, kRight, cell ); +00210 <span class="comment">// Construct clip pyramid for grid : FRONT</span> +00211 p[0].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,-1,-1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,-1,-1 ) ); +00212 p[1].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,-1,-1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,-1,+1 ) ); +00213 p[2].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,-1,+1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,-1,+1 ) ); +00214 p[3].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,-1,+1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,-1,-1 ) ); +00215 gp.<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,-1,0), <a class="code" href="a03128.html">NLMISC::CVector</a>(0,-0.5,0) ); +00216 <a class="code" href="a02423.html#NL3D_1_1CCubeGridd0">project</a>( tri, p, gp, kFront, cell ); +00217 <span class="comment">// Construct clip pyramid for grid : BACK</span> +00218 p[0].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,+1,+1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,+1,-1 ) ); +00219 p[1].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,+1,-1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,+1,-1 ) ); +00220 p[2].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,+1,-1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,+1,+1 ) ); +00221 p[3].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>( -1,+1,+1 ), <a class="code" href="a03128.html">NLMISC::CVector</a>( +1,+1,+1 ) ); +00222 gp.<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,1,0), <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0.5,0) ); +00223 <a class="code" href="a02423.html#NL3D_1_1CCubeGridd0">project</a>( tri, p, gp, kBack, cell ); +00224 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CCubeGrida5" doxytag="NL3D::CCubeGrid::isEndSel" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a02423.html">NL3D::CCubeGrid</a>< TCell >::isEndSel </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05618.html#l00329">329</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. +<p> +References <a class="el" href="a05618.html#l00085">NL3D::CCubeGrid< TCell >::_Compiled</a>, <a class="el" href="a05618.html#l00089">NL3D::CCubeGrid< TCell >::_CurSel</a>, <a class="el" href="a05618.html#l00090">NL3D::CCubeGrid< TCell >::_NumSels</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>00330 { +00331 <a class="code" href="a04199.html#a6">nlassert</a>(_Compiled); +00332 <span class="keywordflow">return</span> (<a class="code" href="a02423.html#NL3D_1_1CCubeGridr2">_CurSel</a> == <a class="code" href="a02423.html#NL3D_1_1CCubeGridr4">_NumSels</a>); +00333 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CCubeGrida6" doxytag="NL3D::CCubeGrid::nextSel" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void <a class="el" href="a02423.html">NL3D::CCubeGrid</a>< TCell >::nextSel </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05618.html#l00321">321</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. +<p> +References <a class="el" href="a05618.html#l00085">NL3D::CCubeGrid< TCell >::_Compiled</a>, <a class="el" href="a05618.html#l00089">NL3D::CCubeGrid< TCell >::_CurSel</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>00322 { +00323 <a class="code" href="a04199.html#a6">nlassert</a>(_Compiled); +00324 ++<a class="code" href="a02423.html#NL3D_1_1CCubeGridr2">_CurSel</a>; +00325 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CCubeGridd0" doxytag="NL3D::CCubeGrid::project" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void <a class="el" href="a02423.html">NL3D::CCubeGrid</a>< TCell >::project </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03616.html">NLMISC::CTriangle</a> & </td> + <td class="mdname" nowrap> <em>tri</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03082.html">NLMISC::CPlane</a> </td> + <td class="mdname" nowrap> <em>pyr</em>[4], </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03082.html">NLMISC::CPlane</a> & </td> + <td class="mdname" nowrap> <em>gridPlane</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap> <em>nGridNb</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const TCell & </td> + <td class="mdname" nowrap> <em>cell</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</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="a05618.html#l00337">337</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. +<p> +References <a class="el" href="a05618.html#l00080">NL3D::CCubeGrid< TCell >::_Grids</a>, <a class="el" href="a06170.html#l00125">NLMISC::CPlane::clipPolygonFront()</a>, <a class="el" href="a03273.html#NL3D_1_1CQuadGridz774_2">NL3D::CQuadGrid< TCell >::insert()</a>, <a class="el" href="a06172.html#l00051">NLMISC::CPlane::intersect()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a06585.html#l00051">NLMISC::CTriangle::V0</a>, <a class="el" href="a06585.html#l00051">NLMISC::CTriangle::V1</a>, <a class="el" href="a06585.html#l00051">NLMISC::CTriangle::V2</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::x</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::z</a>. +<p> +Referenced by <a class="el" href="a05618.html#l00172">NL3D::CCubeGrid< TCell >::insert()</a>. +<p> +<div class="fragment"><pre>00338 { +00339 <a class="code" href="a03128.html">NLMISC::CVector</a> vIn[7], vOut[7]; +00340 <a class="code" href="a04558.html#a10">sint32</a> i, nOut; +00341 vIn[0] = tri.<a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo3">V0</a>; vIn[1] = tri.<a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo4">V1</a>; vIn[2] = tri.<a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo5">V2</a>; +00342 nOut = pyr[0].<a class="code" href="a03082.html#NLMISC_1_1CPlanez1992_1">clipPolygonFront</a>( vIn, vOut, 3 ); +00343 <span class="keywordflow">if</span>( nOut == 0 ) <span class="keywordflow">return</span>; +00344 <span class="keywordflow">for</span>( i = 0; i < nOut; ++i ) vIn[i] = vOut[i]; +00345 nOut = pyr[1].clipPolygonFront( vIn, vOut, nOut ); +00346 <span class="keywordflow">if</span>( nOut == 0 ) <span class="keywordflow">return</span>; +00347 <span class="keywordflow">for</span>( i = 0; i < nOut; ++i ) vIn[i] = vOut[i]; +00348 nOut = pyr[2].clipPolygonFront( vIn, vOut, nOut ); +00349 <span class="keywordflow">if</span>( nOut == 0 ) <span class="keywordflow">return</span>; +00350 <span class="keywordflow">for</span>( i = 0; i < nOut; ++i ) vIn[i] = vOut[i]; +00351 nOut = pyr[3].clipPolygonFront( vIn, vOut, nOut ); +00352 <span class="keywordflow">if</span>( nOut >= 3 ) +00353 { +00354 <a class="code" href="a03128.html">NLMISC::CVector</a> vMin(1, 1, 1), vMax(-1, -1, -1); +00355 <span class="keywordflow">for</span>( i = 0; i < nOut; ++i ) +00356 { +00357 vOut[i] = gridPlane.<a class="code" href="a03082.html#NLMISC_1_1CPlanez1992_5">intersect</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0, 0, 0), vOut[i] ); +00358 <span class="keywordflow">if</span>( vMin.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> > vOut[i].x ) vMin.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> = vOut[i].x; +00359 <span class="keywordflow">if</span>( vMin.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> > vOut[i].y ) vMin.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> = vOut[i].y; +00360 <span class="keywordflow">if</span>( vMin.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> > vOut[i].z ) vMin.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> = vOut[i].z; +00361 <span class="keywordflow">if</span>( vMax.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> < vOut[i].x ) vMax.<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> = vOut[i].x; +00362 <span class="keywordflow">if</span>( vMax.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> < vOut[i].y ) vMax.<a class="code" href="a03128.html#NLMISC_1_1CVectoro1">y</a> = vOut[i].y; +00363 <span class="keywordflow">if</span>( vMax.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> < vOut[i].z ) vMax.<a class="code" href="a03128.html#NLMISC_1_1CVectoro2">z</a> = vOut[i].z; +00364 } +00365 <span class="comment">// Create the bbox</span> +00366 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr3">_Grids</a>[nGridNb].<a class="code" href="a03273.html#NL3D_1_1CQuadGridz774_2">insert</a>( vMin, vMax, cell ); +00367 } +00368 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CCubeGrida7" doxytag="NL3D::CCubeGrid::select" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void <a class="el" href="a02423.html">NL3D::CCubeGrid</a>< TCell >::select </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">NLMISC::CVector</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>v</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="a05618.html#l00253">253</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. +<p> +References <a class="el" href="a05618.html#l00076">NL3D::CCubeGrid< TCell >::_Center</a>, <a class="el" href="a05618.html#l00085">NL3D::CCubeGrid< TCell >::_Compiled</a>, <a class="el" href="a05618.html#l00089">NL3D::CCubeGrid< TCell >::_CurSel</a>, <a class="el" href="a05618.html#l00090">NL3D::CCubeGrid< TCell >::_NumSels</a>, <a class="el" href="a05618.html#l00082">NL3D::CCubeGrid< TCell >::_StaticGrids</a>, <a class="el" href="a06172.html#l00051">NLMISC::CPlane::intersect()</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy1">NL3D::CCubeGrid< TCell >::kBack</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy2">NL3D::CCubeGrid< TCell >::kDown</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy3">NL3D::CCubeGrid< TCell >::kFront</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy4">NL3D::CCubeGrid< TCell >::kLeft</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy5">NL3D::CCubeGrid< TCell >::kRight</a>, <a class="el" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy6">NL3D::CCubeGrid< TCell >::kUp</a>, <a class="el" href="a06170.html#l00036">NLMISC::CPlane::make()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03439.html#NL3D_1_1CStaticQuadGridz964_0">NL3D::CStaticQuadGrid< TCell >::select()</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05646.html#l00237">v</a>. +<p> +<div class="fragment"><pre>00254 { +00255 <a class="code" href="a04199.html#a6">nlassert</a>(_Compiled); +00256 <span class="comment">// Center triangle on _Center.</span> +00257 <a class="code" href="a03128.html">NLMISC::CVector</a> <a class="code" href="a04223.html#a576">v</a>= vIn-<a class="code" href="a02423.html#NL3D_1_1CCubeGridr0">_Center</a>; +00258 +00259 +00260 <a class="code" href="a04558.html#a14">sint</a> nSelGrid= -1; +00261 <a class="code" href="a03082.html">NLMISC::CPlane</a> gp; +00262 <span class="comment">// Get the plane</span> +00263 <span class="keywordflow">if</span>( ( -<a class="code" href="a04223.html#a576">v</a>.z <= <a class="code" href="a04223.html#a576">v</a>.x ) && ( <a class="code" href="a04223.html#a576">v</a>.x <= <a class="code" href="a04223.html#a576">v</a>.z ) && +00264 ( -<a class="code" href="a04223.html#a576">v</a>.z <= <a class="code" href="a04223.html#a576">v</a>.y ) && ( <a class="code" href="a04223.html#a576">v</a>.y <= <a class="code" href="a04223.html#a576">v</a>.z ) && +00265 ( 0.0f <= <a class="code" href="a04223.html#a576">v</a>.z ) ) +00266 { +00267 nSelGrid = <a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy6">kUp</a>; +00268 gp.<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,1), <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0.5) ); +00269 } +00270 <span class="keywordflow">if</span>( ( <a class="code" href="a04223.html#a576">v</a>.z <= <a class="code" href="a04223.html#a576">v</a>.x ) && ( <a class="code" href="a04223.html#a576">v</a>.x <= -<a class="code" href="a04223.html#a576">v</a>.z ) && +00271 ( <a class="code" href="a04223.html#a576">v</a>.z <= <a class="code" href="a04223.html#a576">v</a>.y ) && ( <a class="code" href="a04223.html#a576">v</a>.y <= -<a class="code" href="a04223.html#a576">v</a>.z ) && +00272 ( <a class="code" href="a04223.html#a576">v</a>.z <= 0.0f ) ) +00273 { +00274 nSelGrid = <a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy2">kDown</a>; +00275 gp.<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,-1), <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,-0.5) ); +00276 } +00277 <span class="keywordflow">if</span>( ( <a class="code" href="a04223.html#a576">v</a>.x <= 0.0f ) && +00278 ( <a class="code" href="a04223.html#a576">v</a>.x <= <a class="code" href="a04223.html#a576">v</a>.y ) && ( <a class="code" href="a04223.html#a576">v</a>.y <= -<a class="code" href="a04223.html#a576">v</a>.x ) && +00279 ( <a class="code" href="a04223.html#a576">v</a>.x <= <a class="code" href="a04223.html#a576">v</a>.z ) && ( <a class="code" href="a04223.html#a576">v</a>.z <= -<a class="code" href="a04223.html#a576">v</a>.x ) ) +00280 { +00281 nSelGrid = <a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy4">kLeft</a>; +00282 gp.<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(-1,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>(-0.5,0,0) ); +00283 } +00284 <span class="keywordflow">if</span>( ( 0.0f <= <a class="code" href="a04223.html#a576">v</a>.x ) && +00285 ( -<a class="code" href="a04223.html#a576">v</a>.x <= <a class="code" href="a04223.html#a576">v</a>.y ) && ( <a class="code" href="a04223.html#a576">v</a>.y <= <a class="code" href="a04223.html#a576">v</a>.x ) && +00286 ( -<a class="code" href="a04223.html#a576">v</a>.x <= <a class="code" href="a04223.html#a576">v</a>.z ) && ( <a class="code" href="a04223.html#a576">v</a>.z <= <a class="code" href="a04223.html#a576">v</a>.x ) ) +00287 { +00288 nSelGrid = <a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy5">kRight</a>; +00289 gp.<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(1,0,0), <a class="code" href="a03128.html">NLMISC::CVector</a>(0.5,0,0) ); +00290 } +00291 <span class="keywordflow">if</span>( ( <a class="code" href="a04223.html#a576">v</a>.y <= <a class="code" href="a04223.html#a576">v</a>.x ) && ( <a class="code" href="a04223.html#a576">v</a>.x <= -<a class="code" href="a04223.html#a576">v</a>.y ) && +00292 ( <a class="code" href="a04223.html#a576">v</a>.y <= 0.0f ) && +00293 ( <a class="code" href="a04223.html#a576">v</a>.y <= <a class="code" href="a04223.html#a576">v</a>.z ) && ( <a class="code" href="a04223.html#a576">v</a>.z <= -<a class="code" href="a04223.html#a576">v</a>.y ) ) +00294 { +00295 nSelGrid = <a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy3">kFront</a>; +00296 gp.<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,-1,0), <a class="code" href="a03128.html">NLMISC::CVector</a>(0,-0.5,0) ); +00297 } +00298 <span class="keywordflow">if</span>( ( -<a class="code" href="a04223.html#a576">v</a>.y <= <a class="code" href="a04223.html#a576">v</a>.x ) && ( <a class="code" href="a04223.html#a576">v</a>.x <= <a class="code" href="a04223.html#a576">v</a>.y ) && +00299 ( 0.0f <= <a class="code" href="a04223.html#a576">v</a>.y ) && +00300 ( -<a class="code" href="a04223.html#a576">v</a>.y <= <a class="code" href="a04223.html#a576">v</a>.z ) && ( <a class="code" href="a04223.html#a576">v</a>.z <= <a class="code" href="a04223.html#a576">v</a>.y ) ) +00301 { +00302 nSelGrid = <a class="code" href="a02423.html#NL3D_1_1CCubeGridy0NL3D_1_1CCubeGridy1">kBack</a>; +00303 gp.<a class="code" href="a03082.html#NLMISC_1_1CPlanez1990_2">make</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,1,0), <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0.5,0) ); +00304 } +00305 <a class="code" href="a04199.html#a6">nlassert</a>(nSelGrid!=-1); +00306 <a class="code" href="a03128.html">NLMISC::CVector</a> newV = gp.<a class="code" href="a03082.html#NLMISC_1_1CPlanez1992_5">intersect</a>( <a class="code" href="a03128.html">NLMISC::CVector</a>(0,0,0), v ); +00307 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr5">_Selection</a>= <a class="code" href="a02423.html#NL3D_1_1CCubeGridr6">_StaticGrids</a>[nSelGrid].<a class="code" href="a03439.html#NL3D_1_1CStaticQuadGridz964_0">select</a>(newV, _NumSels); +00308 <a class="code" href="a02423.html#NL3D_1_1CCubeGridr2">_CurSel</a> = 0; +00309 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CCubeGridr0" doxytag="NL3D::CCubeGrid::_Center" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03128.html">NLMISC::CVector</a> <a class="el" href="a02423.html">NL3D::CCubeGrid</a>< TCell >::<a class="el" href="a02423.html#NL3D_1_1CCubeGridr0">_Center</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="a05618.html#l00076">76</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. +<p> +Referenced by <a class="el" href="a05618.html#l00157">NL3D::CCubeGrid< TCell >::create()</a>, <a class="el" href="a05618.html#l00172">NL3D::CCubeGrid< TCell >::insert()</a>, and <a class="el" href="a05618.html#l00253">NL3D::CCubeGrid< TCell >::select()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CCubeGridr1" doxytag="NL3D::CCubeGrid::_Compiled" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a02423.html">NL3D::CCubeGrid</a>< TCell >::<a class="el" href="a02423.html#NL3D_1_1CCubeGridr1">_Compiled</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="a05618.html#l00085">85</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. +<p> +Referenced by <a class="el" href="a05618.html#l00109">NL3D::CCubeGrid< TCell >::CCubeGrid()</a>, <a class="el" href="a05618.html#l00229">NL3D::CCubeGrid< TCell >::compile()</a>, <a class="el" href="a05618.html#l00157">NL3D::CCubeGrid< TCell >::create()</a>, <a class="el" href="a05618.html#l00313">NL3D::CCubeGrid< TCell >::getSel()</a>, <a class="el" href="a05618.html#l00172">NL3D::CCubeGrid< TCell >::insert()</a>, <a class="el" href="a05618.html#l00329">NL3D::CCubeGrid< TCell >::isEndSel()</a>, <a class="el" href="a05618.html#l00321">NL3D::CCubeGrid< TCell >::nextSel()</a>, and <a class="el" href="a05618.html#l00253">NL3D::CCubeGrid< TCell >::select()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CCubeGridr2" doxytag="NL3D::CCubeGrid::_CurSel" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a02423.html">NL3D::CCubeGrid</a>< TCell >::<a class="el" href="a02423.html#NL3D_1_1CCubeGridr2">_CurSel</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="a05618.html#l00089">89</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. +<p> +Referenced by <a class="el" href="a05618.html#l00229">NL3D::CCubeGrid< TCell >::compile()</a>, <a class="el" href="a05618.html#l00313">NL3D::CCubeGrid< TCell >::getSel()</a>, <a class="el" href="a05618.html#l00329">NL3D::CCubeGrid< TCell >::isEndSel()</a>, <a class="el" href="a05618.html#l00321">NL3D::CCubeGrid< TCell >::nextSel()</a>, and <a class="el" href="a05618.html#l00253">NL3D::CCubeGrid< TCell >::select()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CCubeGridr3" doxytag="NL3D::CCubeGrid::_Grids" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03273.html">NL3D::CQuadGrid</a><TCell> <a class="el" href="a02423.html">NL3D::CCubeGrid</a>< TCell >::<a class="el" href="a02423.html#NL3D_1_1CCubeGridr3">_Grids</a>[6]<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="a05618.html#l00080">80</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. +<p> +Referenced by <a class="el" href="a05618.html#l00109">NL3D::CCubeGrid< TCell >::CCubeGrid()</a>, <a class="el" href="a05618.html#l00229">NL3D::CCubeGrid< TCell >::compile()</a>, <a class="el" href="a05618.html#l00157">NL3D::CCubeGrid< TCell >::create()</a>, and <a class="el" href="a05618.html#l00337">NL3D::CCubeGrid< TCell >::project()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CCubeGridr4" doxytag="NL3D::CCubeGrid::_NumSels" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a02423.html">NL3D::CCubeGrid</a>< TCell >::<a class="el" href="a02423.html#NL3D_1_1CCubeGridr4">_NumSels</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="a05618.html#l00090">90</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. +<p> +Referenced by <a class="el" href="a05618.html#l00229">NL3D::CCubeGrid< TCell >::compile()</a>, <a class="el" href="a05618.html#l00329">NL3D::CCubeGrid< TCell >::isEndSel()</a>, and <a class="el" href="a05618.html#l00253">NL3D::CCubeGrid< TCell >::select()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CCubeGridr5" doxytag="NL3D::CCubeGrid::_Selection" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> const TCell* <a class="el" href="a02423.html">NL3D::CCubeGrid</a>< TCell >::<a class="el" href="a02423.html#NL3D_1_1CCubeGridr5">_Selection</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="a05618.html#l00088">88</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CCubeGridr6" doxytag="NL3D::CCubeGrid::_StaticGrids" ></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" colspan="4"> +template<class TCell> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03439.html">NL3D::CStaticQuadGrid</a><TCell> <a class="el" href="a02423.html">NL3D::CCubeGrid</a>< TCell >::<a class="el" href="a02423.html#NL3D_1_1CCubeGridr6">_StaticGrids</a>[6]<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="a05618.html#l00082">82</a> of file <a class="el" href="a05618.html">cube_grid.h</a>. +<p> +Referenced by <a class="el" href="a05618.html#l00229">NL3D::CCubeGrid< TCell >::compile()</a>, and <a class="el" href="a05618.html#l00253">NL3D::CCubeGrid< TCell >::select()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="a05618.html">cube_grid.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:45:27 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> |