source: Documentation/D5.3 Stand-alone computation package for illumination algorithms/appendix/IlluminationModule/html/class_ogre_shared_runs.html @ 2910

Revision 2910, 52.3 KB checked in by hbeneit, 16 years ago (diff)
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>GameTools Illumination Module: OgreSharedRuns Class Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.4.6-NO -->
8<div class="tabs">
9  <ul>
10    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
12    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
13  </ul></div>
14<div class="tabs">
15  <ul>
16    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
17    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
18    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
19  </ul></div>
20<h1>OgreSharedRuns Class Reference</h1><!-- doxytag: class="OgreSharedRuns" --><!-- doxytag: inherits="SharedRuns" -->Class of <a class="el" href="class_shared_runs.html">SharedRuns</a> used in an OGRE environment. 
21<a href="#_details">More...</a>
22<p>
23<p>Inheritance diagram for OgreSharedRuns:
24<p><center><img src="class_ogre_shared_runs.png" usemap="#OgreSharedRuns_map" border="0" alt=""></center>
25<map name="OgreSharedRuns_map">
26<area href="class_shared_runs.html" alt="SharedRuns" shape="rect" coords="0,0,110,24">
27</map>
28<a href="class_ogre_shared_runs-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
29<tr><td></td></tr>
30<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
31<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4f84cf9fb13877accb0c7bff3647d0c5"></a><!-- doxytag: member="OgreSharedRuns::OgreSharedRuns" ref="4f84cf9fb13877accb0c7bff3647d0c5" args="()" -->
32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#4f84cf9fb13877accb0c7bff3647d0c5">OgreSharedRuns</a> ()</td></tr>
33
34<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <br></td></tr>
35<tr><td class="memItemLeft" nowrap align="right" valign="top">std::map&lt; RenderingRunType,<br>
36 <a class="el" href="class_rendering_run.html">RenderingRun</a> * &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#65e5bb8eaf3a1dddc4866bef671d30d8">getSharedRuns</a> ()</td></tr>
37
38<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the contaied RenderingRuns with their type information.  <a href="#65e5bb8eaf3a1dddc4866bef671d30d8"></a><br></td></tr>
39<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#57fbd5ea9da26c3b3f417e1b73b679f5">setBoundingSphere</a> (Sphere &amp;sphere)</td></tr>
40
41<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the bounding sphere of the node.  <a href="#57fbd5ea9da26c3b3f417e1b73b679f5"></a><br></td></tr>
42<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#094fa67230d4832eabeab73c3572b138">setBoundingBox</a> (AxisAlignedBox &amp;box)</td></tr>
43
44<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the axis-aligned bounding box of the node.  <a href="#094fa67230d4832eabeab73c3572b138"></a><br></td></tr>
45<tr><td class="memItemLeft" nowrap align="right" valign="top">Sphere &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#e601b1d049b963212f84ae734f594194">getBoundingSphere</a> ()</td></tr>
46
47<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the bounding sphere of the node.  <a href="#e601b1d049b963212f84ae734f594194"></a><br></td></tr>
48<tr><td class="memItemLeft" nowrap align="right" valign="top">AxisAlignedBox &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#e614e9ce55e52e5cc1a2e40d5645cc53">getBoundingBox</a> ()</td></tr>
49
50<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the axis-aligned bounding box of the node.  <a href="#e614e9ce55e52e5cc1a2e40d5645cc53"></a><br></td></tr>
51<tr><td class="memItemLeft" nowrap align="right" valign="top">Sphere &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#8438d5813a4e69635876176d2931cb6d">getRootBoundingSphere</a> ()</td></tr>
52
53<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the bounding sphere of the root parent node.  <a href="#8438d5813a4e69635876176d2931cb6d"></a><br></td></tr>
54<tr><td class="memItemLeft" nowrap align="right" valign="top">Sphere &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#cfe7c456a162efa6c898d54d275167ec">getRootBoundingSphere</a> (RenderingRunType runType)</td></tr>
55
56<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the bounding sphere of the topmost parent node of this <a class="el" href="class_shared_runs.html">SharedRuns</a> node, which have a specified <a class="el" href="class_rendering_run.html">RenderingRun</a> type.  <a href="#cfe7c456a162efa6c898d54d275167ec"></a><br></td></tr>
57<tr><td class="memItemLeft" nowrap align="right" valign="top">AxisAlignedBox &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#4cc5ffd20bf1758d345f6bdfb4e586dc">getRootBoundingBox</a> ()</td></tr>
58
59<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the axis-aligned bounding box of the root parent node.  <a href="#4cc5ffd20bf1758d345f6bdfb4e586dc"></a><br></td></tr>
60<tr><td class="memItemLeft" nowrap align="right" valign="top">AxisAlignedBox &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#9a1a2f22f00c8b884c202c09b490a019">getRootBoundingBox</a> (RenderingRunType runType)</td></tr>
61
62<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the axis-aligned bounding box of the topmost parent node of this <a class="el" href="class_shared_runs.html">SharedRuns</a> node, which have a specified <a class="el" href="class_rendering_run.html">RenderingRun</a> type.  <a href="#9a1a2f22f00c8b884c202c09b490a019"></a><br></td></tr>
63<tr><td class="memItemLeft" nowrap align="right" valign="top">const Vector3 &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#86a8c23e737d625cd525a4eb5d375532">getRootPosition</a> ()</td></tr>
64
65<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the world space center position of the root parent node.  <a href="#86a8c23e737d625cd525a4eb5d375532"></a><br></td></tr>
66<tr><td class="memItemLeft" nowrap align="right" valign="top">const Vector3 &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#e2bfb08e71db36c2de5bd79c36dce381">getRootPosition</a> (RenderingRunType runType)</td></tr>
67
68<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the world space center position of the topmost parent node of this <a class="el" href="class_shared_runs.html">SharedRuns</a> node, which have a specified <a class="el" href="class_rendering_run.html">RenderingRun</a> type.  <a href="#e2bfb08e71db36c2de5bd79c36dce381"></a><br></td></tr>
69<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#0a1b6d8cc2e6b91156ef6f38b7c98fd6">hasOwnRun</a> (RenderingRunType runType)</td></tr>
70
71<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks if this node has a resource with the given type.  <a href="#0a1b6d8cc2e6b91156ef6f38b7c98fd6"></a><br></td></tr>
72<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#83f9e9a348e48300508aa290d44d8fb8">addRenderablesToQueue</a> (RenderQueue *rq)</td></tr>
73
74<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds all the Renderables connected to this node to a given RenderQueue.  <a href="#83f9e9a348e48300508aa290d44d8fb8"></a><br></td></tr>
75<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#05eb9a10d35d89b6b97417320b110a01">notifyCamera</a> (Camera *cam)</td></tr>
76
77<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calls <a class="el" href="class_ogre_shared_runs.html#05eb9a10d35d89b6b97417320b110a01">notifyCamera()</a> to all the Renderables connected to this node.  <a href="#05eb9a10d35d89b6b97417320b110a01"></a><br></td></tr>
78<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#34d059902f95c376008d023cecfda88a">findSharedRootsForType</a> (RenderingRunType runType, std::vector&lt; <a class="el" href="class_ogre_shared_runs.html">OgreSharedRuns</a> * &gt; &amp;roots)</td></tr>
79
80<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Finds all the topmost nodes which have resources of the given type.  <a href="#34d059902f95c376008d023cecfda88a"></a><br></td></tr>
81<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_rendering_run.html">RenderingRun</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#68a61fd8f216371473bee1f42395726d">getRun</a> (RenderingRunType runType)</td></tr>
82
83<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#d900b429b7740538275fb6050fa96499">addRun</a> (RenderingRunType runType, <a class="el" href="class_rendering_run.html">RenderingRun</a> *run)</td></tr>
84
85<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#9ee431ad0185227b8e57edaed19a64d5">updateRun</a> (RenderingRunType runType, unsigned long frameNum)</td></tr>
86
87<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="50993d64f9a994f349f068a645b63f23"></a><!-- doxytag: member="OgreSharedRuns::updateBounds" ref="50993d64f9a994f349f068a645b63f23" args="()" -->
88void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#50993d64f9a994f349f068a645b63f23">updateBounds</a> ()</td></tr>
89
90<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Updates the boundary of this <a class="el" href="class_shared_runs.html">SharedRuns</a> (and also it's parent). <br></td></tr>
91<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#e42e448a19c51f1f84a0986fc09b65bd">validate</a> ()</td></tr>
92
93<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Validate this <a class="el" href="class_shared_runs.html">SharedRuns</a> (and also all childs).  <a href="#e42e448a19c51f1f84a0986fc09b65bd"></a><br></td></tr>
94<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="300ea5b6a5a0d5c20358f763bb42e62c"></a><!-- doxytag: member="OgreSharedRuns::destroy" ref="300ea5b6a5a0d5c20358f763bb42e62c" args="()" -->
95void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#300ea5b6a5a0d5c20358f763bb42e62c">destroy</a> ()</td></tr>
96
97<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destroys the node (and all parents recursively). <br></td></tr>
98<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
99<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#9864b68dc89c619296d5b3f1599c4996">canJoin</a> (<a class="el" href="class_shared_runs.html">SharedRuns</a> *r1, <a class="el" href="class_shared_runs.html">SharedRuns</a> *r2)</td></tr>
100
101<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks if two <a class="el" href="class_shared_runs.html">SharedRuns</a> node can be joined.  <a href="#9864b68dc89c619296d5b3f1599c4996"></a><br></td></tr>
102<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#a10115db9a3882763c73dd8109a64d85">haveCommonRuns</a> (<a class="el" href="class_shared_runs.html">SharedRuns</a> *r1, <a class="el" href="class_shared_runs.html">SharedRuns</a> *r2)</td></tr>
103
104<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks if two <a class="el" href="class_shared_runs.html">SharedRuns</a> have common resources so that they can be joined.  <a href="#a10115db9a3882763c73dd8109a64d85"></a><br></td></tr>
105<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
106<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="59a345d28ba907eef620d8c31a4b394f"></a><!-- doxytag: member="OgreSharedRuns::gatherRuns" ref="59a345d28ba907eef620d8c31a4b394f" args="()" -->
107void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#59a345d28ba907eef620d8c31a4b394f">gatherRuns</a> ()</td></tr>
108
109<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Collects RenderingRuns references from the child nodes, used when joining. <br></td></tr>
110<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b118de6e8c89ccdd4c8a9cc7e8d22b81"></a><!-- doxytag: member="OgreSharedRuns::fireRunChanges" ref="b118de6e8c89ccdd4c8a9cc7e8d22b81" args="()" -->
111void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#b118de6e8c89ccdd4c8a9cc7e8d22b81">fireRunChanges</a> ()</td></tr>
112
113<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends runChanged events for each <a class="el" href="class_rendering_run.html">RenderingRun</a> type, used after join and split. <br></td></tr>
114<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_shared_runs.html">SharedRuns</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#26fff5e4da17dcd68bd0d8617d8e6c26">createInstance</a> ()</td></tr>
115
116<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new <a class="el" href="class_shared_runs.html">SharedRuns</a> instance. All derivatives should implement this.  <a href="#26fff5e4da17dcd68bd0d8617d8e6c26"></a><br></td></tr>
117<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fda7057e1cdca560374b2a882bfbe207"></a><!-- doxytag: member="OgreSharedRuns::hideRenderables" ref="fda7057e1cdca560374b2a882bfbe207" args="()" -->
118void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#fda7057e1cdca560374b2a882bfbe207">hideRenderables</a> ()</td></tr>
119
120<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Hides all the connected renderables, only used if this is a leaf. <br></td></tr>
121<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d1ab9db0964abded50c9e1aedb5b8655"></a><!-- doxytag: member="OgreSharedRuns::restoreRenderableVisibility" ref="d1ab9db0964abded50c9e1aedb5b8655" args="()" -->
122void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#d1ab9db0964abded50c9e1aedb5b8655">restoreRenderableVisibility</a> ()</td></tr>
123
124<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Restires visibility of all the connected renderables, only used if this is a leaf. <br></td></tr>
125<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#1edba9a8830ea0eac4983e5dcbefb1b0">setRenderablesVisible</a> (bool visible)</td></tr>
126
127<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set visibility of connected renderables, only used if this is a leaf.  <a href="#1edba9a8830ea0eac4983e5dcbefb1b0"></a><br></td></tr>
128<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
129<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="31427201224bf598ba3e16bf48b3a8ea"></a><!-- doxytag: member="OgreSharedRuns::sharedRuns" ref="31427201224bf598ba3e16bf48b3a8ea" args="" -->
130std::map&lt; RenderingRunType,<br>
131 <a class="el" href="class_rendering_run.html">RenderingRun</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#31427201224bf598ba3e16bf48b3a8ea">sharedRuns</a></td></tr>
132
133<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">map of contained RenderingRuns <br></td></tr>
134<tr><td class="memItemLeft" nowrap align="right" valign="top">std::map&lt; <a class="el" href="class_ogre_renderable.html">OgreRenderable</a> *,<br>
135 bool &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#746d65a7e94fffa7e27977b60f890f01">renderables</a></td></tr>
136
137<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">map of connected renderablis with visibility information  <a href="#746d65a7e94fffa7e27977b60f890f01"></a><br></td></tr>
138<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="581c45d8013634af516bb3422495be0c"></a><!-- doxytag: member="OgreSharedRuns::boundingSphere" ref="581c45d8013634af516bb3422495be0c" args="" -->
139Sphere&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#581c45d8013634af516bb3422495be0c">boundingSphere</a></td></tr>
140
141<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">the bounding sphere of all the objects connected to this node. <br></td></tr>
142<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aead4f026f97dac272cbe904baf64edc"></a><!-- doxytag: member="OgreSharedRuns::boundingBox" ref="aead4f026f97dac272cbe904baf64edc" args="" -->
143AxisAlignedBox&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ogre_shared_runs.html#aead4f026f97dac272cbe904baf64edc">boundingBox</a></td></tr>
144
145<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">the axis aligned bounding box of all the objects connected to this node. <br></td></tr>
146</table>
147<hr><a name="_details"></a><h2>Detailed Description</h2>
148Class of <a class="el" href="class_shared_runs.html">SharedRuns</a> used in an OGRE environment.
149<p>
150<hr><h2>Member Function Documentation</h2>
151<a class="anchor" name="83f9e9a348e48300508aa290d44d8fb8"></a><!-- doxytag: member="OgreSharedRuns::addRenderablesToQueue" ref="83f9e9a348e48300508aa290d44d8fb8" args="(RenderQueue *rq)" --><p>
152<table class="mdTable" cellpadding="2" cellspacing="0">
153  <tr>
154    <td class="mdRow">
155      <table cellpadding="0" cellspacing="0" border="0">
156        <tr>
157          <td class="md" nowrap valign="top">void OgreSharedRuns::addRenderablesToQueue           </td>
158          <td class="md" valign="top">(&nbsp;</td>
159          <td class="md" nowrap valign="top">RenderQueue *&nbsp;</td>
160          <td class="mdname1" valign="top" nowrap> <em>rq</em>          </td>
161          <td class="md" valign="top">&nbsp;)&nbsp;</td>
162          <td class="md" nowrap></td>
163        </tr>
164      </table>
165    </td>
166  </tr>
167</table>
168<table cellspacing="5" cellpadding="0" border="0">
169  <tr>
170    <td>
171      &nbsp;
172    </td>
173    <td>
174
175<p>
176Adds all the Renderables connected to this node to a given RenderQueue.
177<p>
178The function is called recoursively for all child nodes.<p>
179<dl compact><dt><b>Parameters:</b></dt><dd>
180  <table border="0" cellspacing="2" cellpadding="0">
181    <tr><td valign="top"></td><td valign="top"><em>pointer</em>&nbsp;</td><td>to the RenderQueue to add the Renderables to </td></tr>
182  </table>
183</dl>
184    </td>
185  </tr>
186</table>
187<a class="anchor" name="d900b429b7740538275fb6050fa96499"></a><!-- doxytag: member="OgreSharedRuns::addRun" ref="d900b429b7740538275fb6050fa96499" args="(RenderingRunType runType, RenderingRun *run)" --><p>
188<table class="mdTable" cellpadding="2" cellspacing="0">
189  <tr>
190    <td class="mdRow">
191      <table cellpadding="0" cellspacing="0" border="0">
192        <tr>
193          <td class="md" nowrap valign="top">void OgreSharedRuns::addRun           </td>
194          <td class="md" valign="top">(&nbsp;</td>
195          <td class="md" nowrap valign="top">RenderingRunType&nbsp;</td>
196          <td class="mdname" nowrap> <em>runType</em>, </td>
197        </tr>
198        <tr>
199          <td class="md" nowrap align="right"></td>
200          <td class="md"></td>
201          <td class="md" nowrap><a class="el" href="class_rendering_run.html">RenderingRun</a> *&nbsp;</td>
202          <td class="mdname" nowrap> <em>run</em></td>
203        </tr>
204        <tr>
205          <td class="md"></td>
206          <td class="md">)&nbsp;</td>
207          <td class="md" colspan="2"><code> [virtual]</code></td>
208        </tr>
209      </table>
210    </td>
211  </tr>
212</table>
213<table cellspacing="5" cellpadding="0" border="0">
214  <tr>
215    <td>
216      &nbsp;
217    </td>
218    <td>
219
220<p>
221&amp;brief Adds a <a class="el" href="class_rendering_run.html">RenderingRun</a> instance to the shared resources.<p>
222<dl compact><dt><b>Parameters:</b></dt><dd>
223  <table border="0" cellspacing="2" cellpadding="0">
224    <tr><td valign="top"></td><td valign="top"><em>runType</em>&nbsp;</td><td>enum, type of the <a class="el" href="class_rendering_run.html">RenderingRun</a> to add </td></tr>
225    <tr><td valign="top"></td><td valign="top"><em>run</em>&nbsp;</td><td>pointer to the <a class="el" href="class_rendering_run.html">RenderingRun</a> instance to add </td></tr>
226  </table>
227</dl>
228
229<p>
230Implements <a class="el" href="class_shared_runs.html#76dbf48971faecd0488a1a2aff5be481">SharedRuns</a>.    </td>
231  </tr>
232</table>
233<a class="anchor" name="9864b68dc89c619296d5b3f1599c4996"></a><!-- doxytag: member="OgreSharedRuns::canJoin" ref="9864b68dc89c619296d5b3f1599c4996" args="(SharedRuns *r1, SharedRuns *r2)" --><p>
234<table class="mdTable" cellpadding="2" cellspacing="0">
235  <tr>
236    <td class="mdRow">
237      <table cellpadding="0" cellspacing="0" border="0">
238        <tr>
239          <td class="md" nowrap valign="top">bool OgreSharedRuns::canJoin           </td>
240          <td class="md" valign="top">(&nbsp;</td>
241          <td class="md" nowrap valign="top"><a class="el" href="class_shared_runs.html">SharedRuns</a> *&nbsp;</td>
242          <td class="mdname" nowrap> <em>r1</em>, </td>
243        </tr>
244        <tr>
245          <td class="md" nowrap align="right"></td>
246          <td class="md"></td>
247          <td class="md" nowrap><a class="el" href="class_shared_runs.html">SharedRuns</a> *&nbsp;</td>
248          <td class="mdname" nowrap> <em>r2</em></td>
249        </tr>
250        <tr>
251          <td class="md"></td>
252          <td class="md">)&nbsp;</td>
253          <td class="md" colspan="2"><code> [static]</code></td>
254        </tr>
255      </table>
256    </td>
257  </tr>
258</table>
259<table cellspacing="5" cellpadding="0" border="0">
260  <tr>
261    <td>
262      &nbsp;
263    </td>
264    <td>
265
266<p>
267Checks if two <a class="el" href="class_shared_runs.html">SharedRuns</a> node can be joined.
268<p>
269<dl compact><dt><b>Parameters:</b></dt><dd>
270  <table border="0" cellspacing="2" cellpadding="0">
271    <tr><td valign="top"></td><td valign="top"><em>r1</em>&nbsp;</td><td>pointer to one of the <a class="el" href="class_shared_runs.html">SharedRuns</a> instance </td></tr>
272    <tr><td valign="top"></td><td valign="top"><em>r2</em>&nbsp;</td><td>pointer to the other <a class="el" href="class_shared_runs.html">SharedRuns</a> instance </td></tr>
273  </table>
274</dl>
275    </td>
276  </tr>
277</table>
278<a class="anchor" name="26fff5e4da17dcd68bd0d8617d8e6c26"></a><!-- doxytag: member="OgreSharedRuns::createInstance" ref="26fff5e4da17dcd68bd0d8617d8e6c26" args="()" --><p>
279<table class="mdTable" cellpadding="2" cellspacing="0">
280  <tr>
281    <td class="mdRow">
282      <table cellpadding="0" cellspacing="0" border="0">
283        <tr>
284          <td class="md" nowrap valign="top"><a class="el" href="class_shared_runs.html">SharedRuns</a> * OgreSharedRuns::createInstance           </td>
285          <td class="md" valign="top">(&nbsp;</td>
286          <td class="mdname1" valign="top" nowrap>          </td>
287          <td class="md" valign="top">&nbsp;)&nbsp;</td>
288          <td class="md" nowrap><code> [protected, virtual]</code></td>
289        </tr>
290      </table>
291    </td>
292  </tr>
293</table>
294<table cellspacing="5" cellpadding="0" border="0">
295  <tr>
296    <td>
297      &nbsp;
298    </td>
299    <td>
300
301<p>
302Creates a new <a class="el" href="class_shared_runs.html">SharedRuns</a> instance. All derivatives should implement this.
303<p>
304<dl compact><dt><b>Returns:</b></dt><dd>a new <a class="el" href="class_shared_runs.html">SharedRuns</a> instance </dd></dl>
305
306<p>
307Implements <a class="el" href="class_shared_runs.html#e94e924997764638529193c248ffbca2">SharedRuns</a>.    </td>
308  </tr>
309</table>
310<a class="anchor" name="34d059902f95c376008d023cecfda88a"></a><!-- doxytag: member="OgreSharedRuns::findSharedRootsForType" ref="34d059902f95c376008d023cecfda88a" args="(RenderingRunType runType, std::vector&lt; OgreSharedRuns * &gt; &amp;roots)" --><p>
311<table class="mdTable" cellpadding="2" cellspacing="0">
312  <tr>
313    <td class="mdRow">
314      <table cellpadding="0" cellspacing="0" border="0">
315        <tr>
316          <td class="md" nowrap valign="top">void OgreSharedRuns::findSharedRootsForType           </td>
317          <td class="md" valign="top">(&nbsp;</td>
318          <td class="md" nowrap valign="top">RenderingRunType&nbsp;</td>
319          <td class="mdname" nowrap> <em>runType</em>, </td>
320        </tr>
321        <tr>
322          <td class="md" nowrap align="right"></td>
323          <td class="md"></td>
324          <td class="md" nowrap>std::vector&lt; <a class="el" href="class_ogre_shared_runs.html">OgreSharedRuns</a> * &gt; &amp;&nbsp;</td>
325          <td class="mdname" nowrap> <em>roots</em></td>
326        </tr>
327        <tr>
328          <td class="md"></td>
329          <td class="md">)&nbsp;</td>
330          <td class="md" colspan="2"></td>
331        </tr>
332      </table>
333    </td>
334  </tr>
335</table>
336<table cellspacing="5" cellpadding="0" border="0">
337  <tr>
338    <td>
339      &nbsp;
340    </td>
341    <td>
342
343<p>
344Finds all the topmost nodes which have resources of the given type.
345<p>
346This function is called for the root node, and will be called recoursively downwards in the tree for all childs. If a node with with the given resource is found, the node can be added and it's childs don't need to be checked anymore.<p>
347From a given group of objects (root node) a new set of groups will be created (they will be the members of the given vector). Each new group will be a subtree of the original tree. They will form groups that contain the maximum number of objects that can be joined by the the given resource type.<p>
348<dl compact><dt><b>Parameters:</b></dt><dd>
349  <table border="0" cellspacing="2" cellpadding="0">
350    <tr><td valign="top"></td><td valign="top"><em>runType</em>&nbsp;</td><td>the type of <a class="el" href="class_rendering_run.html">RenderingRun</a> to look for </td></tr>
351    <tr><td valign="top"></td><td valign="top"><em>roots</em>&nbsp;</td><td>reference to the collection to add the new groups to </td></tr>
352  </table>
353</dl>
354    </td>
355  </tr>
356</table>
357<a class="anchor" name="e614e9ce55e52e5cc1a2e40d5645cc53"></a><!-- doxytag: member="OgreSharedRuns::getBoundingBox" ref="e614e9ce55e52e5cc1a2e40d5645cc53" args="()" --><p>
358<table class="mdTable" cellpadding="2" cellspacing="0">
359  <tr>
360    <td class="mdRow">
361      <table cellpadding="0" cellspacing="0" border="0">
362        <tr>
363          <td class="md" nowrap valign="top">AxisAlignedBox&amp; OgreSharedRuns::getBoundingBox           </td>
364          <td class="md" valign="top">(&nbsp;</td>
365          <td class="mdname1" valign="top" nowrap>          </td>
366          <td class="md" valign="top">&nbsp;)&nbsp;</td>
367          <td class="md" nowrap><code> [inline]</code></td>
368        </tr>
369      </table>
370    </td>
371  </tr>
372</table>
373<table cellspacing="5" cellpadding="0" border="0">
374  <tr>
375    <td>
376      &nbsp;
377    </td>
378    <td>
379
380<p>
381Returns the axis-aligned bounding box of the node.
382<p>
383<dl compact><dt><b>Returns:</b></dt><dd>a reference to the bounding box </dd></dl>
384    </td>
385  </tr>
386</table>
387<a class="anchor" name="e601b1d049b963212f84ae734f594194"></a><!-- doxytag: member="OgreSharedRuns::getBoundingSphere" ref="e601b1d049b963212f84ae734f594194" args="()" --><p>
388<table class="mdTable" cellpadding="2" cellspacing="0">
389  <tr>
390    <td class="mdRow">
391      <table cellpadding="0" cellspacing="0" border="0">
392        <tr>
393          <td class="md" nowrap valign="top">Sphere&amp; OgreSharedRuns::getBoundingSphere           </td>
394          <td class="md" valign="top">(&nbsp;</td>
395          <td class="mdname1" valign="top" nowrap>          </td>
396          <td class="md" valign="top">&nbsp;)&nbsp;</td>
397          <td class="md" nowrap><code> [inline]</code></td>
398        </tr>
399      </table>
400    </td>
401  </tr>
402</table>
403<table cellspacing="5" cellpadding="0" border="0">
404  <tr>
405    <td>
406      &nbsp;
407    </td>
408    <td>
409
410<p>
411Returns the bounding sphere of the node.
412<p>
413<dl compact><dt><b>Returns:</b></dt><dd>a reference to the bounding sphere </dd></dl>
414    </td>
415  </tr>
416</table>
417<a class="anchor" name="9a1a2f22f00c8b884c202c09b490a019"></a><!-- doxytag: member="OgreSharedRuns::getRootBoundingBox" ref="9a1a2f22f00c8b884c202c09b490a019" args="(RenderingRunType runType)" --><p>
418<table class="mdTable" cellpadding="2" cellspacing="0">
419  <tr>
420    <td class="mdRow">
421      <table cellpadding="0" cellspacing="0" border="0">
422        <tr>
423          <td class="md" nowrap valign="top">AxisAlignedBox&amp; OgreSharedRuns::getRootBoundingBox           </td>
424          <td class="md" valign="top">(&nbsp;</td>
425          <td class="md" nowrap valign="top">RenderingRunType&nbsp;</td>
426          <td class="mdname1" valign="top" nowrap> <em>runType</em>          </td>
427          <td class="md" valign="top">&nbsp;)&nbsp;</td>
428          <td class="md" nowrap><code> [inline]</code></td>
429        </tr>
430      </table>
431    </td>
432  </tr>
433</table>
434<table cellspacing="5" cellpadding="0" border="0">
435  <tr>
436    <td>
437      &nbsp;
438    </td>
439    <td>
440
441<p>
442Retrieves the axis-aligned bounding box of the topmost parent node of this <a class="el" href="class_shared_runs.html">SharedRuns</a> node, which have a specified <a class="el" href="class_rendering_run.html">RenderingRun</a> type.
443<p>
444<dl compact><dt><b>Parameters:</b></dt><dd>
445  <table border="0" cellspacing="2" cellpadding="0">
446    <tr><td valign="top"></td><td valign="top"><em>runType</em>&nbsp;</td><td>the <a class="el" href="class_rendering_run.html">RenderingRun</a> type</td></tr>
447  </table>
448</dl>
449<dl compact><dt><b>Returns:</b></dt><dd>a reference to the bounding box </dd></dl>
450    </td>
451  </tr>
452</table>
453<a class="anchor" name="4cc5ffd20bf1758d345f6bdfb4e586dc"></a><!-- doxytag: member="OgreSharedRuns::getRootBoundingBox" ref="4cc5ffd20bf1758d345f6bdfb4e586dc" args="()" --><p>
454<table class="mdTable" cellpadding="2" cellspacing="0">
455  <tr>
456    <td class="mdRow">
457      <table cellpadding="0" cellspacing="0" border="0">
458        <tr>
459          <td class="md" nowrap valign="top">AxisAlignedBox&amp; OgreSharedRuns::getRootBoundingBox           </td>
460          <td class="md" valign="top">(&nbsp;</td>
461          <td class="mdname1" valign="top" nowrap>          </td>
462          <td class="md" valign="top">&nbsp;)&nbsp;</td>
463          <td class="md" nowrap><code> [inline]</code></td>
464        </tr>
465      </table>
466    </td>
467  </tr>
468</table>
469<table cellspacing="5" cellpadding="0" border="0">
470  <tr>
471    <td>
472      &nbsp;
473    </td>
474    <td>
475
476<p>
477Returns the axis-aligned bounding box of the root parent node.
478<p>
479<dl compact><dt><b>Returns:</b></dt><dd>a reference to the bounding box </dd></dl>
480    </td>
481  </tr>
482</table>
483<a class="anchor" name="cfe7c456a162efa6c898d54d275167ec"></a><!-- doxytag: member="OgreSharedRuns::getRootBoundingSphere" ref="cfe7c456a162efa6c898d54d275167ec" args="(RenderingRunType runType)" --><p>
484<table class="mdTable" cellpadding="2" cellspacing="0">
485  <tr>
486    <td class="mdRow">
487      <table cellpadding="0" cellspacing="0" border="0">
488        <tr>
489          <td class="md" nowrap valign="top">Sphere&amp; OgreSharedRuns::getRootBoundingSphere           </td>
490          <td class="md" valign="top">(&nbsp;</td>
491          <td class="md" nowrap valign="top">RenderingRunType&nbsp;</td>
492          <td class="mdname1" valign="top" nowrap> <em>runType</em>          </td>
493          <td class="md" valign="top">&nbsp;)&nbsp;</td>
494          <td class="md" nowrap><code> [inline]</code></td>
495        </tr>
496      </table>
497    </td>
498  </tr>
499</table>
500<table cellspacing="5" cellpadding="0" border="0">
501  <tr>
502    <td>
503      &nbsp;
504    </td>
505    <td>
506
507<p>
508Retrieves the bounding sphere of the topmost parent node of this <a class="el" href="class_shared_runs.html">SharedRuns</a> node, which have a specified <a class="el" href="class_rendering_run.html">RenderingRun</a> type.
509<p>
510<dl compact><dt><b>Parameters:</b></dt><dd>
511  <table border="0" cellspacing="2" cellpadding="0">
512    <tr><td valign="top"></td><td valign="top"><em>runType</em>&nbsp;</td><td>the <a class="el" href="class_rendering_run.html">RenderingRun</a> type</td></tr>
513  </table>
514</dl>
515<dl compact><dt><b>Returns:</b></dt><dd>a reference to the bounding sphere </dd></dl>
516    </td>
517  </tr>
518</table>
519<a class="anchor" name="8438d5813a4e69635876176d2931cb6d"></a><!-- doxytag: member="OgreSharedRuns::getRootBoundingSphere" ref="8438d5813a4e69635876176d2931cb6d" args="()" --><p>
520<table class="mdTable" cellpadding="2" cellspacing="0">
521  <tr>
522    <td class="mdRow">
523      <table cellpadding="0" cellspacing="0" border="0">
524        <tr>
525          <td class="md" nowrap valign="top">Sphere&amp; OgreSharedRuns::getRootBoundingSphere           </td>
526          <td class="md" valign="top">(&nbsp;</td>
527          <td class="mdname1" valign="top" nowrap>          </td>
528          <td class="md" valign="top">&nbsp;)&nbsp;</td>
529          <td class="md" nowrap><code> [inline]</code></td>
530        </tr>
531      </table>
532    </td>
533  </tr>
534</table>
535<table cellspacing="5" cellpadding="0" border="0">
536  <tr>
537    <td>
538      &nbsp;
539    </td>
540    <td>
541
542<p>
543Returns the bounding sphere of the root parent node.
544<p>
545<dl compact><dt><b>Returns:</b></dt><dd>a reference to the bounding sphere </dd></dl>
546    </td>
547  </tr>
548</table>
549<a class="anchor" name="e2bfb08e71db36c2de5bd79c36dce381"></a><!-- doxytag: member="OgreSharedRuns::getRootPosition" ref="e2bfb08e71db36c2de5bd79c36dce381" args="(RenderingRunType runType)" --><p>
550<table class="mdTable" cellpadding="2" cellspacing="0">
551  <tr>
552    <td class="mdRow">
553      <table cellpadding="0" cellspacing="0" border="0">
554        <tr>
555          <td class="md" nowrap valign="top">const Vector3&amp; OgreSharedRuns::getRootPosition           </td>
556          <td class="md" valign="top">(&nbsp;</td>
557          <td class="md" nowrap valign="top">RenderingRunType&nbsp;</td>
558          <td class="mdname1" valign="top" nowrap> <em>runType</em>          </td>
559          <td class="md" valign="top">&nbsp;)&nbsp;</td>
560          <td class="md" nowrap><code> [inline]</code></td>
561        </tr>
562      </table>
563    </td>
564  </tr>
565</table>
566<table cellspacing="5" cellpadding="0" border="0">
567  <tr>
568    <td>
569      &nbsp;
570    </td>
571    <td>
572
573<p>
574Retrieves the world space center position of the topmost parent node of this <a class="el" href="class_shared_runs.html">SharedRuns</a> node, which have a specified <a class="el" href="class_rendering_run.html">RenderingRun</a> type.
575<p>
576<dl compact><dt><b>Parameters:</b></dt><dd>
577  <table border="0" cellspacing="2" cellpadding="0">
578    <tr><td valign="top"></td><td valign="top"><em>runType</em>&nbsp;</td><td>the <a class="el" href="class_rendering_run.html">RenderingRun</a> type</td></tr>
579  </table>
580</dl>
581<dl compact><dt><b>Returns:</b></dt><dd>a reference to the center position </dd></dl>
582    </td>
583  </tr>
584</table>
585<a class="anchor" name="86a8c23e737d625cd525a4eb5d375532"></a><!-- doxytag: member="OgreSharedRuns::getRootPosition" ref="86a8c23e737d625cd525a4eb5d375532" args="()" --><p>
586<table class="mdTable" cellpadding="2" cellspacing="0">
587  <tr>
588    <td class="mdRow">
589      <table cellpadding="0" cellspacing="0" border="0">
590        <tr>
591          <td class="md" nowrap valign="top">const Vector3&amp; OgreSharedRuns::getRootPosition           </td>
592          <td class="md" valign="top">(&nbsp;</td>
593          <td class="mdname1" valign="top" nowrap>          </td>
594          <td class="md" valign="top">&nbsp;)&nbsp;</td>
595          <td class="md" nowrap><code> [inline]</code></td>
596        </tr>
597      </table>
598    </td>
599  </tr>
600</table>
601<table cellspacing="5" cellpadding="0" border="0">
602  <tr>
603    <td>
604      &nbsp;
605    </td>
606    <td>
607
608<p>
609Returns the world space center position of the root parent node.
610<p>
611<dl compact><dt><b>Returns:</b></dt><dd>a reference to the center position </dd></dl>
612    </td>
613  </tr>
614</table>
615<a class="anchor" name="68a61fd8f216371473bee1f42395726d"></a><!-- doxytag: member="OgreSharedRuns::getRun" ref="68a61fd8f216371473bee1f42395726d" args="(RenderingRunType runType)" --><p>
616<table class="mdTable" cellpadding="2" cellspacing="0">
617  <tr>
618    <td class="mdRow">
619      <table cellpadding="0" cellspacing="0" border="0">
620        <tr>
621          <td class="md" nowrap valign="top"><a class="el" href="class_rendering_run.html">RenderingRun</a> * OgreSharedRuns::getRun           </td>
622          <td class="md" valign="top">(&nbsp;</td>
623          <td class="md" nowrap valign="top">RenderingRunType&nbsp;</td>
624          <td class="mdname1" valign="top" nowrap> <em>runType</em>          </td>
625          <td class="md" valign="top">&nbsp;)&nbsp;</td>
626          <td class="md" nowrap><code> [virtual]</code></td>
627        </tr>
628      </table>
629    </td>
630  </tr>
631</table>
632<table cellspacing="5" cellpadding="0" border="0">
633  <tr>
634    <td>
635      &nbsp;
636    </td>
637    <td>
638
639<p>
640&amp;brief Retrieves a shared resource.<p>
641<dl compact><dt><b>Parameters:</b></dt><dd>
642  <table border="0" cellspacing="2" cellpadding="0">
643    <tr><td valign="top"></td><td valign="top"><em>runType</em>&nbsp;</td><td>enum, type of the <a class="el" href="class_rendering_run.html">RenderingRun</a> to be retrieved </td></tr>
644  </table>
645</dl>
646<dl compact><dt><b>Returns:</b></dt><dd>pointer to the <a class="el" href="class_rendering_run.html">RenderingRun</a> of type "runType", null if this type does not exists </dd></dl>
647
648<p>
649Implements <a class="el" href="class_shared_runs.html#28fc75828c2113261ddf536db8357122">SharedRuns</a>.    </td>
650  </tr>
651</table>
652<a class="anchor" name="65e5bb8eaf3a1dddc4866bef671d30d8"></a><!-- doxytag: member="OgreSharedRuns::getSharedRuns" ref="65e5bb8eaf3a1dddc4866bef671d30d8" args="()" --><p>
653<table class="mdTable" cellpadding="2" cellspacing="0">
654  <tr>
655    <td class="mdRow">
656      <table cellpadding="0" cellspacing="0" border="0">
657        <tr>
658          <td class="md" nowrap valign="top">std::map&lt;RenderingRunType, <a class="el" href="class_rendering_run.html">RenderingRun</a>*&gt;&amp; OgreSharedRuns::getSharedRuns           </td>
659          <td class="md" valign="top">(&nbsp;</td>
660          <td class="mdname1" valign="top" nowrap>          </td>
661          <td class="md" valign="top">&nbsp;)&nbsp;</td>
662          <td class="md" nowrap><code> [inline]</code></td>
663        </tr>
664      </table>
665    </td>
666  </tr>
667</table>
668<table cellspacing="5" cellpadding="0" border="0">
669  <tr>
670    <td>
671      &nbsp;
672    </td>
673    <td>
674
675<p>
676Retrieves the contaied RenderingRuns with their type information.
677<p>
678<dl compact><dt><b>Returns:</b></dt><dd>map of renderables </dd></dl>
679    </td>
680  </tr>
681</table>
682<a class="anchor" name="0a1b6d8cc2e6b91156ef6f38b7c98fd6"></a><!-- doxytag: member="OgreSharedRuns::hasOwnRun" ref="0a1b6d8cc2e6b91156ef6f38b7c98fd6" args="(RenderingRunType runType)" --><p>
683<table class="mdTable" cellpadding="2" cellspacing="0">
684  <tr>
685    <td class="mdRow">
686      <table cellpadding="0" cellspacing="0" border="0">
687        <tr>
688          <td class="md" nowrap valign="top">bool OgreSharedRuns::hasOwnRun           </td>
689          <td class="md" valign="top">(&nbsp;</td>
690          <td class="md" nowrap valign="top">RenderingRunType&nbsp;</td>
691          <td class="mdname1" valign="top" nowrap> <em>runType</em>          </td>
692          <td class="md" valign="top">&nbsp;)&nbsp;</td>
693          <td class="md" nowrap><code> [virtual]</code></td>
694        </tr>
695      </table>
696    </td>
697  </tr>
698</table>
699<table cellspacing="5" cellpadding="0" border="0">
700  <tr>
701    <td>
702      &nbsp;
703    </td>
704    <td>
705
706<p>
707Checks if this node has a resource with the given type.
708<p>
709Only this node none of the child nodes are checked.<p>
710<dl compact><dt><b>Parameters:</b></dt><dd>
711  <table border="0" cellspacing="2" cellpadding="0">
712    <tr><td valign="top"></td><td valign="top"><em>the</em>&nbsp;</td><td>type of the <a class="el" href="class_rendering_run.html">RenderingRun</a> to look for </td></tr>
713  </table>
714</dl>
715
716<p>
717Implements <a class="el" href="class_shared_runs.html">SharedRuns</a>.    </td>
718  </tr>
719</table>
720<a class="anchor" name="a10115db9a3882763c73dd8109a64d85"></a><!-- doxytag: member="OgreSharedRuns::haveCommonRuns" ref="a10115db9a3882763c73dd8109a64d85" args="(SharedRuns *r1, SharedRuns *r2)" --><p>
721<table class="mdTable" cellpadding="2" cellspacing="0">
722  <tr>
723    <td class="mdRow">
724      <table cellpadding="0" cellspacing="0" border="0">
725        <tr>
726          <td class="md" nowrap valign="top">bool OgreSharedRuns::haveCommonRuns           </td>
727          <td class="md" valign="top">(&nbsp;</td>
728          <td class="md" nowrap valign="top"><a class="el" href="class_shared_runs.html">SharedRuns</a> *&nbsp;</td>
729          <td class="mdname" nowrap> <em>r1</em>, </td>
730        </tr>
731        <tr>
732          <td class="md" nowrap align="right"></td>
733          <td class="md"></td>
734          <td class="md" nowrap><a class="el" href="class_shared_runs.html">SharedRuns</a> *&nbsp;</td>
735          <td class="mdname" nowrap> <em>r2</em></td>
736        </tr>
737        <tr>
738          <td class="md"></td>
739          <td class="md">)&nbsp;</td>
740          <td class="md" colspan="2"><code> [static]</code></td>
741        </tr>
742      </table>
743    </td>
744  </tr>
745</table>
746<table cellspacing="5" cellpadding="0" border="0">
747  <tr>
748    <td>
749      &nbsp;
750    </td>
751    <td>
752
753<p>
754Checks if two <a class="el" href="class_shared_runs.html">SharedRuns</a> have common resources so that they can be joined.
755<p>
756<dl compact><dt><b>Parameters:</b></dt><dd>
757  <table border="0" cellspacing="2" cellpadding="0">
758    <tr><td valign="top"></td><td valign="top"><em>r1</em>&nbsp;</td><td>pointer to one of the <a class="el" href="class_shared_runs.html">SharedRuns</a> instance </td></tr>
759    <tr><td valign="top"></td><td valign="top"><em>r2</em>&nbsp;</td><td>pointer to the other <a class="el" href="class_shared_runs.html">SharedRuns</a> instance </td></tr>
760  </table>
761</dl>
762    </td>
763  </tr>
764</table>
765<a class="anchor" name="05eb9a10d35d89b6b97417320b110a01"></a><!-- doxytag: member="OgreSharedRuns::notifyCamera" ref="05eb9a10d35d89b6b97417320b110a01" args="(Camera *cam)" --><p>
766<table class="mdTable" cellpadding="2" cellspacing="0">
767  <tr>
768    <td class="mdRow">
769      <table cellpadding="0" cellspacing="0" border="0">
770        <tr>
771          <td class="md" nowrap valign="top">void OgreSharedRuns::notifyCamera           </td>
772          <td class="md" valign="top">(&nbsp;</td>
773          <td class="md" nowrap valign="top">Camera *&nbsp;</td>
774          <td class="mdname1" valign="top" nowrap> <em>cam</em>          </td>
775          <td class="md" valign="top">&nbsp;)&nbsp;</td>
776          <td class="md" nowrap></td>
777        </tr>
778      </table>
779    </td>
780  </tr>
781</table>
782<table cellspacing="5" cellpadding="0" border="0">
783  <tr>
784    <td>
785      &nbsp;
786    </td>
787    <td>
788
789<p>
790Calls <a class="el" href="class_ogre_shared_runs.html#05eb9a10d35d89b6b97417320b110a01">notifyCamera()</a> to all the Renderables connected to this node.
791<p>
792The function is called recoursively for all child nodes.<p>
793<dl compact><dt><b>Parameters:</b></dt><dd>
794  <table border="0" cellspacing="2" cellpadding="0">
795    <tr><td valign="top"></td><td valign="top"><em>pointer</em>&nbsp;</td><td>to the Camera instance to call <a class="el" href="class_ogre_shared_runs.html#05eb9a10d35d89b6b97417320b110a01">notifyCamera()</a> with </td></tr>
796  </table>
797</dl>
798    </td>
799  </tr>
800</table>
801<a class="anchor" name="094fa67230d4832eabeab73c3572b138"></a><!-- doxytag: member="OgreSharedRuns::setBoundingBox" ref="094fa67230d4832eabeab73c3572b138" args="(AxisAlignedBox &amp;box)" --><p>
802<table class="mdTable" cellpadding="2" cellspacing="0">
803  <tr>
804    <td class="mdRow">
805      <table cellpadding="0" cellspacing="0" border="0">
806        <tr>
807          <td class="md" nowrap valign="top">void OgreSharedRuns::setBoundingBox           </td>
808          <td class="md" valign="top">(&nbsp;</td>
809          <td class="md" nowrap valign="top">AxisAlignedBox &amp;&nbsp;</td>
810          <td class="mdname1" valign="top" nowrap> <em>box</em>          </td>
811          <td class="md" valign="top">&nbsp;)&nbsp;</td>
812          <td class="md" nowrap><code> [inline]</code></td>
813        </tr>
814      </table>
815    </td>
816  </tr>
817</table>
818<table cellspacing="5" cellpadding="0" border="0">
819  <tr>
820    <td>
821      &nbsp;
822    </td>
823    <td>
824
825<p>
826Sets the axis-aligned bounding box of the node.
827<p>
828<dl compact><dt><b>Parameters:</b></dt><dd>
829  <table border="0" cellspacing="2" cellpadding="0">
830    <tr><td valign="top"></td><td valign="top"><em>box</em>&nbsp;</td><td>bounding box </td></tr>
831  </table>
832</dl>
833    </td>
834  </tr>
835</table>
836<a class="anchor" name="57fbd5ea9da26c3b3f417e1b73b679f5"></a><!-- doxytag: member="OgreSharedRuns::setBoundingSphere" ref="57fbd5ea9da26c3b3f417e1b73b679f5" args="(Sphere &amp;sphere)" --><p>
837<table class="mdTable" cellpadding="2" cellspacing="0">
838  <tr>
839    <td class="mdRow">
840      <table cellpadding="0" cellspacing="0" border="0">
841        <tr>
842          <td class="md" nowrap valign="top">void OgreSharedRuns::setBoundingSphere           </td>
843          <td class="md" valign="top">(&nbsp;</td>
844          <td class="md" nowrap valign="top">Sphere &amp;&nbsp;</td>
845          <td class="mdname1" valign="top" nowrap> <em>sphere</em>          </td>
846          <td class="md" valign="top">&nbsp;)&nbsp;</td>
847          <td class="md" nowrap><code> [inline]</code></td>
848        </tr>
849      </table>
850    </td>
851  </tr>
852</table>
853<table cellspacing="5" cellpadding="0" border="0">
854  <tr>
855    <td>
856      &nbsp;
857    </td>
858    <td>
859
860<p>
861Sets the bounding sphere of the node.
862<p>
863<dl compact><dt><b>Parameters:</b></dt><dd>
864  <table border="0" cellspacing="2" cellpadding="0">
865    <tr><td valign="top"></td><td valign="top"><em>sphere</em>&nbsp;</td><td>bounding sphere </td></tr>
866  </table>
867</dl>
868    </td>
869  </tr>
870</table>
871<a class="anchor" name="1edba9a8830ea0eac4983e5dcbefb1b0"></a><!-- doxytag: member="OgreSharedRuns::setRenderablesVisible" ref="1edba9a8830ea0eac4983e5dcbefb1b0" args="(bool visible)" --><p>
872<table class="mdTable" cellpadding="2" cellspacing="0">
873  <tr>
874    <td class="mdRow">
875      <table cellpadding="0" cellspacing="0" border="0">
876        <tr>
877          <td class="md" nowrap valign="top">void OgreSharedRuns::setRenderablesVisible           </td>
878          <td class="md" valign="top">(&nbsp;</td>
879          <td class="md" nowrap valign="top">bool&nbsp;</td>
880          <td class="mdname1" valign="top" nowrap> <em>visible</em>          </td>
881          <td class="md" valign="top">&nbsp;)&nbsp;</td>
882          <td class="md" nowrap><code> [inline, protected, virtual]</code></td>
883        </tr>
884      </table>
885    </td>
886  </tr>
887</table>
888<table cellspacing="5" cellpadding="0" border="0">
889  <tr>
890    <td>
891      &nbsp;
892    </td>
893    <td>
894
895<p>
896Set visibility of connected renderables, only used if this is a leaf.
897<p>
898<dl compact><dt><b>Parameters:</b></dt><dd>
899  <table border="0" cellspacing="2" cellpadding="0">
900    <tr><td valign="top"></td><td valign="top"><em>visible</em>&nbsp;</td><td>visibility </td></tr>
901  </table>
902</dl>
903
904<p>
905Implements <a class="el" href="class_shared_runs.html#bec46a54c661c83361966cd21b3ac4a5">SharedRuns</a>.    </td>
906  </tr>
907</table>
908<a class="anchor" name="9ee431ad0185227b8e57edaed19a64d5"></a><!-- doxytag: member="OgreSharedRuns::updateRun" ref="9ee431ad0185227b8e57edaed19a64d5" args="(RenderingRunType runType, unsigned long frameNum)" --><p>
909<table class="mdTable" cellpadding="2" cellspacing="0">
910  <tr>
911    <td class="mdRow">
912      <table cellpadding="0" cellspacing="0" border="0">
913        <tr>
914          <td class="md" nowrap valign="top">void OgreSharedRuns::updateRun           </td>
915          <td class="md" valign="top">(&nbsp;</td>
916          <td class="md" nowrap valign="top">RenderingRunType&nbsp;</td>
917          <td class="mdname" nowrap> <em>runType</em>, </td>
918        </tr>
919        <tr>
920          <td class="md" nowrap align="right"></td>
921          <td class="md"></td>
922          <td class="md" nowrap>unsigned long&nbsp;</td>
923          <td class="mdname" nowrap> <em>frameNum</em></td>
924        </tr>
925        <tr>
926          <td class="md"></td>
927          <td class="md">)&nbsp;</td>
928          <td class="md" colspan="2"><code> [virtual]</code></td>
929        </tr>
930      </table>
931    </td>
932  </tr>
933</table>
934<table cellspacing="5" cellpadding="0" border="0">
935  <tr>
936    <td>
937      &nbsp;
938    </td>
939    <td>
940
941<p>
942&amp;brief Updates a shared <a class="el" href="class_rendering_run.html">RenderingRun</a>.<p>
943<dl compact><dt><b>Parameters:</b></dt><dd>
944  <table border="0" cellspacing="2" cellpadding="0">
945    <tr><td valign="top"></td><td valign="top"><em>runType</em>&nbsp;</td><td>enum, type of the <a class="el" href="class_rendering_run.html">RenderingRun</a> to update </td></tr>
946    <tr><td valign="top"></td><td valign="top"><em>frameNum</em>&nbsp;</td><td>current framenumber </td></tr>
947  </table>
948</dl>
949
950<p>
951Implements <a class="el" href="class_shared_runs.html#2c4accae6abd91d75704cb068b873b89">SharedRuns</a>.    </td>
952  </tr>
953</table>
954<a class="anchor" name="e42e448a19c51f1f84a0986fc09b65bd"></a><!-- doxytag: member="OgreSharedRuns::validate" ref="e42e448a19c51f1f84a0986fc09b65bd" args="()" --><p>
955<table class="mdTable" cellpadding="2" cellspacing="0">
956  <tr>
957    <td class="mdRow">
958      <table cellpadding="0" cellspacing="0" border="0">
959        <tr>
960          <td class="md" nowrap valign="top">void OgreSharedRuns::validate           </td>
961          <td class="md" valign="top">(&nbsp;</td>
962          <td class="mdname1" valign="top" nowrap>          </td>
963          <td class="md" valign="top">&nbsp;)&nbsp;</td>
964          <td class="md" nowrap><code> [virtual]</code></td>
965        </tr>
966      </table>
967    </td>
968  </tr>
969</table>
970<table cellspacing="5" cellpadding="0" border="0">
971  <tr>
972    <td>
973      &nbsp;
974    </td>
975    <td>
976
977<p>
978Validate this <a class="el" href="class_shared_runs.html">SharedRuns</a> (and also all childs).
979<p>
980Validation meens that all the <a class="el" href="class_shared_runs.html">SharedRuns</a> that are joined will be examined if the sharing is still valid. If it finds out that two <a class="el" href="class_shared_runs.html">SharedRuns</a> can't be joined anymore (eg.: they moved far from each other), their parent will be split and destroyed (all parent of this node also should be deleted recursively).
981<p>
982Implements <a class="el" href="class_shared_runs.html#16eaed1f16313bf8ad03537018ee859b">SharedRuns</a>.    </td>
983  </tr>
984</table>
985<hr><h2>Member Data Documentation</h2>
986<a class="anchor" name="746d65a7e94fffa7e27977b60f890f01"></a><!-- doxytag: member="OgreSharedRuns::renderables" ref="746d65a7e94fffa7e27977b60f890f01" args="" --><p>
987<table class="mdTable" cellpadding="2" cellspacing="0">
988  <tr>
989    <td class="mdRow">
990      <table cellpadding="0" cellspacing="0" border="0">
991        <tr>
992          <td class="md" nowrap valign="top">std::map&lt;<a class="el" href="class_ogre_renderable.html">OgreRenderable</a>*, bool&gt; <a class="el" href="class_ogre_shared_runs.html#746d65a7e94fffa7e27977b60f890f01">OgreSharedRuns::renderables</a><code> [protected]</code>          </td>
993        </tr>
994      </table>
995    </td>
996  </tr>
997</table>
998<table cellspacing="5" cellpadding="0" border="0">
999  <tr>
1000    <td>
1001      &nbsp;
1002    </td>
1003    <td>
1004
1005<p>
1006map of connected renderablis with visibility information
1007<p>
1008Used to show or hide the renderables connected to a leaf <a class="el" href="class_ogre_shared_runs.html">OgreSharedRuns</a> node.     </td>
1009  </tr>
1010</table>
1011<hr>The documentation for this class was generated from the following files:<ul>
1012<li>OgreSharedRuns.h<li>OgreSharedRuns.cpp</ul>
1013<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 27 17:29:42 2006 for GameTools Illumination Module by&nbsp;
1014<a href="http://www.doxygen.org/index.html">
1015<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
1016</body>
1017</html>
Note: See TracBrowser for help on using the repository browser.