aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02639.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a02639.html275
1 files changed, 275 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02639.html b/docs/doxygen/nel/a02639.html
new file mode 100644
index 00000000..298fa00a
--- /dev/null
+++ b/docs/doxygen/nel/a02639.html
@@ -0,0 +1,275 @@
+<!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::CHrcTrav 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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NL3D::CHrcTrav Class Reference</h1><code>#include &lt;<a class="el" href="a05797.html">hrc_trav.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CHrcTrav:
+<p><center><img src="a02639.png" usemap="#NL3D::CHrcTrav_map" border="0" alt=""></center>
+<map name="NL3D::CHrcTrav_map">
+<area href="a02214.html" alt="NL3D::CTraversal" shape="rect" coords="0,0,113,24">
+</map>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+The hierarchy traversal.<p>
+NB: see <a class="el" href="a03348.html">CScene</a> for 3d conventions (orthonormal basis...) <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2000 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05797.html#l00055">55</a> of file <a class="el" href="a05797.html">hrc_trav.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02639.html#NL3D_1_1CHrcTravw3">TVisibility</a> { <a class="el" href="a02639.html#NL3D_1_1CHrcTravw3NL3D_1_1CHrcTravw2">Show</a> = 0,
+<a class="el" href="a02639.html#NL3D_1_1CHrcTravw3NL3D_1_1CHrcTravw1">Hide</a>,
+<a class="el" href="a02639.html#NL3D_1_1CHrcTravw3NL3D_1_1CHrcTravw0">Herit</a>,
+<a class="el" href="a02639.html#NL3D_1_1CHrcTravw3NL3D_1_1CHrcTravw4">VisibilityCount</a>
+ }</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The visibility flag. In the root case, Herit means Show. <a href="#NL3D_1_1CHrcTravw3">More...</a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02639.html#NL3D_1_1CHrcTrava0">CHrcTrav</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CHrcTrava0"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">ITrav/ITravScene Implementation.</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02639.html#NL3D_1_1CHrcTravz205_0">traverse</a> ()</td></tr>
+
+<tr><td colspan=2><br><h2>Data Fields</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a02537.html">CTransformShape</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02639.html#NL3D_1_1CHrcTravo0">_MovingObjects</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a12">sint64</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02639.html#NL3D_1_1CHrcTravo1">CurrentDate</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03348.html">CScene</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02214.html#NL3D_1_1CTraversalo0">Scene</a></td></tr>
+
+</table>
+<hr><h2>Member Enumeration Documentation</h2>
+<a class="anchor" name="NL3D_1_1CHrcTravw3" doxytag="NL3D::CHrcTrav::TVisibility" ></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"> enum <a class="el" href="a02639.html#NL3D_1_1CHrcTravw3">NL3D::CHrcTrav::TVisibility</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The visibility flag. In the root case, Herit means Show.
+<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_1CHrcTravw3NL3D_1_1CHrcTravw2" doxytag="Show" ></a>Show</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CHrcTravw3NL3D_1_1CHrcTravw1" doxytag="Hide" ></a>Hide</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CHrcTravw3NL3D_1_1CHrcTravw0" doxytag="Herit" ></a>Herit</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CHrcTravw3NL3D_1_1CHrcTravw4" doxytag="VisibilityCount" ></a>VisibilityCount</em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a05797.html#l00059">59</a> of file <a class="el" href="a05797.html">hrc_trav.h</a>.
+<p>
+<div class="fragment"><pre>00060 {
+00061 <a class="code" href="a02639.html#NL3D_1_1CHrcTravw3NL3D_1_1CHrcTravw2">Show</a>=0, <span class="comment">// The model is shown in hte hierarchy</span>
+00062 <a class="code" href="a02639.html#NL3D_1_1CHrcTravw3NL3D_1_1CHrcTravw1">Hide</a>, <span class="comment">// The model is hidden in hte hierarchy</span>
+00063 <a class="code" href="a02639.html#NL3D_1_1CHrcTravw3NL3D_1_1CHrcTravw0">Herit</a>, <span class="comment">// The model herit the visibilty from his father</span>
+00064
+00065 <a class="code" href="a02639.html#NL3D_1_1CHrcTravw3NL3D_1_1CHrcTravw4">VisibilityCount</a>
+00066 };
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CHrcTrava0" doxytag="NL3D::CHrcTrav::CHrcTrav" ></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::CHrcTrav::CHrcTrav </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05797.html#l00071">71</a> of file <a class="el" href="a05797.html">hrc_trav.h</a>.
+<p>
+<div class="fragment"><pre>00072 {
+00073 <span class="comment">// NB: Now, models update is done before ALL traversals.</span>
+00074 <span class="comment">// Hence, we must inc the value before scene rendering. This is equivalent to start with 1, and inc at end of traverse().</span>
+00075 <a class="code" href="a02639.html#NL3D_1_1CHrcTravo1">CurrentDate</a>= 1;
+00076 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CHrcTravz205_0" doxytag="NL3D::CHrcTrav::traverse" ></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::CHrcTrav::traverse </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05796.html#l00041">41</a> of file <a class="el" href="a05796.html">hrc_trav.cpp</a>.
+<p>
+References <a class="el" href="a05797.html#l00088">_MovingObjects</a>, <a class="el" href="a06349.html#l00482">NL3D::CScene::getRoot()</a>, <a class="el" href="a05788.html#l00056">H_AUTO</a>, and <a class="el" href="a06568.html#l00786">NL3D::CTransform::traverseHrc()</a>.
+<p>
+Referenced by <a class="el" href="a06348.html#l00300">NL3D::CScene::render()</a>.
+<p>
+<div class="fragment"><pre>00042 {
+00043 <a class="code" href="a04365.html#a4">H_AUTO</a>( NL3D_TravHRC );
+00044
+00045 <a class="code" href="a02639.html#NL3D_1_1CHrcTravo0">_MovingObjects</a>.clear();
+00046
+00047 <span class="comment">// Traverse the graph.</span>
+00048 <span class="keywordflow">if</span>(<a class="code" href="a02214.html#NL3D_1_1CTraversalo0">Scene</a>-&gt;getRoot())
+00049 <a class="code" href="a02214.html#NL3D_1_1CTraversalo0">Scene</a>-&gt;getRoot()-&gt;traverseHrc();
+00050
+00051 <span class="comment">// Inc the date.</span>
+00052 <span class="comment">// NB: Now, models update is done before ALL traversals.</span>
+00053 <span class="comment">// Hence, we must inc the value before scene rendering. This is equivalent to start with 1, and inc at end of traverse().</span>
+00054 <a class="code" href="a02639.html#NL3D_1_1CHrcTravo1">CurrentDate</a>++;
+00055 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CHrcTravo0" doxytag="NL3D::CHrcTrav::_MovingObjects" ></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&lt;<a class="el" href="a02537.html">CTransformShape</a>*&gt; <a class="el" href="a02639.html#NL3D_1_1CHrcTravo0">NL3D::CHrcTrav::_MovingObjects</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05797.html#l00088">88</a> of file <a class="el" href="a05797.html">hrc_trav.h</a>.
+<p>
+Referenced by <a class="el" href="a05796.html#l00041">traverse()</a>, <a class="el" href="a05555.html#l00120">NL3D::CClipTrav::traverse()</a>, and <a class="el" href="a06568.html#l00663">NL3D::CTransform::updateWorld()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CHrcTravo1" doxytag="NL3D::CHrcTrav::CurrentDate" ></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#a12">sint64</a> <a class="el" href="a02639.html#NL3D_1_1CHrcTravo1">NL3D::CHrcTrav::CurrentDate</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05797.html#l00092">92</a> of file <a class="el" href="a05797.html">hrc_trav.h</a>.
+<p>
+Referenced by <a class="el" href="a06016.html#l00496">NL3D::CMeshMultiLod::renderCoarseMesh()</a>, <a class="el" href="a06737.html#l00437">NL3D::CWaterModel::traverseRender()</a>, <a class="el" href="a06568.html#l00450">NL3D::CTransform::update()</a>, and <a class="el" href="a06568.html#l00663">NL3D::CTransform::updateWorld()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTraversalo0" doxytag="NL3D::CHrcTrav::Scene" ></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="a03348.html">CScene</a>* <a class="el" href="a02214.html#NL3D_1_1CTraversalo0">NL3D::CTraversal::Scene</a><code> [inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06583.html#l00055">55</a> of file <a class="el" href="a06583.html">trav_scene.h</a>.
+<p>
+Referenced by <a class="el" href="a06348.html#l00134">NL3D::CScene::CScene()</a>, <a class="el" href="a06011.html#l01288">NL3D::CMeshMRMSkinnedGeom::profileSceneRender()</a>, <a class="el" href="a06005.html#l02600">NL3D::CMeshMRMGeom::profileSceneRender()</a>, and <a class="el" href="a05989.html#l01932">NL3D::CMeshGeom::profileSceneRender()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a05797.html">hrc_trav.h</a><li><a class="el" href="a05796.html">hrc_trav.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:47:11 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>