source: OGRE/trunk/ogrenew/Docs/api/html/OgreOctreeSceneManager_8h-source.html @ 692

Revision 692, 25.5 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

Line 
1<html>
2<head>
3<title>OgreOctreeSceneManager.h Source File - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4<link type="text/css" rel="stylesheet" href="style.css">
5</head>
6
7<body>
8<!-- Generated by Doxygen 1.3.6 -->
9<div class="qindex"><a class="qindex" href="index.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">Class&nbsp;List</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">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
10<h1>OgreOctreeSceneManager.h</h1><a href="OgreOctreeSceneManager_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/***************************************************************************</span>
1100002 <span class="comment">octreescenemanager.h  -  description</span>
1200003 <span class="comment">-------------------</span>
1300004 <span class="comment">begin                : Fri Sep 27 2002</span>
1400005 <span class="comment">copyright            : (C) 2002 by Jon Anderson</span>
1500006 <span class="comment">email                : janders@users.sf.net</span>
1600007 <span class="comment">***************************************************************************/</span>
1700008
1800009 <span class="comment">/*</span>
1900010 <span class="comment">-----------------------------------------------------------------------------</span>
2000011 <span class="comment">This source file is part of OGRE</span>
2100012 <span class="comment">(Object-oriented Graphics Rendering Engine)</span>
2200013 <span class="comment">For the latest info, see http://www.ogre3d.org/</span>
2300014 <span class="comment"></span>
2400015 <span class="comment">Copyright (c) 2000-2005 The OGRE Team</span>
2500016 <span class="comment">Also see acknowledgements in Readme.html</span>
2600017 <span class="comment"></span>
2700018 <span class="comment">This program is free software; you can redistribute it and/or modify it under</span>
2800019 <span class="comment">the terms of the GNU Lesser General Public License as published by the Free Software</span>
2900020 <span class="comment">Foundation; either version 2 of the License, or (at your option) any later</span>
3000021 <span class="comment">version.</span>
3100022 <span class="comment"></span>
3200023 <span class="comment">This program is distributed in the hope that it will be useful, but WITHOUT</span>
3300024 <span class="comment">ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS</span>
3400025 <span class="comment">FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</span>
3500026 <span class="comment"></span>
3600027 <span class="comment">You should have received a copy of the GNU Lesser General Public License along with</span>
3700028 <span class="comment">this program; if not, write to the Free Software Foundation, Inc., 59 Temple</span>
3800029 <span class="comment">Place - Suite 330, Boston, MA 02111-1307, USA, or go to</span>
3900030 <span class="comment">http://www.gnu.org/copyleft/lesser.txt.</span>
4000031 <span class="comment">-----------------------------------------------------------------------------</span>
4100032 <span class="comment">*/</span>
4200033
4300034 <span class="preprocessor">#ifndef OCTREESCENEMANAGER_H</span>
4400035 <span class="preprocessor"></span><span class="preprocessor">#define OCTREESCENEMANAGER_H</span>
4500036 <span class="preprocessor"></span>
4600037 <span class="preprocessor">#include "<a class="code" href="OgreSceneManager_8h.html">OgreSceneManager.h</a>"</span>
4700038 <span class="preprocessor">#include "<a class="code" href="OgreRenderOperation_8h.html">OgreRenderOperation.h</a>"</span>
4800039 <span class="preprocessor">#include "<a class="code" href="OgreSphere_8h.html">OgreSphere.h</a>"</span>
4900040
5000041 <span class="preprocessor">#include &lt;list&gt;</span>
5100042 <span class="preprocessor">#include &lt;algorithm&gt;</span>
5200043
5300044 <span class="preprocessor">#include &lt;<a class="code" href="OgreOctree_8h.html">OgreOctree.h</a>&gt;</span>
5400045
5500046
5600047 <span class="keyword">namespace </span>Ogre
5700048 {
5800049
5900050 <span class="keyword">class </span>OctreeNode;
6000051
6100052 <span class="keyword">class </span>OctreeCamera;
6200053 <span class="keyword">class </span>OctreeIntersectionSceneQuery;
6300054 <span class="keyword">class </span>OctreeRaySceneQuery;
6400055 <span class="keyword">class </span>OctreeSphereSceneQuery;
6500056 <span class="keyword">class </span>OctreeAxisAlignedBoxSceneQuery;
6600057 <span class="keyword">class </span>OctreePlaneBoundedVolumeListSceneQuery;
6700058
6800059
69<a name="l00060"></a><a class="code" href="namespaceOgre.html#a603">00060</a> <span class="keyword">typedef</span> std::list &lt; WireBoundingBox * &gt; <a class="code" href="namespaceOgre.html#a603">BoxList</a>;
70<a name="l00061"></a><a class="code" href="namespaceOgre.html#a604">00061</a> <span class="keyword">typedef</span> std::list &lt; unsigned long &gt; <a class="code" href="namespaceOgre.html#a604">ColorList</a>;
7100062 <span class="comment">//typedef std::list &lt; SceneNode * &gt; SceneNodeList;</span>
7200063
7300064
74<a name="l00072"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html">00072</a> <span class="keyword">class </span><a class="code" href="classOgre_1_1OctreeSceneManager.html">OctreeSceneManager</a> : <span class="keyword">public</span> <a class="code" href="classOgre_1_1SceneManager.html">SceneManager</a>
7500073 {
76<a name="l00074"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1OctreeSceneManagern0">00074</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOgre_1_1OctreeIntersectionSceneQuery.html">OctreeIntersectionSceneQuery</a>;
77<a name="l00075"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1OctreeSceneManagern1">00075</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOgre_1_1OctreeRaySceneQuery.html">OctreeRaySceneQuery</a>;
78<a name="l00076"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1OctreeSceneManagern2">00076</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOgre_1_1OctreeSphereSceneQuery.html">OctreeSphereSceneQuery</a>;
79<a name="l00077"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1OctreeSceneManagern3">00077</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOgre_1_1OctreeAxisAlignedBoxSceneQuery.html">OctreeAxisAlignedBoxSceneQuery</a>;
80<a name="l00078"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1OctreeSceneManagern4">00078</a>     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOgre_1_1OctreePlaneBoundedVolumeListSceneQuery.html">OctreePlaneBoundedVolumeListSceneQuery</a>;
8100079
8200080 <span class="keyword">public</span>:
83<a name="l00081"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagers0">00081</a>     <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagers0">intersect_call</a>;
8400083     <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1OctreeSceneManagera0">OctreeSceneManager</a>(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>&amp; name);
8500085     <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1OctreeSceneManagera0">OctreeSceneManager</a>(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>&amp; name, <a class="code" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> &amp;box, <span class="keywordtype">int</span> max_depth );
8600087     <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1OctreeSceneManagera2">~OctreeSceneManager</a>();
8700088
8800090     <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>&amp; <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1OctreeSceneManagera3">getTypeName</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
8900091
9000094     <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera52">init</a>( <a class="code" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> &amp;box, <span class="keywordtype">int</span> d );
9100095
9200097     <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1SceneNode.html">SceneNode</a> * <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera53">createSceneNode</a> ( <span class="keywordtype">void</span> );
9300099     <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1SceneNode.html">SceneNode</a> * <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera53">createSceneNode</a> ( <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a> &amp;name );
9400101     <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1Camera.html">Camera</a> * <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1OctreeSceneManagera7">createCamera</a>( <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a> &amp;name );
9500102
9600104     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera55">destroySceneNode</a>( <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a> &amp;name );
9700105
9800106
9900107
10000109     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera56">_updateSceneGraph</a>( <a class="code" href="classOgre_1_1Camera.html">Camera</a> * cam );
10100111     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera57">_findVisibleObjects</a> ( <a class="code" href="classOgre_1_1Camera.html">Camera</a> * cam, <span class="keywordtype">bool</span> onlyShadowCasters );
10200112
10300117     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera58">_alertVisibleObjects</a>( <span class="keywordtype">void</span> );
10400118
10500124     <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera59">walkOctree</a>( <a class="code" href="classOgre_1_1OctreeCamera.html">OctreeCamera</a> *, <a class="code" href="classOgre_1_1RenderQueue.html">RenderQueue</a> *, <a class="code" href="classOgre_1_1Octree.html">Octree</a> *, <span class="keywordtype">bool</span> foundvisible,
10600125                      <span class="keywordtype">bool</span> onlyShadowCasters);
10700126
10800130     <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera60">_updateOctreeNode</a>( <a class="code" href="classOgre_1_1OctreeNode.html">OctreeNode</a> * );
10900132     <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera61">_removeOctreeNode</a>( <a class="code" href="classOgre_1_1OctreeNode.html">OctreeNode</a> * );
11000135     <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera62">_addOctreeNode</a>( <a class="code" href="classOgre_1_1OctreeNode.html">OctreeNode</a> *, <a class="code" href="classOgre_1_1Octree.html">Octree</a> *octree, <span class="keywordtype">int</span> depth = 0 );
11100136
11200140     <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera63">findNodesIn</a>( <span class="keyword">const</span> <a class="code" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> &amp;box, std::list &lt; SceneNode * &gt; &amp;list, <a class="code" href="classOgre_1_1SceneNode.html">SceneNode</a> *exclude = 0 );
11300141
11400145     <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera63">findNodesIn</a>( <span class="keyword">const</span> <a class="code" href="classOgre_1_1Sphere.html">Sphere</a> &amp;sphere, std::list &lt; SceneNode * &gt; &amp;list, <a class="code" href="classOgre_1_1SceneNode.html">SceneNode</a> *exclude = 0 );
11500146
11600150     <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera63">findNodesIn</a>( <span class="keyword">const</span> <a class="code" href="classOgre_1_1PlaneBoundedVolume.html">PlaneBoundedVolume</a> &amp;volume, std::list &lt; SceneNode * &gt; &amp;list, <a class="code" href="classOgre_1_1SceneNode.html">SceneNode</a> *exclude=0 );
11700151
11800155     <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera63">findNodesIn</a>( <span class="keyword">const</span> <a class="code" href="classOgre_1_1Ray.html">Ray</a> &amp;ray, std::list &lt; SceneNode * &gt; &amp;list, <a class="code" href="classOgre_1_1SceneNode.html">SceneNode</a> *exclude=0 );
11900156
120<a name="l00158"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera67">00158</a>     <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera67">setShowBoxes</a>( <span class="keywordtype">bool</span> b )
12100159     {
12200160         <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp23">mShowBoxes</a> = b;
12300161     };
12400162
125<a name="l00164"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera68">00164</a>     <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera68">setUseCullCamera</a>( <span class="keywordtype">bool</span> b )
12600165     {
12700166         <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp24">mCullCamera</a> = b;
12800167     };
12900168
130<a name="l00169"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera69">00169</a>     <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera69">setLooseOctree</a>( <span class="keywordtype">bool</span> b )
13100170     {
13200171         <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp25">mLoose</a> = b;
13300172     };
13400173
13500174
13600176     <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera70">resize</a>( <span class="keyword">const</span> <a class="code" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> &amp;box );
13700177
13800187     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1OctreeSceneManagera24">setOption</a>( <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a> &amp;, <span class="keyword">const</span> <span class="keywordtype">void</span> * );
13900192     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera71">getOption</a>( <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a> &amp;, <span class="keywordtype">void</span> * );
14000193
14100194     <span class="keywordtype">bool</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera72">getOptionValues</a>( <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a> &amp; key, <a class="code" href="namespaceOgre.html#a580">StringVector</a> &amp;refValueList );
14200195     <span class="keywordtype">bool</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera73">getOptionKeys</a>( <a class="code" href="namespaceOgre.html#a580">StringVector</a> &amp;refKeys );
14300197     <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1OctreeSceneManagera28">clearScene</a>(<span class="keywordtype">void</span>);
14400198
14500199     <a class="code" href="classOgre_1_1AxisAlignedBoxSceneQuery.html">AxisAlignedBoxSceneQuery</a>* OctreeSceneManager::createAABBQuery(<span class="keyword">const</span> <a class="code" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a>&amp; box, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> mask);
14600200     <a class="code" href="classOgre_1_1SphereSceneQuery.html">SphereSceneQuery</a>* OctreeSceneManager::createSphereQuery(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Sphere.html">Sphere</a>&amp; sphere, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> mask);
14700201     <a class="code" href="classOgre_1_1PlaneBoundedVolumeListSceneQuery.html">PlaneBoundedVolumeListSceneQuery</a>* <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera76">createPlaneBoundedVolumeQuery</a>(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a454">PlaneBoundedVolumeList</a>&amp; volumes, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> mask);
14800202     <a class="code" href="classOgre_1_1RaySceneQuery.html">RaySceneQuery</a>* <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1OctreeSceneManagera32">createRayQuery</a>(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Ray.html">Ray</a>&amp; ray, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> mask);
14900203     <a class="code" href="classOgre_1_1IntersectionSceneQuery.html">IntersectionSceneQuery</a>* <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagera77">createIntersectionQuery</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> mask);
15000204
15100205
15200206 <span class="keyword">protected</span>:
15300207
15400208
155<a name="l00209"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp17">00209</a>     NodeList mVisible;
15600210
157<a name="l00212"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp18">00212</a>     <a class="code" href="classOgre_1_1Octree.html">Octree</a> *<a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp18">mOctree</a>;
15800213
159<a name="l00215"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp19">00215</a>     <a class="code" href="namespaceOgre.html#a603">BoxList</a> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp19">mBoxes</a>;
16000216
161<a name="l00218"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp20">00218</a>     <span class="keywordtype">int</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp20">mNumObjects</a>;
16200219
163<a name="l00221"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp21">00221</a>     <span class="keywordtype">int</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp21">mMaxDepth</a>;
164<a name="l00223"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp22">00223</a>     <a class="code" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> mBox;
16500224
166<a name="l00226"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp23">00226</a>     <span class="keywordtype">bool</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp23">mShowBoxes</a>;
16700227
168<a name="l00229"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp24">00229</a>     <span class="keywordtype">bool</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp24">mCullCamera</a>;
16900230
17000231
171<a name="l00232"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp25">00232</a>     <span class="keywordtype">bool</span> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp25">mLoose</a>;
17200233
173<a name="l00234"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp26">00234</a>     <a class="code" href="namespaceOgre.html#a465">Real</a> mCorners[ 24 ];
174<a name="l00235"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagert0">00235</a>     <span class="keyword">static</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> mColors[ 8 ];
175<a name="l00236"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagert1">00236</a>     <span class="keyword">static</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> mIndexes[ 24 ];
17600237
177<a name="l00238"></a><a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp27">00238</a>     <a class="code" href="classOgre_1_1Matrix4.html">Matrix4</a> <a class="code" href="classOgre_1_1OctreeSceneManager.html#Ogre_1_1TerrainSceneManagerp27">mScaleFactor</a>;
17800239
17900240 };
18000241
181<a name="l00243"></a><a class="code" href="classOgre_1_1OctreeSceneManagerFactory.html">00243</a> <span class="keyword">class </span><a class="code" href="classOgre_1_1OctreeSceneManagerFactory.html">OctreeSceneManagerFactory</a> : <span class="keyword">public</span> <a class="code" href="classOgre_1_1SceneManagerFactory.html">SceneManagerFactory</a>
18200244 {
18300245 <span class="keyword">protected</span>:
18400246     <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManagerFactory.html#Ogre_1_1OctreeSceneManagerFactoryb0">initMetaData</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
18500247 <span class="keyword">public</span>:
186<a name="l00248"></a><a class="code" href="classOgre_1_1OctreeSceneManagerFactory.html#Ogre_1_1OctreeSceneManagerFactorya0">00248</a>     <a class="code" href="classOgre_1_1OctreeSceneManagerFactory.html#Ogre_1_1OctreeSceneManagerFactorya0">OctreeSceneManagerFactory</a>() {}
187<a name="l00249"></a><a class="code" href="classOgre_1_1OctreeSceneManagerFactory.html#Ogre_1_1OctreeSceneManagerFactorya1">00249</a>     <a class="code" href="classOgre_1_1OctreeSceneManagerFactory.html#Ogre_1_1OctreeSceneManagerFactorya1">~OctreeSceneManagerFactory</a>() {}
188<a name="l00251"></a><a class="code" href="classOgre_1_1OctreeSceneManagerFactory.html#Ogre_1_1OctreeSceneManagerFactorys0">00251</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a> FACTORY_TYPE_NAME;
18900252     <a class="code" href="classOgre_1_1SceneManager.html">SceneManager</a>* <a class="code" href="classOgre_1_1OctreeSceneManagerFactory.html#Ogre_1_1OctreeSceneManagerFactorya2">createInstance</a>(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>&amp; instanceName);
19000253     <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1OctreeSceneManagerFactory.html#Ogre_1_1OctreeSceneManagerFactorya3">destroyInstance</a>(<a class="code" href="classOgre_1_1SceneManager.html">SceneManager</a>* instance);
19100254 };
19200255
19300256
19400257
19500258 }
19600259
19700260 <span class="preprocessor">#endif</span>
19800261 <span class="preprocessor"></span>
199</pre></div><hr>
200<p>
201Copyright &copy; 2000-2005 by The OGRE Team<br />
202<!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/>
203This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/>
204                <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
205                <Work rdf:about="">
206                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
207        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
208                </Work>
209                <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> -->
210
211Last modified Sun Mar 12 14:37:45 2006
212</p>
213</body>
214</html>
Note: See TracBrowser for help on using the repository browser.