source: OGRE/trunk/ogrenew/Docs/api/html/classOgre_1_1StaticGeometry.html @ 657

Revision 657, 112.7 KB checked in by mattausch, 18 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1<html>
2<head>
3<title>Ogre::StaticGeometry class Reference - 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>Ogre::StaticGeometry Class Reference</h1>Pre-transforms and batches up meshes for efficient use as static geometry in a scene. 
11<a href="#_details">More...</a>
12<p>
13<code>#include &lt;<a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>&gt;</code>
14<p>
15<a href="classOgre_1_1StaticGeometry-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
16<tr><td></td></tr>
17<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
18<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::list&lt; <a class="el" href="classOgre_1_1StaticGeometry_1_1OptimisedSubMeshGeometry.html">OptimisedSubMeshGeometry</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw0">OptimisedSubMeshGeometryList</a></td></tr>
19
20<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector&lt; <a class="el" href="structOgre_1_1StaticGeometry_1_1SubMeshLodGeometryLink.html">SubMeshLodGeometryLink</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw1">SubMeshLodGeometryLinkList</a></td></tr>
21
22<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> *,<br>
23 <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw1">SubMeshLodGeometryLinkList</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw2">SubMeshGeometryLookup</a></td></tr>
24
25<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector&lt; <a class="el" href="structOgre_1_1StaticGeometry_1_1QueuedSubMesh.html">QueuedSubMesh</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw3">QueuedSubMeshList</a></td></tr>
26
27<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector&lt; <a class="el" href="structOgre_1_1StaticGeometry_1_1QueuedGeometry.html">QueuedGeometry</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw4">QueuedGeometryList</a></td></tr>
28
29<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="namespaceOgre.html#a412">uint32</a>,<br>
30 <a class="el" href="classOgre_1_1StaticGeometry_1_1Region.html">Region</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw5">RegionMap</a></td></tr>
31
32<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indexed region map based on packed x/y/z region index, 10 bits for each axis.  <a href="#Ogre_1_1StaticGeometryw5"></a><br><br></td></tr>
33<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classOgre_1_1MapIterator.html">MapIterator</a>&lt; <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw5">RegionMap</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw6">RegionIterator</a></td></tr>
34
35<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Iterator for iterating over contained regions.  <a href="#Ogre_1_1StaticGeometryw6"></a><br><br></td></tr>
36<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
37<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya0">StaticGeometry</a> (<a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> *owner, const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;name)</td></tr>
38
39<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor; do not use directly ( <a class="el" href="classOgre_1_1SceneManager.html#Ogre_1_1TerrainSceneManagera177">SceneManager::createStaticGeometry</a>).  <a href="#Ogre_1_1StaticGeometrya0"></a><br><br></td></tr>
40<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya1">~StaticGeometry</a> ()</td></tr>
41
42<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#Ogre_1_1StaticGeometrya1"></a><br><br></td></tr>
43<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya2">getName</a> (void) const </td></tr>
44
45<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the name of this object.  <a href="#Ogre_1_1StaticGeometrya2"></a><br><br></td></tr>
46<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya3">addEntity</a> (<a class="el" href="classOgre_1_1Entity.html">Entity</a> *ent, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;position, const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> &amp;orientation=<a class="el" href="classOgre_1_1Quaternion.html#Ogre_1_1Quaternions2">Quaternion::IDENTITY</a>, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;scale=<a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s7">Vector3::UNIT_SCALE</a>)</td></tr>
47
48<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds an <a class="el" href="classOgre_1_1Entity.html">Entity</a> to the static geometry.  <a href="#Ogre_1_1StaticGeometrya3"></a><br><br></td></tr>
49<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya4">addSceneNode</a> (const <a class="el" href="classOgre_1_1SceneNode.html">SceneNode</a> *node)</td></tr>
50
51<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds all the <a class="el" href="classOgre_1_1Entity.html">Entity</a> objects attached to a <a class="el" href="classOgre_1_1SceneNode.html">SceneNode</a> and all it's children to the static geometry.  <a href="#Ogre_1_1StaticGeometrya4"></a><br><br></td></tr>
52<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya5">build</a> (void)</td></tr>
53
54<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Build the geometry.  <a href="#Ogre_1_1StaticGeometrya5"></a><br><br></td></tr>
55<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya6">destroy</a> (void)</td></tr>
56
57<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destroys all the built geometry state (reverse of build).  <a href="#Ogre_1_1StaticGeometrya6"></a><br><br></td></tr>
58<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya7">reset</a> (void)</td></tr>
59
60<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clears any of the entities / nodes added to this geometry and destroys anything which has already been built.  <a href="#Ogre_1_1StaticGeometrya7"></a><br><br></td></tr>
61<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya8">setRenderingDistance</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> dist)</td></tr>
62
63<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the distance at which batches are no longer rendered.  <a href="#Ogre_1_1StaticGeometrya8"></a><br><br></td></tr>
64<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya9">getRenderingDistance</a> (void) const </td></tr>
65
66<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the distance at which batches are no longer rendered.  <a href="#Ogre_1_1StaticGeometrya9"></a><br><br></td></tr>
67<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya10">getSquaredRenderingDistance</a> (void) const </td></tr>
68
69<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the squared distance at which batches are no longer rendered.  <a href="#Ogre_1_1StaticGeometrya10"></a><br><br></td></tr>
70<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya11">setVisible</a> (bool visible)</td></tr>
71
72<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Hides or shows all the batches.  <a href="#Ogre_1_1StaticGeometrya11"></a><br><br></td></tr>
73<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya12">isVisible</a> (void) const </td></tr>
74
75<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Are the batches visible?  <a href="#Ogre_1_1StaticGeometrya12"></a><br><br></td></tr>
76<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya13">setCastShadows</a> (bool castShadows)</td></tr>
77
78<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets whether this geometry should cast shadows.  <a href="#Ogre_1_1StaticGeometrya13"></a><br><br></td></tr>
79<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya14">getCastShadows</a> (void)</td></tr>
80
81<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Will the geometry from this object cast shadows?  <a href="#Ogre_1_1StaticGeometrya14"></a><br><br></td></tr>
82<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya15">setRegionDimensions</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;size)</td></tr>
83
84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the size of a single region of geometry.  <a href="#Ogre_1_1StaticGeometrya15"></a><br><br></td></tr>
85<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya16">getRegionDimensions</a> (void) const </td></tr>
86
87<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the size of a single batch of geometry.  <a href="#Ogre_1_1StaticGeometrya16"></a><br><br></td></tr>
88<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya17">setOrigin</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;origin)</td></tr>
89
90<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the origin of the geometry.  <a href="#Ogre_1_1StaticGeometrya17"></a><br><br></td></tr>
91<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya18">getOrigin</a> (void) const </td></tr>
92
93<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the origin of this geometry.  <a href="#Ogre_1_1StaticGeometrya18"></a><br><br></td></tr>
94<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya19">setRenderQueueGroup</a> (<a class="el" href="namespaceOgre.html#a669">RenderQueueGroupID</a> queueID)</td></tr>
95
96<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the render queue group this object will be rendered through.  <a href="#Ogre_1_1StaticGeometrya19"></a><br><br></td></tr>
97<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a669">RenderQueueGroupID</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya20">getRenderQueueGroup</a> (void) const </td></tr>
98
99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the queue group for this entity, see setRenderQueueGroup for full details.  <a href="#Ogre_1_1StaticGeometrya20"></a><br><br></td></tr>
100<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1MapIterator.html">RegionIterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya21">getRegionIterator</a> (void)</td></tr>
101
102<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get an iterator over the regions in this geometry.  <a href="#Ogre_1_1StaticGeometrya21"></a><br><br></td></tr>
103<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya22">dump</a> (const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;filename) const </td></tr>
104
105<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dump the contents of this <a class="el" href="classOgre_1_1StaticGeometry.html">StaticGeometry</a> to a file for diagnostic purposes.  <a href="#Ogre_1_1StaticGeometrya22"></a><br><br></td></tr>
106<tr><td colspan=2><br><h2>Protected Types</h2></td></tr>
107<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; size_t,<br>
108 size_t &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryx0">IndexRemap</a></td></tr>
109
110<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
111<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1StaticGeometry_1_1Region.html">Region</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryb0">getRegion</a> (const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> &amp;bounds, bool autoCreate)</td></tr>
112
113<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Virtual method for getting a region most suitable for the passed in bounds.  <a href="#Ogre_1_1StaticGeometryb0"></a><br><br></td></tr>
114<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1StaticGeometry_1_1Region.html">Region</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryb1">getRegion</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;point, bool autoCreate)</td></tr>
115
116<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the region within which a point lies.  <a href="#Ogre_1_1StaticGeometryb1"></a><br><br></td></tr>
117<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1StaticGeometry_1_1Region.html">Region</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryb2">getRegion</a> (<a class="el" href="namespaceOgre.html#a422">ushort</a> x, <a class="el" href="namespaceOgre.html#a422">ushort</a> y, <a class="el" href="namespaceOgre.html#a422">ushort</a> z, bool autoCreate)</td></tr>
118
119<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the region using indexes.  <a href="#Ogre_1_1StaticGeometryb2"></a><br><br></td></tr>
120<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1StaticGeometry_1_1Region.html">Region</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryb3">getRegion</a> (<a class="el" href="namespaceOgre.html#a412">uint32</a> index)</td></tr>
121
122<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the region using a packed index, returns null if it doesn't exist.  <a href="#Ogre_1_1StaticGeometryb3"></a><br><br></td></tr>
123<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryb4">getRegionIndexes</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;point, <a class="el" href="namespaceOgre.html#a422">ushort</a> &amp;x, <a class="el" href="namespaceOgre.html#a422">ushort</a> &amp;y, <a class="el" href="namespaceOgre.html#a422">ushort</a> &amp;z)</td></tr>
124
125<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the region indexes for a point.  <a href="#Ogre_1_1StaticGeometryb4"></a><br><br></td></tr>
126<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a412">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryb5">packIndex</a> (<a class="el" href="namespaceOgre.html#a422">ushort</a> x, <a class="el" href="namespaceOgre.html#a422">ushort</a> y, <a class="el" href="namespaceOgre.html#a422">ushort</a> z)</td></tr>
127
128<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pack 3 indexes into a single index value.  <a href="#Ogre_1_1StaticGeometryb5"></a><br><br></td></tr>
129<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryb6">getVolumeIntersection</a> (const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> &amp;box, <a class="el" href="namespaceOgre.html#a422">ushort</a> x, <a class="el" href="namespaceOgre.html#a422">ushort</a> y, <a class="el" href="namespaceOgre.html#a422">ushort</a> z)</td></tr>
130
131<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the volume intersection for an indexed region with some bounds.  <a href="#Ogre_1_1StaticGeometryb6"></a><br><br></td></tr>
132<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryb7">getRegionBounds</a> (<a class="el" href="namespaceOgre.html#a422">ushort</a> x, <a class="el" href="namespaceOgre.html#a422">ushort</a> y, <a class="el" href="namespaceOgre.html#a422">ushort</a> z)</td></tr>
133
134<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the bounds of an indexed region.  <a href="#Ogre_1_1StaticGeometryb7"></a><br><br></td></tr>
135<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryb8">getRegionCentre</a> (<a class="el" href="namespaceOgre.html#a422">ushort</a> x, <a class="el" href="namespaceOgre.html#a422">ushort</a> y, <a class="el" href="namespaceOgre.html#a422">ushort</a> z)</td></tr>
136
137<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the centre of an indexed region.  <a href="#Ogre_1_1StaticGeometryb8"></a><br><br></td></tr>
138<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryb9">calculateBounds</a> (<a class="el" href="classOgre_1_1VertexData.html">VertexData</a> *vertexData, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;position, const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> &amp;orientation, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;scale)</td></tr>
139
140<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calculate world bounds from a set of vertex data.  <a href="#Ogre_1_1StaticGeometryb9"></a><br><br></td></tr>
141<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw1">SubMeshLodGeometryLinkList</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryb10">determineGeometry</a> (<a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> *sm)</td></tr>
142
143<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Look up or calculate the geometry data to use for this <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>.  <a href="#Ogre_1_1StaticGeometryb10"></a><br><br></td></tr>
144<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryb11">splitGeometry</a> (<a class="el" href="classOgre_1_1VertexData.html">VertexData</a> *vd, <a class="el" href="classOgre_1_1IndexData.html">IndexData</a> *<a class="el" href="OgreGLPrerequisites_8h.html#a86">id</a>, <a class="el" href="structOgre_1_1StaticGeometry_1_1SubMeshLodGeometryLink.html">SubMeshLodGeometryLink</a> *targetGeomLink)</td></tr>
145
146<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Split some shared geometry into dedicated geometry.  <a href="#Ogre_1_1StaticGeometryb11"></a><br><br></td></tr>
147<tr><td class="memItemLeft" nowrap align=right valign=top>template&lt;typename T&gt; void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryb12">buildIndexRemap</a> (T *pBuffer, size_t numIndexes, <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryx0">IndexRemap</a> &amp;remap)</td></tr>
148
149<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Method for figuring out which vertices are used by an index buffer and calculating a remap lookup for a vertex buffer just containing those vertices.  <a href="#Ogre_1_1StaticGeometryb12"></a><br><br></td></tr>
150<tr><td class="memItemLeft" nowrap align=right valign=top>template&lt;typename T&gt; void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryb13">remapIndexes</a> (T *src, T *dst, const <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryx0">IndexRemap</a> &amp;remap, size_t numIndexes)</td></tr>
151
152<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Method for altering indexes based on a remap.  <a href="#Ogre_1_1StaticGeometryb13"></a><br><br></td></tr>
153<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
154<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp0">mOwner</a></td></tr>
155
156<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a426">String</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp1">mName</a></td></tr>
157
158<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp2">mBuilt</a></td></tr>
159
160<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp3">mUpperDistance</a></td></tr>
161
162<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp4">mSquaredUpperDistance</a></td></tr>
163
164<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp5">mCastShadows</a></td></tr>
165
166<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp6">mRegionDimensions</a></td></tr>
167
168<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp7">mHalfRegionDimensions</a></td></tr>
169
170<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp8">mOrigin</a></td></tr>
171
172<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp9">mVisible</a></td></tr>
173
174<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a669">RenderQueueGroupID</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp10">mRenderQueueID</a></td></tr>
175
176<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The render queue to use when rendering this object.  <a href="#Ogre_1_1StaticGeometryp10"></a><br><br></td></tr>
177<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp11">mRenderQueueIDSet</a></td></tr>
178
179<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Flags whether the RenderQueue's default should be used.  <a href="#Ogre_1_1StaticGeometryp11"></a><br><br></td></tr>
180<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw3">QueuedSubMeshList</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp12">mQueuedSubMeshes</a></td></tr>
181
182<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw0">OptimisedSubMeshGeometryList</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp13">mOptimisedSubMeshGeometryList</a></td></tr>
183
184<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">List of geometry which has been optimised for <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> use This is the primary storage used for cleaning up later.  <a href="#Ogre_1_1StaticGeometryp13"></a><br><br></td></tr>
185<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw2">SubMeshGeometryLookup</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp14">mSubMeshGeometryLookup</a></td></tr>
186
187<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cached links from SubMeshes to (potentially optimised) geometry This is not used for deletion since the lookup may reference original vertex data.  <a href="#Ogre_1_1StaticGeometryp14"></a><br><br></td></tr>
188<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw5">RegionMap</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp15">mRegionMap</a></td></tr>
189
190<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Map of regions.  <a href="#Ogre_1_1StaticGeometryp15"></a><br><br></td></tr>
191</table>
192<hr><a name="_details"></a><h2>Detailed Description</h2>
193Pre-transforms and batches up meshes for efficient use as static geometry in a scene.
194<p>
195<dl compact><dt><b>Remarks:</b></dt><dd>Modern graphics cards (GPUs) prefer to receive geometry in large batches. It is orders of magnitude faster to render 10 batches of 10,000 triangles than it is to render 10,000 batches of 10 triangles, even though both result in the same number of on-screen triangles. </dd></dl>
196<dl compact><dt><b></b></dt><dd>Therefore it is important when you are rendering a lot of geometry to batch things up into as few rendering calls as possible. This class allows you to build a batched object from a series of entities in order to benefit from this behaviour. Batching has implications of it's own though: <ul>
197<li>Batched geometry cannot be subdivided; that means that the whole group will be displayed, or none of it will. This obivously has culling issues. </li>
198<li>A single world transform must apply to the entire batch. Therefore once you have batched things, you can't move them around relative to each other. That's why this class is most useful when dealing with static geometry (hence the name). In addition, geometry is effectively duplicated, so if you add 3 entities based on the same mesh in different positions, they will use 3 times the geometry space than the movable version (which re-uses the same geometry). So you trade memory and flexibility of movement for pure speed when using this class. </li>
199<li>A single material must apply for each batch. In fact this class allows you to use multiple materials, but you should be aware that internally this means that there is one batch per material. Therefore you won't gain as much benefit from the batching if you use many different materials; try to keep the number down. </li>
200</ul>
201</dd></dl>
202<dl compact><dt><b></b></dt><dd>In order to retain some sort of culling, this class will batch up meshes in localised regions. The size and shape of these blocks is controlled by the <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> which contructs this object, since it makes sense to batch things up in the most appropriate way given the existing partitioning of the scene. </dd></dl>
203<dl compact><dt><b></b></dt><dd>The LOD settings of both the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> and the Materials used in constructing this static geometry will be respected. This means that if you use meshes/materials which have LOD, batches in the distance will have a lower polygon count or material detail to those in the foreground. Since each mesh might have different LOD distances, during build the furthest distance at each LOD level from all meshes in that region is used. This means all the LOD levels change at the same time, but at the furthest distance of any of them (so quality is not degraded). Be aware that using <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> LOD in this class will further increase the memory required. Only generated LOD is supported for meshes. </dd></dl>
204<dl compact><dt><b></b></dt><dd>There are 2 ways you can add geometry to this class; you can add <a class="el" href="classOgre_1_1Entity.html">Entity</a> objects directly with predetermined positions, scales and orientations, or you can add an entire <a class="el" href="classOgre_1_1SceneNode.html">SceneNode</a> and it's subtree, including all the objects attached to it. Once you've added everthing you need to, you have to call <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya5">build()</a> the fix the geometry in place. </dd></dl>
205<dl compact><dt><b>Note:</b></dt><dd>This class is not a replacement for world geometry (</dd></dl>
206<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1SceneManager.html#Ogre_1_1SceneManagera27">SceneManager::setWorldGeometry</a>). The single most efficient way to render large amounts of static geometry is to use a <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> which is specialised for dealing with that particular world structure. However, this class does provide you with a good 'halfway house' between generalised movable geometry (<a class="el" href="classOgre_1_1Entity.html">Entity</a>) which works with all SceneManagers but isn't efficient when using very large numbers, and highly specialised world geometry which is extremely fast but not generic and typically requires custom world editors. </dd></dl>
207<dl compact><dt><b></b></dt><dd>You should not construct instances of this class directly; instead, cal <a class="el" href="classOgre_1_1SceneManager.html#Ogre_1_1TerrainSceneManagera177">SceneManager::createStaticGeometry</a>, which gives the <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> the option of providing you with a specialised version of this class if it wishes, and also handles the memory management for you like other classes.</dd></dl>
208
209<p>
210
211<p>
212Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00107">107</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.<hr><h2>Member Typedef Documentation</h2>
213<a class="anchor" name="Ogre_1_1StaticGeometryx0" doxytag="Ogre::StaticGeometry::IndexRemap" ></a><p>
214<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
215  <tr>
216    <td class="mdRow">
217      <table cellpadding="0" cellspacing="0" border="0">
218        <tr>
219          <td class="md" nowrap valign="top"> typedef std::map&lt;size_t, size_t&gt; <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryx0">Ogre::StaticGeometry::IndexRemap</a><code> [protected]</code>
220      </table>
221    </td>
222  </tr>
223</table>
224<table cellspacing=5 cellpadding=0 border=0>
225  <tr>
226    <td>
227      &nbsp;
228    </td>
229    <td>
230
231<p>
232
233<p>
234Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00531">531</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.
235<p>
236Referenced by <a class="el" href="OgreStaticGeometry_8h-source.html#l00537">buildIndexRemap()</a>, and <a class="el" href="OgreStaticGeometry_8h-source.html#l00550">remapIndexes()</a>.    </td>
237  </tr>
238</table>
239<a class="anchor" name="Ogre_1_1StaticGeometryw0" doxytag="Ogre::StaticGeometry::OptimisedSubMeshGeometryList" ></a><p>
240<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
241  <tr>
242    <td class="mdRow">
243      <table cellpadding="0" cellspacing="0" border="0">
244        <tr>
245          <td class="md" nowrap valign="top"> typedef std::list&lt;<a class="el" href="classOgre_1_1StaticGeometry_1_1OptimisedSubMeshGeometry.html">OptimisedSubMeshGeometry</a>*&gt; <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw0">Ogre::StaticGeometry::OptimisedSubMeshGeometryList</a>
246      </table>
247    </td>
248  </tr>
249</table>
250<table cellspacing=5 cellpadding=0 border=0>
251  <tr>
252    <td>
253      &nbsp;
254    </td>
255    <td>
256
257<p>
258
259<p>
260Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00134">134</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
261  </tr>
262</table>
263<a class="anchor" name="Ogre_1_1StaticGeometryw4" doxytag="Ogre::StaticGeometry::QueuedGeometryList" ></a><p>
264<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
265  <tr>
266    <td class="mdRow">
267      <table cellpadding="0" cellspacing="0" border="0">
268        <tr>
269          <td class="md" nowrap valign="top"> typedef std::vector&lt;<a class="el" href="structOgre_1_1StaticGeometry_1_1QueuedGeometry.html">QueuedGeometry</a>*&gt; <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw4">Ogre::StaticGeometry::QueuedGeometryList</a>
270      </table>
271    </td>
272  </tr>
273</table>
274<table cellspacing=5 cellpadding=0 border=0>
275  <tr>
276    <td>
277      &nbsp;
278    </td>
279    <td>
280
281<p>
282
283<p>
284Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00166">166</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
285  </tr>
286</table>
287<a class="anchor" name="Ogre_1_1StaticGeometryw3" doxytag="Ogre::StaticGeometry::QueuedSubMeshList" ></a><p>
288<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
289  <tr>
290    <td class="mdRow">
291      <table cellpadding="0" cellspacing="0" border="0">
292        <tr>
293          <td class="md" nowrap valign="top"> typedef std::vector&lt;<a class="el" href="structOgre_1_1StaticGeometry_1_1QueuedSubMesh.html">QueuedSubMesh</a>*&gt; <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw3">Ogre::StaticGeometry::QueuedSubMeshList</a>
294      </table>
295    </td>
296  </tr>
297</table>
298<table cellspacing=5 cellpadding=0 border=0>
299  <tr>
300    <td>
301      &nbsp;
302    </td>
303    <td>
304
305<p>
306
307<p>
308Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00157">157</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
309  </tr>
310</table>
311<a class="anchor" name="Ogre_1_1StaticGeometryw6" doxytag="Ogre::StaticGeometry::RegionIterator" ></a><p>
312<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
313  <tr>
314    <td class="mdRow">
315      <table cellpadding="0" cellspacing="0" border="0">
316        <tr>
317          <td class="md" nowrap valign="top"> typedef <a class="el" href="classOgre_1_1MapIterator.html">MapIterator</a>&lt;<a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw5">RegionMap</a>&gt; <a class="el" href="classOgre_1_1MapIterator.html">Ogre::StaticGeometry::RegionIterator</a>
318      </table>
319    </td>
320  </tr>
321</table>
322<table cellspacing=5 cellpadding=0 border=0>
323  <tr>
324    <td>
325      &nbsp;
326    </td>
327    <td>
328
329<p>
330Iterator for iterating over contained regions.
331<p>
332
333<p>
334Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00732">732</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
335  </tr>
336</table>
337<a class="anchor" name="Ogre_1_1StaticGeometryw5" doxytag="Ogre::StaticGeometry::RegionMap" ></a><p>
338<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
339  <tr>
340    <td class="mdRow">
341      <table cellpadding="0" cellspacing="0" border="0">
342        <tr>
343          <td class="md" nowrap valign="top"> typedef std::map&lt;<a class="el" href="namespaceOgre.html#a412">uint32</a>, <a class="el" href="classOgre_1_1StaticGeometry_1_1Region.html">Region</a>*&gt; <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw5">Ogre::StaticGeometry::RegionMap</a>
344      </table>
345    </td>
346  </tr>
347</table>
348<table cellspacing=5 cellpadding=0 border=0>
349  <tr>
350    <td>
351      &nbsp;
352    </td>
353    <td>
354
355<p>
356Indexed region map based on packed x/y/z region index, 10 bits for each axis.
357<p>
358<dl compact><dt><b>Remarks:</b></dt><dd>Regions are indexed 0-1023 in all axes, where for example region 0 in the x axis begins at mOrigin.x + (mRegionDimensions.x * -512), and region 1023 ends at mOrigin + (mRegionDimensions.x * 512).</dd></dl>
359
360<p>
361Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00461">461</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
362  </tr>
363</table>
364<a class="anchor" name="Ogre_1_1StaticGeometryw2" doxytag="Ogre::StaticGeometry::SubMeshGeometryLookup" ></a><p>
365<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
366  <tr>
367    <td class="mdRow">
368      <table cellpadding="0" cellspacing="0" border="0">
369        <tr>
370          <td class="md" nowrap valign="top"> typedef std::map&lt;<a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>*, <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw1">SubMeshLodGeometryLinkList</a>*&gt; <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw2">Ogre::StaticGeometry::SubMeshGeometryLookup</a>
371      </table>
372    </td>
373  </tr>
374</table>
375<table cellspacing=5 cellpadding=0 border=0>
376  <tr>
377    <td>
378      &nbsp;
379    </td>
380    <td>
381
382<p>
383
384<p>
385Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00143">143</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
386  </tr>
387</table>
388<a class="anchor" name="Ogre_1_1StaticGeometryw1" doxytag="Ogre::StaticGeometry::SubMeshLodGeometryLinkList" ></a><p>
389<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
390  <tr>
391    <td class="mdRow">
392      <table cellpadding="0" cellspacing="0" border="0">
393        <tr>
394          <td class="md" nowrap valign="top"> typedef std::vector&lt;<a class="el" href="structOgre_1_1StaticGeometry_1_1SubMeshLodGeometryLink.html">SubMeshLodGeometryLink</a>&gt; <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw1">Ogre::StaticGeometry::SubMeshLodGeometryLinkList</a>
395      </table>
396    </td>
397  </tr>
398</table>
399<table cellspacing=5 cellpadding=0 border=0>
400  <tr>
401    <td>
402      &nbsp;
403    </td>
404    <td>
405
406<p>
407
408<p>
409Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00142">142</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
410  </tr>
411</table>
412<hr><h2>Constructor &amp; Destructor Documentation</h2>
413<a class="anchor" name="Ogre_1_1StaticGeometrya0" doxytag="Ogre::StaticGeometry::StaticGeometry" ></a><p>
414<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
415  <tr>
416    <td class="mdRow">
417      <table cellpadding="0" cellspacing="0" border="0">
418        <tr>
419          <td class="md" nowrap valign="top"> Ogre::StaticGeometry::StaticGeometry </td>
420          <td class="md" valign="top">(&nbsp;</td>
421          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> *&nbsp;</td>
422          <td class="mdname" nowrap> <em>owner</em>, </td>
423        </tr>
424        <tr>
425          <td class="md" nowrap align="right"></td>
426          <td></td>
427          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
428          <td class="mdname" nowrap> <em>name</em></td>
429        </tr>
430        <tr>
431          <td></td>
432          <td class="md">)&nbsp;</td>
433          <td class="md" colspan="2"></td>
434        </tr>
435
436      </table>
437    </td>
438  </tr>
439</table>
440<table cellspacing=5 cellpadding=0 border=0>
441  <tr>
442    <td>
443      &nbsp;
444    </td>
445    <td>
446
447<p>
448Constructor; do not use directly ( <a class="el" href="classOgre_1_1SceneManager.html#Ogre_1_1TerrainSceneManagera177">SceneManager::createStaticGeometry</a>).
449<p>
450    </td>
451  </tr>
452</table>
453<a class="anchor" name="Ogre_1_1StaticGeometrya1" doxytag="Ogre::StaticGeometry::~StaticGeometry" ></a><p>
454<table class="mdTable" width="100%" 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"> virtual Ogre::StaticGeometry::~<a class="el" href="classOgre_1_1StaticGeometry.html">StaticGeometry</a> </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> [virtual]</code></td>
464        </tr>
465
466      </table>
467    </td>
468  </tr>
469</table>
470<table cellspacing=5 cellpadding=0 border=0>
471  <tr>
472    <td>
473      &nbsp;
474    </td>
475    <td>
476
477<p>
478Destructor.
479<p>
480    </td>
481  </tr>
482</table>
483<hr><h2>Member Function Documentation</h2>
484<a class="anchor" name="Ogre_1_1StaticGeometrya3" doxytag="Ogre::StaticGeometry::addEntity" ></a><p>
485<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
486  <tr>
487    <td class="mdRow">
488      <table cellpadding="0" cellspacing="0" border="0">
489        <tr>
490          <td class="md" nowrap valign="top"> virtual void Ogre::StaticGeometry::addEntity </td>
491          <td class="md" valign="top">(&nbsp;</td>
492          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Entity.html">Entity</a> *&nbsp;</td>
493          <td class="mdname" nowrap> <em>ent</em>, </td>
494        </tr>
495        <tr>
496          <td class="md" nowrap align="right"></td>
497          <td></td>
498          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
499          <td class="mdname" nowrap> <em>position</em>, </td>
500        </tr>
501        <tr>
502          <td class="md" nowrap align="right"></td>
503          <td></td>
504          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> &amp;&nbsp;</td>
505          <td class="mdname" nowrap> <em>orientation</em> = <a class="el" href="classOgre_1_1Quaternion.html#Ogre_1_1Quaternions2">Quaternion::IDENTITY</a>, </td>
506        </tr>
507        <tr>
508          <td class="md" nowrap align="right"></td>
509          <td></td>
510          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
511          <td class="mdname" nowrap> <em>scale</em> = <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s7">Vector3::UNIT_SCALE</a></td>
512        </tr>
513        <tr>
514          <td></td>
515          <td class="md">)&nbsp;</td>
516          <td class="md" colspan="2"><code> [virtual]</code></td>
517        </tr>
518
519      </table>
520    </td>
521  </tr>
522</table>
523<table cellspacing=5 cellpadding=0 border=0>
524  <tr>
525    <td>
526      &nbsp;
527    </td>
528    <td>
529
530<p>
531Adds an <a class="el" href="classOgre_1_1Entity.html">Entity</a> to the static geometry.
532<p>
533<dl compact><dt><b>Remarks:</b></dt><dd>This method takes an existing <a class="el" href="classOgre_1_1Entity.html">Entity</a> and adds its details to the list of elements to include when building. Note that the <a class="el" href="classOgre_1_1Entity.html">Entity</a> itself is not copied or referenced in this method; an <a class="el" href="classOgre_1_1Entity.html">Entity</a> is passed simply so that you can change the materials of attached <a class="el" href="classOgre_1_1SubEntity.html">SubEntity</a> objects if you want. You can add the same <a class="el" href="classOgre_1_1Entity.html">Entity</a> instance multiple times with different material settings completely safely, and destroy the <a class="el" href="classOgre_1_1Entity.html">Entity</a> before destroying this <a class="el" href="classOgre_1_1StaticGeometry.html">StaticGeometry</a> if you like. The <a class="el" href="classOgre_1_1Entity.html">Entity</a> passed in is simply used as a definition. </dd></dl>
534<dl compact><dt><b>Note:</b></dt><dd>Must be called before 'build'. </dd></dl>
535<dl compact><dt><b>Parameters:</b></dt><dd>
536  <table border="0" cellspacing="2" cellpadding="0">
537    <tr><td valign=top><em>ent</em>&nbsp;</td><td>The <a class="el" href="classOgre_1_1Entity.html">Entity</a> to use as a definition (the <a class="el" href="classOgre_1_1Mesh.html">Mesh</a> and Materials referenced will be recorded for the build call). </td></tr>
538    <tr><td valign=top><em>position</em>&nbsp;</td><td>The world position at which to add this <a class="el" href="classOgre_1_1Entity.html">Entity</a> </td></tr>
539    <tr><td valign=top><em>orientation</em>&nbsp;</td><td>The world orientation at which to add this <a class="el" href="classOgre_1_1Entity.html">Entity</a> </td></tr>
540    <tr><td valign=top><em>scale</em>&nbsp;</td><td>The scale at which to add this entity</td></tr>
541  </table>
542</dl>
543    </td>
544  </tr>
545</table>
546<a class="anchor" name="Ogre_1_1StaticGeometrya4" doxytag="Ogre::StaticGeometry::addSceneNode" ></a><p>
547<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
548  <tr>
549    <td class="mdRow">
550      <table cellpadding="0" cellspacing="0" border="0">
551        <tr>
552          <td class="md" nowrap valign="top"> virtual void Ogre::StaticGeometry::addSceneNode </td>
553          <td class="md" valign="top">(&nbsp;</td>
554          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1SceneNode.html">SceneNode</a> *&nbsp;</td>
555          <td class="mdname1" valign="top" nowrap> <em>node</em>          </td>
556          <td class="md" valign="top">&nbsp;)&nbsp;</td>
557          <td class="md" nowrap><code> [virtual]</code></td>
558        </tr>
559
560      </table>
561    </td>
562  </tr>
563</table>
564<table cellspacing=5 cellpadding=0 border=0>
565  <tr>
566    <td>
567      &nbsp;
568    </td>
569    <td>
570
571<p>
572Adds all the <a class="el" href="classOgre_1_1Entity.html">Entity</a> objects attached to a <a class="el" href="classOgre_1_1SceneNode.html">SceneNode</a> and all it's children to the static geometry.
573<p>
574<dl compact><dt><b>Remarks:</b></dt><dd>This method performs just like addEntity, except it adds all the entities attached to an entire sub-tree to the geometry. The position / orientation / scale parameters are taken from the node structure instead of being specified manually. </dd></dl>
575<dl compact><dt><b>Note:</b></dt><dd>The <a class="el" href="classOgre_1_1SceneNode.html">SceneNode</a> you pass in will not be automatically detached from it's parent, so if you have this node already attached to the scene graph, you will need to remove it if you wish to avoid the overhead of rendering <em>both</em> the original objects and their new static versions! We don't do this for you incase you are preparing this in advance and so don't want the originals detached yet. <p>
576Must be called before 'build'. </dd></dl>
577<dl compact><dt><b>Parameters:</b></dt><dd>
578  <table border="0" cellspacing="2" cellpadding="0">
579    <tr><td valign=top><em>node</em>&nbsp;</td><td>Pointer to the node to use to provide a set of <a class="el" href="classOgre_1_1Entity.html">Entity</a> templates</td></tr>
580  </table>
581</dl>
582    </td>
583  </tr>
584</table>
585<a class="anchor" name="Ogre_1_1StaticGeometrya5" doxytag="Ogre::StaticGeometry::build" ></a><p>
586<table class="mdTable" width="100%" 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"> virtual void Ogre::StaticGeometry::build </td>
592          <td class="md" valign="top">(&nbsp;</td>
593          <td class="md" nowrap valign="top">void&nbsp;</td>
594          <td class="mdname1" valign="top" nowrap>          </td>
595          <td class="md" valign="top">&nbsp;)&nbsp;</td>
596          <td class="md" nowrap><code> [virtual]</code></td>
597        </tr>
598
599      </table>
600    </td>
601  </tr>
602</table>
603<table cellspacing=5 cellpadding=0 border=0>
604  <tr>
605    <td>
606      &nbsp;
607    </td>
608    <td>
609
610<p>
611Build the geometry.
612<p>
613<dl compact><dt><b>Remarks:</b></dt><dd>Based on all the entities which have been added, and the batching options which have been set, this method constructs the batched geometry structures required. The batches are added to the scene and will be rendered unless you specifically hide them. </dd></dl>
614<dl compact><dt><b>Note:</b></dt><dd>Once you have called this method, you can no longer add any more entities.</dd></dl>
615    </td>
616  </tr>
617</table>
618<a class="anchor" name="Ogre_1_1StaticGeometryb12" doxytag="Ogre::StaticGeometry::buildIndexRemap" ></a><p>
619<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
620  <tr>
621    <td class="mdRow">
622      <table cellpadding="0" cellspacing="0" border="0">
623        <tr>
624          <td class="md" colspan="4">
625template&lt;typename T&gt; </td>
626        </tr>
627        <tr>
628          <td class="md" nowrap valign="top"> void Ogre::StaticGeometry::buildIndexRemap </td>
629          <td class="md" valign="top">(&nbsp;</td>
630          <td class="md" nowrap valign="top">T *&nbsp;</td>
631          <td class="mdname" nowrap> <em>pBuffer</em>, </td>
632        </tr>
633        <tr>
634          <td class="md" nowrap align="right"></td>
635          <td></td>
636          <td class="md" nowrap>size_t&nbsp;</td>
637          <td class="mdname" nowrap> <em>numIndexes</em>, </td>
638        </tr>
639        <tr>
640          <td class="md" nowrap align="right"></td>
641          <td></td>
642          <td class="md" nowrap><a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryx0">IndexRemap</a> &amp;&nbsp;</td>
643          <td class="mdname" nowrap> <em>remap</em></td>
644        </tr>
645        <tr>
646          <td></td>
647          <td class="md">)&nbsp;</td>
648          <td class="md" colspan="2"><code> [protected]</code></td>
649        </tr>
650
651      </table>
652    </td>
653  </tr>
654</table>
655<table cellspacing=5 cellpadding=0 border=0>
656  <tr>
657    <td>
658      &nbsp;
659    </td>
660    <td>
661
662<p>
663Method for figuring out which vertices are used by an index buffer and calculating a remap lookup for a vertex buffer just containing those vertices.
664<p>
665
666<p>
667Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00537">537</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.
668<p>
669References <a class="el" href="OgreStaticGeometry_8h-source.html#l00531">IndexRemap</a>.    </td>
670  </tr>
671</table>
672<a class="anchor" name="Ogre_1_1StaticGeometryb9" doxytag="Ogre::StaticGeometry::calculateBounds" ></a><p>
673<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
674  <tr>
675    <td class="mdRow">
676      <table cellpadding="0" cellspacing="0" border="0">
677        <tr>
678          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> Ogre::StaticGeometry::calculateBounds </td>
679          <td class="md" valign="top">(&nbsp;</td>
680          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1VertexData.html">VertexData</a> *&nbsp;</td>
681          <td class="mdname" nowrap> <em>vertexData</em>, </td>
682        </tr>
683        <tr>
684          <td class="md" nowrap align="right"></td>
685          <td></td>
686          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
687          <td class="mdname" nowrap> <em>position</em>, </td>
688        </tr>
689        <tr>
690          <td class="md" nowrap align="right"></td>
691          <td></td>
692          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Quaternion.html">Quaternion</a> &amp;&nbsp;</td>
693          <td class="mdname" nowrap> <em>orientation</em>, </td>
694        </tr>
695        <tr>
696          <td class="md" nowrap align="right"></td>
697          <td></td>
698          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
699          <td class="mdname" nowrap> <em>scale</em></td>
700        </tr>
701        <tr>
702          <td></td>
703          <td class="md">)&nbsp;</td>
704          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
705        </tr>
706
707      </table>
708    </td>
709  </tr>
710</table>
711<table cellspacing=5 cellpadding=0 border=0>
712  <tr>
713    <td>
714      &nbsp;
715    </td>
716    <td>
717
718<p>
719Calculate world bounds from a set of vertex data.
720<p>
721    </td>
722  </tr>
723</table>
724<a class="anchor" name="Ogre_1_1StaticGeometrya6" doxytag="Ogre::StaticGeometry::destroy" ></a><p>
725<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
726  <tr>
727    <td class="mdRow">
728      <table cellpadding="0" cellspacing="0" border="0">
729        <tr>
730          <td class="md" nowrap valign="top"> virtual void Ogre::StaticGeometry::destroy </td>
731          <td class="md" valign="top">(&nbsp;</td>
732          <td class="md" nowrap valign="top">void&nbsp;</td>
733          <td class="mdname1" valign="top" nowrap>          </td>
734          <td class="md" valign="top">&nbsp;)&nbsp;</td>
735          <td class="md" nowrap><code> [virtual]</code></td>
736        </tr>
737
738      </table>
739    </td>
740  </tr>
741</table>
742<table cellspacing=5 cellpadding=0 border=0>
743  <tr>
744    <td>
745      &nbsp;
746    </td>
747    <td>
748
749<p>
750Destroys all the built geometry state (reverse of build).
751<p>
752<dl compact><dt><b>Remarks:</b></dt><dd>You can call <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometrya5">build()</a> again after this and it will pick up all the same entities / nodes you queued last time.</dd></dl>
753    </td>
754  </tr>
755</table>
756<a class="anchor" name="Ogre_1_1StaticGeometryb10" doxytag="Ogre::StaticGeometry::determineGeometry" ></a><p>
757<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
758  <tr>
759    <td class="mdRow">
760      <table cellpadding="0" cellspacing="0" border="0">
761        <tr>
762          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw1">SubMeshLodGeometryLinkList</a>* Ogre::StaticGeometry::determineGeometry </td>
763          <td class="md" valign="top">(&nbsp;</td>
764          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> *&nbsp;</td>
765          <td class="mdname1" valign="top" nowrap> <em>sm</em>          </td>
766          <td class="md" valign="top">&nbsp;)&nbsp;</td>
767          <td class="md" nowrap><code> [protected]</code></td>
768        </tr>
769
770      </table>
771    </td>
772  </tr>
773</table>
774<table cellspacing=5 cellpadding=0 border=0>
775  <tr>
776    <td>
777      &nbsp;
778    </td>
779    <td>
780
781<p>
782Look up or calculate the geometry data to use for this <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a>.
783<p>
784    </td>
785  </tr>
786</table>
787<a class="anchor" name="Ogre_1_1StaticGeometrya22" doxytag="Ogre::StaticGeometry::dump" ></a><p>
788<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
789  <tr>
790    <td class="mdRow">
791      <table cellpadding="0" cellspacing="0" border="0">
792        <tr>
793          <td class="md" nowrap valign="top"> virtual void Ogre::StaticGeometry::dump </td>
794          <td class="md" valign="top">(&nbsp;</td>
795          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a426">String</a> &amp;&nbsp;</td>
796          <td class="mdname1" valign="top" nowrap> <em>filename</em>          </td>
797          <td class="md" valign="top">&nbsp;)&nbsp;</td>
798          <td class="md" nowrap> const<code> [virtual]</code></td>
799        </tr>
800
801      </table>
802    </td>
803  </tr>
804</table>
805<table cellspacing=5 cellpadding=0 border=0>
806  <tr>
807    <td>
808      &nbsp;
809    </td>
810    <td>
811
812<p>
813Dump the contents of this <a class="el" href="classOgre_1_1StaticGeometry.html">StaticGeometry</a> to a file for diagnostic purposes.
814<p>
815    </td>
816  </tr>
817</table>
818<a class="anchor" name="Ogre_1_1StaticGeometrya14" doxytag="Ogre::StaticGeometry::getCastShadows" ></a><p>
819<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
820  <tr>
821    <td class="mdRow">
822      <table cellpadding="0" cellspacing="0" border="0">
823        <tr>
824          <td class="md" nowrap valign="top"> virtual bool Ogre::StaticGeometry::getCastShadows </td>
825          <td class="md" valign="top">(&nbsp;</td>
826          <td class="md" nowrap valign="top">void&nbsp;</td>
827          <td class="mdname1" valign="top" nowrap>          </td>
828          <td class="md" valign="top">&nbsp;)&nbsp;</td>
829          <td class="md" nowrap><code> [virtual]</code></td>
830        </tr>
831
832      </table>
833    </td>
834  </tr>
835</table>
836<table cellspacing=5 cellpadding=0 border=0>
837  <tr>
838    <td>
839      &nbsp;
840    </td>
841    <td>
842
843<p>
844Will the geometry from this object cast shadows?
845<p>
846
847<p>
848Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00682">682</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
849  </tr>
850</table>
851<a class="anchor" name="Ogre_1_1StaticGeometrya2" doxytag="Ogre::StaticGeometry::getName" ></a><p>
852<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
853  <tr>
854    <td class="mdRow">
855      <table cellpadding="0" cellspacing="0" border="0">
856        <tr>
857          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a426">String</a>&amp; Ogre::StaticGeometry::getName </td>
858          <td class="md" valign="top">(&nbsp;</td>
859          <td class="md" nowrap valign="top">void&nbsp;</td>
860          <td class="mdname1" valign="top" nowrap>          </td>
861          <td class="md" valign="top">&nbsp;)&nbsp;</td>
862          <td class="md" nowrap> const</td>
863        </tr>
864
865      </table>
866    </td>
867  </tr>
868</table>
869<table cellspacing=5 cellpadding=0 border=0>
870  <tr>
871    <td>
872      &nbsp;
873    </td>
874    <td>
875
876<p>
877Get the name of this object.
878<p>
879
880<p>
881Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00569">569</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.
882<p>
883References <a class="el" href="OgrePrerequisites_8h-source.html#l00154">Ogre::String</a>.    </td>
884  </tr>
885</table>
886<a class="anchor" name="Ogre_1_1StaticGeometrya18" doxytag="Ogre::StaticGeometry::getOrigin" ></a><p>
887<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
888  <tr>
889    <td class="mdRow">
890      <table cellpadding="0" cellspacing="0" border="0">
891        <tr>
892          <td class="md" nowrap valign="top"> virtual const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&amp; Ogre::StaticGeometry::getOrigin </td>
893          <td class="md" valign="top">(&nbsp;</td>
894          <td class="md" nowrap valign="top">void&nbsp;</td>
895          <td class="mdname1" valign="top" nowrap>          </td>
896          <td class="md" valign="top">&nbsp;)&nbsp;</td>
897          <td class="md" nowrap> const<code> [virtual]</code></td>
898        </tr>
899
900      </table>
901    </td>
902  </tr>
903</table>
904<table cellspacing=5 cellpadding=0 border=0>
905  <tr>
906    <td>
907      &nbsp;
908    </td>
909    <td>
910
911<p>
912Gets the origin of this geometry.
913<p>
914
915<p>
916Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00713">713</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
917  </tr>
918</table>
919<a class="anchor" name="Ogre_1_1StaticGeometryb3" doxytag="Ogre::StaticGeometry::getRegion" ></a><p>
920<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
921  <tr>
922    <td class="mdRow">
923      <table cellpadding="0" cellspacing="0" border="0">
924        <tr>
925          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1StaticGeometry_1_1Region.html">Region</a>* Ogre::StaticGeometry::getRegion </td>
926          <td class="md" valign="top">(&nbsp;</td>
927          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a412">uint32</a>&nbsp;</td>
928          <td class="mdname1" valign="top" nowrap> <em>index</em>          </td>
929          <td class="md" valign="top">&nbsp;)&nbsp;</td>
930          <td class="md" nowrap><code> [protected, virtual]</code></td>
931        </tr>
932
933      </table>
934    </td>
935  </tr>
936</table>
937<table cellspacing=5 cellpadding=0 border=0>
938  <tr>
939    <td>
940      &nbsp;
941    </td>
942    <td>
943
944<p>
945Get the region using a packed index, returns null if it doesn't exist.
946<p>
947    </td>
948  </tr>
949</table>
950<a class="anchor" name="Ogre_1_1StaticGeometryb2" doxytag="Ogre::StaticGeometry::getRegion" ></a><p>
951<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
952  <tr>
953    <td class="mdRow">
954      <table cellpadding="0" cellspacing="0" border="0">
955        <tr>
956          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1StaticGeometry_1_1Region.html">Region</a>* Ogre::StaticGeometry::getRegion </td>
957          <td class="md" valign="top">(&nbsp;</td>
958          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a422">ushort</a>&nbsp;</td>
959          <td class="mdname" nowrap> <em>x</em>, </td>
960        </tr>
961        <tr>
962          <td class="md" nowrap align="right"></td>
963          <td></td>
964          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a>&nbsp;</td>
965          <td class="mdname" nowrap> <em>y</em>, </td>
966        </tr>
967        <tr>
968          <td class="md" nowrap align="right"></td>
969          <td></td>
970          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a>&nbsp;</td>
971          <td class="mdname" nowrap> <em>z</em>, </td>
972        </tr>
973        <tr>
974          <td class="md" nowrap align="right"></td>
975          <td></td>
976          <td class="md" nowrap>bool&nbsp;</td>
977          <td class="mdname" nowrap> <em>autoCreate</em></td>
978        </tr>
979        <tr>
980          <td></td>
981          <td class="md">)&nbsp;</td>
982          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
983        </tr>
984
985      </table>
986    </td>
987  </tr>
988</table>
989<table cellspacing=5 cellpadding=0 border=0>
990  <tr>
991    <td>
992      &nbsp;
993    </td>
994    <td>
995
996<p>
997Get the region using indexes.
998<p>
999    </td>
1000  </tr>
1001</table>
1002<a class="anchor" name="Ogre_1_1StaticGeometryb1" doxytag="Ogre::StaticGeometry::getRegion" ></a><p>
1003<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1004  <tr>
1005    <td class="mdRow">
1006      <table cellpadding="0" cellspacing="0" border="0">
1007        <tr>
1008          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1StaticGeometry_1_1Region.html">Region</a>* Ogre::StaticGeometry::getRegion </td>
1009          <td class="md" valign="top">(&nbsp;</td>
1010          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1011          <td class="mdname" nowrap> <em>point</em>, </td>
1012        </tr>
1013        <tr>
1014          <td class="md" nowrap align="right"></td>
1015          <td></td>
1016          <td class="md" nowrap>bool&nbsp;</td>
1017          <td class="mdname" nowrap> <em>autoCreate</em></td>
1018        </tr>
1019        <tr>
1020          <td></td>
1021          <td class="md">)&nbsp;</td>
1022          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
1023        </tr>
1024
1025      </table>
1026    </td>
1027  </tr>
1028</table>
1029<table cellspacing=5 cellpadding=0 border=0>
1030  <tr>
1031    <td>
1032      &nbsp;
1033    </td>
1034    <td>
1035
1036<p>
1037Get the region within which a point lies.
1038<p>
1039    </td>
1040  </tr>
1041</table>
1042<a class="anchor" name="Ogre_1_1StaticGeometryb0" doxytag="Ogre::StaticGeometry::getRegion" ></a><p>
1043<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1044  <tr>
1045    <td class="mdRow">
1046      <table cellpadding="0" cellspacing="0" border="0">
1047        <tr>
1048          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1StaticGeometry_1_1Region.html">Region</a>* Ogre::StaticGeometry::getRegion </td>
1049          <td class="md" valign="top">(&nbsp;</td>
1050          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> &amp;&nbsp;</td>
1051          <td class="mdname" nowrap> <em>bounds</em>, </td>
1052        </tr>
1053        <tr>
1054          <td class="md" nowrap align="right"></td>
1055          <td></td>
1056          <td class="md" nowrap>bool&nbsp;</td>
1057          <td class="mdname" nowrap> <em>autoCreate</em></td>
1058        </tr>
1059        <tr>
1060          <td></td>
1061          <td class="md">)&nbsp;</td>
1062          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
1063        </tr>
1064
1065      </table>
1066    </td>
1067  </tr>
1068</table>
1069<table cellspacing=5 cellpadding=0 border=0>
1070  <tr>
1071    <td>
1072      &nbsp;
1073    </td>
1074    <td>
1075
1076<p>
1077Virtual method for getting a region most suitable for the passed in bounds.
1078<p>
1079Can be overridden by subclasses.    </td>
1080  </tr>
1081</table>
1082<a class="anchor" name="Ogre_1_1StaticGeometryb7" doxytag="Ogre::StaticGeometry::getRegionBounds" ></a><p>
1083<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1084  <tr>
1085    <td class="mdRow">
1086      <table cellpadding="0" cellspacing="0" border="0">
1087        <tr>
1088          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> Ogre::StaticGeometry::getRegionBounds </td>
1089          <td class="md" valign="top">(&nbsp;</td>
1090          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a422">ushort</a>&nbsp;</td>
1091          <td class="mdname" nowrap> <em>x</em>, </td>
1092        </tr>
1093        <tr>
1094          <td class="md" nowrap align="right"></td>
1095          <td></td>
1096          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a>&nbsp;</td>
1097          <td class="mdname" nowrap> <em>y</em>, </td>
1098        </tr>
1099        <tr>
1100          <td class="md" nowrap align="right"></td>
1101          <td></td>
1102          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a>&nbsp;</td>
1103          <td class="mdname" nowrap> <em>z</em></td>
1104        </tr>
1105        <tr>
1106          <td></td>
1107          <td class="md">)&nbsp;</td>
1108          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
1109        </tr>
1110
1111      </table>
1112    </td>
1113  </tr>
1114</table>
1115<table cellspacing=5 cellpadding=0 border=0>
1116  <tr>
1117    <td>
1118      &nbsp;
1119    </td>
1120    <td>
1121
1122<p>
1123Get the bounds of an indexed region.
1124<p>
1125    </td>
1126  </tr>
1127</table>
1128<a class="anchor" name="Ogre_1_1StaticGeometryb8" doxytag="Ogre::StaticGeometry::getRegionCentre" ></a><p>
1129<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1130  <tr>
1131    <td class="mdRow">
1132      <table cellpadding="0" cellspacing="0" border="0">
1133        <tr>
1134          <td class="md" nowrap valign="top"> virtual <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::StaticGeometry::getRegionCentre </td>
1135          <td class="md" valign="top">(&nbsp;</td>
1136          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a422">ushort</a>&nbsp;</td>
1137          <td class="mdname" nowrap> <em>x</em>, </td>
1138        </tr>
1139        <tr>
1140          <td class="md" nowrap align="right"></td>
1141          <td></td>
1142          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a>&nbsp;</td>
1143          <td class="mdname" nowrap> <em>y</em>, </td>
1144        </tr>
1145        <tr>
1146          <td class="md" nowrap align="right"></td>
1147          <td></td>
1148          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a>&nbsp;</td>
1149          <td class="mdname" nowrap> <em>z</em></td>
1150        </tr>
1151        <tr>
1152          <td></td>
1153          <td class="md">)&nbsp;</td>
1154          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
1155        </tr>
1156
1157      </table>
1158    </td>
1159  </tr>
1160</table>
1161<table cellspacing=5 cellpadding=0 border=0>
1162  <tr>
1163    <td>
1164      &nbsp;
1165    </td>
1166    <td>
1167
1168<p>
1169Get the centre of an indexed region.
1170<p>
1171    </td>
1172  </tr>
1173</table>
1174<a class="anchor" name="Ogre_1_1StaticGeometrya16" doxytag="Ogre::StaticGeometry::getRegionDimensions" ></a><p>
1175<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1176  <tr>
1177    <td class="mdRow">
1178      <table cellpadding="0" cellspacing="0" border="0">
1179        <tr>
1180          <td class="md" nowrap valign="top"> virtual const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&amp; Ogre::StaticGeometry::getRegionDimensions </td>
1181          <td class="md" valign="top">(&nbsp;</td>
1182          <td class="md" nowrap valign="top">void&nbsp;</td>
1183          <td class="mdname1" valign="top" nowrap>          </td>
1184          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1185          <td class="md" nowrap> const<code> [virtual]</code></td>
1186        </tr>
1187
1188      </table>
1189    </td>
1190  </tr>
1191</table>
1192<table cellspacing=5 cellpadding=0 border=0>
1193  <tr>
1194    <td>
1195      &nbsp;
1196    </td>
1197    <td>
1198
1199<p>
1200Gets the size of a single batch of geometry.
1201<p>
1202
1203<p>
1204Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00699">699</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
1205  </tr>
1206</table>
1207<a class="anchor" name="Ogre_1_1StaticGeometryb4" doxytag="Ogre::StaticGeometry::getRegionIndexes" ></a><p>
1208<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1209  <tr>
1210    <td class="mdRow">
1211      <table cellpadding="0" cellspacing="0" border="0">
1212        <tr>
1213          <td class="md" nowrap valign="top"> virtual void Ogre::StaticGeometry::getRegionIndexes </td>
1214          <td class="md" valign="top">(&nbsp;</td>
1215          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1216          <td class="mdname" nowrap> <em>point</em>, </td>
1217        </tr>
1218        <tr>
1219          <td class="md" nowrap align="right"></td>
1220          <td></td>
1221          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a> &amp;&nbsp;</td>
1222          <td class="mdname" nowrap> <em>x</em>, </td>
1223        </tr>
1224        <tr>
1225          <td class="md" nowrap align="right"></td>
1226          <td></td>
1227          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a> &amp;&nbsp;</td>
1228          <td class="mdname" nowrap> <em>y</em>, </td>
1229        </tr>
1230        <tr>
1231          <td class="md" nowrap align="right"></td>
1232          <td></td>
1233          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a> &amp;&nbsp;</td>
1234          <td class="mdname" nowrap> <em>z</em></td>
1235        </tr>
1236        <tr>
1237          <td></td>
1238          <td class="md">)&nbsp;</td>
1239          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
1240        </tr>
1241
1242      </table>
1243    </td>
1244  </tr>
1245</table>
1246<table cellspacing=5 cellpadding=0 border=0>
1247  <tr>
1248    <td>
1249      &nbsp;
1250    </td>
1251    <td>
1252
1253<p>
1254Get the region indexes for a point.
1255<p>
1256    </td>
1257  </tr>
1258</table>
1259<a class="anchor" name="Ogre_1_1StaticGeometrya21" doxytag="Ogre::StaticGeometry::getRegionIterator" ></a><p>
1260<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1261  <tr>
1262    <td class="mdRow">
1263      <table cellpadding="0" cellspacing="0" border="0">
1264        <tr>
1265          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1MapIterator.html">RegionIterator</a> Ogre::StaticGeometry::getRegionIterator </td>
1266          <td class="md" valign="top">(&nbsp;</td>
1267          <td class="md" nowrap valign="top">void&nbsp;</td>
1268          <td class="mdname1" valign="top" nowrap>          </td>
1269          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1270          <td class="md" nowrap></td>
1271        </tr>
1272
1273      </table>
1274    </td>
1275  </tr>
1276</table>
1277<table cellspacing=5 cellpadding=0 border=0>
1278  <tr>
1279    <td>
1280      &nbsp;
1281    </td>
1282    <td>
1283
1284<p>
1285Get an iterator over the regions in this geometry.
1286<p>
1287    </td>
1288  </tr>
1289</table>
1290<a class="anchor" name="Ogre_1_1StaticGeometrya9" doxytag="Ogre::StaticGeometry::getRenderingDistance" ></a><p>
1291<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1292  <tr>
1293    <td class="mdRow">
1294      <table cellpadding="0" cellspacing="0" border="0">
1295        <tr>
1296          <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::StaticGeometry::getRenderingDistance </td>
1297          <td class="md" valign="top">(&nbsp;</td>
1298          <td class="md" nowrap valign="top">void&nbsp;</td>
1299          <td class="mdname1" valign="top" nowrap>          </td>
1300          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1301          <td class="md" nowrap> const<code> [virtual]</code></td>
1302        </tr>
1303
1304      </table>
1305    </td>
1306  </tr>
1307</table>
1308<table cellspacing=5 cellpadding=0 border=0>
1309  <tr>
1310    <td>
1311      &nbsp;
1312    </td>
1313    <td>
1314
1315<p>
1316Gets the distance at which batches are no longer rendered.
1317<p>
1318
1319<p>
1320Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00651">651</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.
1321<p>
1322References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
1323  </tr>
1324</table>
1325<a class="anchor" name="Ogre_1_1StaticGeometrya20" doxytag="Ogre::StaticGeometry::getRenderQueueGroup" ></a><p>
1326<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1327  <tr>
1328    <td class="mdRow">
1329      <table cellpadding="0" cellspacing="0" border="0">
1330        <tr>
1331          <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a669">RenderQueueGroupID</a> Ogre::StaticGeometry::getRenderQueueGroup </td>
1332          <td class="md" valign="top">(&nbsp;</td>
1333          <td class="md" nowrap valign="top">void&nbsp;</td>
1334          <td class="mdname1" valign="top" nowrap>          </td>
1335          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1336          <td class="md" nowrap> const<code> [virtual]</code></td>
1337        </tr>
1338
1339      </table>
1340    </td>
1341  </tr>
1342</table>
1343<table cellspacing=5 cellpadding=0 border=0>
1344  <tr>
1345    <td>
1346      &nbsp;
1347    </td>
1348    <td>
1349
1350<p>
1351Gets the queue group for this entity, see setRenderQueueGroup for full details.
1352<p>
1353    </td>
1354  </tr>
1355</table>
1356<a class="anchor" name="Ogre_1_1StaticGeometrya10" doxytag="Ogre::StaticGeometry::getSquaredRenderingDistance" ></a><p>
1357<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1358  <tr>
1359    <td class="mdRow">
1360      <table cellpadding="0" cellspacing="0" border="0">
1361        <tr>
1362          <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::StaticGeometry::getSquaredRenderingDistance </td>
1363          <td class="md" valign="top">(&nbsp;</td>
1364          <td class="md" nowrap valign="top">void&nbsp;</td>
1365          <td class="mdname1" valign="top" nowrap>          </td>
1366          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1367          <td class="md" nowrap> const<code> [virtual]</code></td>
1368        </tr>
1369
1370      </table>
1371    </td>
1372  </tr>
1373</table>
1374<table cellspacing=5 cellpadding=0 border=0>
1375  <tr>
1376    <td>
1377      &nbsp;
1378    </td>
1379    <td>
1380
1381<p>
1382Gets the squared distance at which batches are no longer rendered.
1383<p>
1384
1385<p>
1386Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00654">654</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.
1387<p>
1388References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
1389  </tr>
1390</table>
1391<a class="anchor" name="Ogre_1_1StaticGeometryb6" doxytag="Ogre::StaticGeometry::getVolumeIntersection" ></a><p>
1392<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1393  <tr>
1394    <td class="mdRow">
1395      <table cellpadding="0" cellspacing="0" border="0">
1396        <tr>
1397          <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::StaticGeometry::getVolumeIntersection </td>
1398          <td class="md" valign="top">(&nbsp;</td>
1399          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> &amp;&nbsp;</td>
1400          <td class="mdname" nowrap> <em>box</em>, </td>
1401        </tr>
1402        <tr>
1403          <td class="md" nowrap align="right"></td>
1404          <td></td>
1405          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a>&nbsp;</td>
1406          <td class="mdname" nowrap> <em>x</em>, </td>
1407        </tr>
1408        <tr>
1409          <td class="md" nowrap align="right"></td>
1410          <td></td>
1411          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a>&nbsp;</td>
1412          <td class="mdname" nowrap> <em>y</em>, </td>
1413        </tr>
1414        <tr>
1415          <td class="md" nowrap align="right"></td>
1416          <td></td>
1417          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a>&nbsp;</td>
1418          <td class="mdname" nowrap> <em>z</em></td>
1419        </tr>
1420        <tr>
1421          <td></td>
1422          <td class="md">)&nbsp;</td>
1423          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
1424        </tr>
1425
1426      </table>
1427    </td>
1428  </tr>
1429</table>
1430<table cellspacing=5 cellpadding=0 border=0>
1431  <tr>
1432    <td>
1433      &nbsp;
1434    </td>
1435    <td>
1436
1437<p>
1438Get the volume intersection for an indexed region with some bounds.
1439<p>
1440    </td>
1441  </tr>
1442</table>
1443<a class="anchor" name="Ogre_1_1StaticGeometrya12" doxytag="Ogre::StaticGeometry::isVisible" ></a><p>
1444<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1445  <tr>
1446    <td class="mdRow">
1447      <table cellpadding="0" cellspacing="0" border="0">
1448        <tr>
1449          <td class="md" nowrap valign="top"> virtual bool Ogre::StaticGeometry::isVisible </td>
1450          <td class="md" valign="top">(&nbsp;</td>
1451          <td class="md" nowrap valign="top">void&nbsp;</td>
1452          <td class="mdname1" valign="top" nowrap>          </td>
1453          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1454          <td class="md" nowrap> const<code> [virtual]</code></td>
1455        </tr>
1456
1457      </table>
1458    </td>
1459  </tr>
1460</table>
1461<table cellspacing=5 cellpadding=0 border=0>
1462  <tr>
1463    <td>
1464      &nbsp;
1465    </td>
1466    <td>
1467
1468<p>
1469Are the batches visible?
1470<p>
1471
1472<p>
1473Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00661">661</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
1474  </tr>
1475</table>
1476<a class="anchor" name="Ogre_1_1StaticGeometryb5" doxytag="Ogre::StaticGeometry::packIndex" ></a><p>
1477<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1478  <tr>
1479    <td class="mdRow">
1480      <table cellpadding="0" cellspacing="0" border="0">
1481        <tr>
1482          <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a412">uint32</a> Ogre::StaticGeometry::packIndex </td>
1483          <td class="md" valign="top">(&nbsp;</td>
1484          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a422">ushort</a>&nbsp;</td>
1485          <td class="mdname" nowrap> <em>x</em>, </td>
1486        </tr>
1487        <tr>
1488          <td class="md" nowrap align="right"></td>
1489          <td></td>
1490          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a>&nbsp;</td>
1491          <td class="mdname" nowrap> <em>y</em>, </td>
1492        </tr>
1493        <tr>
1494          <td class="md" nowrap align="right"></td>
1495          <td></td>
1496          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a422">ushort</a>&nbsp;</td>
1497          <td class="mdname" nowrap> <em>z</em></td>
1498        </tr>
1499        <tr>
1500          <td></td>
1501          <td class="md">)&nbsp;</td>
1502          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
1503        </tr>
1504
1505      </table>
1506    </td>
1507  </tr>
1508</table>
1509<table cellspacing=5 cellpadding=0 border=0>
1510  <tr>
1511    <td>
1512      &nbsp;
1513    </td>
1514    <td>
1515
1516<p>
1517Pack 3 indexes into a single index value.
1518<p>
1519    </td>
1520  </tr>
1521</table>
1522<a class="anchor" name="Ogre_1_1StaticGeometryb13" doxytag="Ogre::StaticGeometry::remapIndexes" ></a><p>
1523<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1524  <tr>
1525    <td class="mdRow">
1526      <table cellpadding="0" cellspacing="0" border="0">
1527        <tr>
1528          <td class="md" colspan="4">
1529template&lt;typename T&gt; </td>
1530        </tr>
1531        <tr>
1532          <td class="md" nowrap valign="top"> void Ogre::StaticGeometry::remapIndexes </td>
1533          <td class="md" valign="top">(&nbsp;</td>
1534          <td class="md" nowrap valign="top">T *&nbsp;</td>
1535          <td class="mdname" nowrap> <em>src</em>, </td>
1536        </tr>
1537        <tr>
1538          <td class="md" nowrap align="right"></td>
1539          <td></td>
1540          <td class="md" nowrap>T *&nbsp;</td>
1541          <td class="mdname" nowrap> <em>dst</em>, </td>
1542        </tr>
1543        <tr>
1544          <td class="md" nowrap align="right"></td>
1545          <td></td>
1546          <td class="md" nowrap>const <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryx0">IndexRemap</a> &amp;&nbsp;</td>
1547          <td class="mdname" nowrap> <em>remap</em>, </td>
1548        </tr>
1549        <tr>
1550          <td class="md" nowrap align="right"></td>
1551          <td></td>
1552          <td class="md" nowrap>size_t&nbsp;</td>
1553          <td class="mdname" nowrap> <em>numIndexes</em></td>
1554        </tr>
1555        <tr>
1556          <td></td>
1557          <td class="md">)&nbsp;</td>
1558          <td class="md" colspan="2"><code> [protected]</code></td>
1559        </tr>
1560
1561      </table>
1562    </td>
1563  </tr>
1564</table>
1565<table cellspacing=5 cellpadding=0 border=0>
1566  <tr>
1567    <td>
1568      &nbsp;
1569    </td>
1570    <td>
1571
1572<p>
1573Method for altering indexes based on a remap.
1574<p>
1575
1576<p>
1577Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00550">550</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.
1578<p>
1579References <a class="el" href="OgreStaticGeometry_8h-source.html#l00531">IndexRemap</a>.    </td>
1580  </tr>
1581</table>
1582<a class="anchor" name="Ogre_1_1StaticGeometrya7" doxytag="Ogre::StaticGeometry::reset" ></a><p>
1583<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1584  <tr>
1585    <td class="mdRow">
1586      <table cellpadding="0" cellspacing="0" border="0">
1587        <tr>
1588          <td class="md" nowrap valign="top"> virtual void Ogre::StaticGeometry::reset </td>
1589          <td class="md" valign="top">(&nbsp;</td>
1590          <td class="md" nowrap valign="top">void&nbsp;</td>
1591          <td class="mdname1" valign="top" nowrap>          </td>
1592          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1593          <td class="md" nowrap><code> [virtual]</code></td>
1594        </tr>
1595
1596      </table>
1597    </td>
1598  </tr>
1599</table>
1600<table cellspacing=5 cellpadding=0 border=0>
1601  <tr>
1602    <td>
1603      &nbsp;
1604    </td>
1605    <td>
1606
1607<p>
1608Clears any of the entities / nodes added to this geometry and destroys anything which has already been built.
1609<p>
1610    </td>
1611  </tr>
1612</table>
1613<a class="anchor" name="Ogre_1_1StaticGeometrya13" doxytag="Ogre::StaticGeometry::setCastShadows" ></a><p>
1614<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1615  <tr>
1616    <td class="mdRow">
1617      <table cellpadding="0" cellspacing="0" border="0">
1618        <tr>
1619          <td class="md" nowrap valign="top"> virtual void Ogre::StaticGeometry::setCastShadows </td>
1620          <td class="md" valign="top">(&nbsp;</td>
1621          <td class="md" nowrap valign="top">bool&nbsp;</td>
1622          <td class="mdname1" valign="top" nowrap> <em>castShadows</em>          </td>
1623          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1624          <td class="md" nowrap><code> [virtual]</code></td>
1625        </tr>
1626
1627      </table>
1628    </td>
1629  </tr>
1630</table>
1631<table cellspacing=5 cellpadding=0 border=0>
1632  <tr>
1633    <td>
1634      &nbsp;
1635    </td>
1636    <td>
1637
1638<p>
1639Sets whether this geometry should cast shadows.
1640<p>
1641<dl compact><dt><b>Remarks:</b></dt><dd>No matter what the settings on the original entities, the <a class="el" href="classOgre_1_1StaticGeometry.html">StaticGeometry</a> class defaults to not casting shadows. This is because, being static, unless you have moving lights you'd be better to use precalculated shadows of some sort. However, if you need them, you can enable them using this method. If the <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a> is set up to use stencil shadows, edge lists will be copied from the underlying meshes on build. It is essential that all meshes support stencil shadows in this case. </dd></dl>
1642<dl compact><dt><b>Note:</b></dt><dd>If you intend to use stencil shadows, you must set this to true before calling 'build' as well as making sure you set the scene's shadow type (that should always be the first thing you do anyway). You can turn shadows off temporarily but they can never be turned on if they were not at the time of the build.</dd></dl>
1643    </td>
1644  </tr>
1645</table>
1646<a class="anchor" name="Ogre_1_1StaticGeometrya17" doxytag="Ogre::StaticGeometry::setOrigin" ></a><p>
1647<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1648  <tr>
1649    <td class="mdRow">
1650      <table cellpadding="0" cellspacing="0" border="0">
1651        <tr>
1652          <td class="md" nowrap valign="top"> virtual void Ogre::StaticGeometry::setOrigin </td>
1653          <td class="md" valign="top">(&nbsp;</td>
1654          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1655          <td class="mdname1" valign="top" nowrap> <em>origin</em>          </td>
1656          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1657          <td class="md" nowrap><code> [virtual]</code></td>
1658        </tr>
1659
1660      </table>
1661    </td>
1662  </tr>
1663</table>
1664<table cellspacing=5 cellpadding=0 border=0>
1665  <tr>
1666    <td>
1667      &nbsp;
1668    </td>
1669    <td>
1670
1671<p>
1672Sets the origin of the geometry.
1673<p>
1674<dl compact><dt><b>Remarks:</b></dt><dd>This method allows you to configure the world centre of the geometry, thus the place which all regions surround. You probably don't need to mess with this unless you have a seriously large world, since the default set up can handle an area 1024 * mRegionDimensions, and the sparseness of population is no issue when it comes to rendering. The default is Vector3(0,0,0). </dd></dl>
1675<dl compact><dt><b>Note:</b></dt><dd>Must be called before 'build'. </dd></dl>
1676<dl compact><dt><b>Parameters:</b></dt><dd>
1677  <table border="0" cellspacing="2" cellpadding="0">
1678    <tr><td valign=top><em>size</em>&nbsp;</td><td><a class="el" href="classOgre_1_1Vector3.html">Vector3</a> expressing the 3D origin of the geometry.</td></tr>
1679  </table>
1680</dl>
1681
1682<p>
1683Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00711">711</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
1684  </tr>
1685</table>
1686<a class="anchor" name="Ogre_1_1StaticGeometrya15" doxytag="Ogre::StaticGeometry::setRegionDimensions" ></a><p>
1687<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1688  <tr>
1689    <td class="mdRow">
1690      <table cellpadding="0" cellspacing="0" border="0">
1691        <tr>
1692          <td class="md" nowrap valign="top"> virtual void Ogre::StaticGeometry::setRegionDimensions </td>
1693          <td class="md" valign="top">(&nbsp;</td>
1694          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
1695          <td class="mdname1" valign="top" nowrap> <em>size</em>          </td>
1696          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1697          <td class="md" nowrap><code> [virtual]</code></td>
1698        </tr>
1699
1700      </table>
1701    </td>
1702  </tr>
1703</table>
1704<table cellspacing=5 cellpadding=0 border=0>
1705  <tr>
1706    <td>
1707      &nbsp;
1708    </td>
1709    <td>
1710
1711<p>
1712Sets the size of a single region of geometry.
1713<p>
1714<dl compact><dt><b>Remarks:</b></dt><dd>This method allows you to configure the physical world size of each region, so you can balance culling against batch size. Entities will be fitted within the batch they most closely fit, and the eventual bounds of each batch may well be slightly larger than this if they overlap a little. The default is Vector3(1000, 1000, 1000). </dd></dl>
1715<dl compact><dt><b>Note:</b></dt><dd>Must be called before 'build'. </dd></dl>
1716<dl compact><dt><b>Parameters:</b></dt><dd>
1717  <table border="0" cellspacing="2" cellpadding="0">
1718    <tr><td valign=top><em>size</em>&nbsp;</td><td><a class="el" href="classOgre_1_1Vector3.html">Vector3</a> expressing the 3D size of each region.</td></tr>
1719  </table>
1720</dl>
1721
1722<p>
1723Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00694">694</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
1724  </tr>
1725</table>
1726<a class="anchor" name="Ogre_1_1StaticGeometrya8" doxytag="Ogre::StaticGeometry::setRenderingDistance" ></a><p>
1727<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1728  <tr>
1729    <td class="mdRow">
1730      <table cellpadding="0" cellspacing="0" border="0">
1731        <tr>
1732          <td class="md" nowrap valign="top"> virtual void Ogre::StaticGeometry::setRenderingDistance </td>
1733          <td class="md" valign="top">(&nbsp;</td>
1734          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a>&nbsp;</td>
1735          <td class="mdname1" valign="top" nowrap> <em>dist</em>          </td>
1736          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1737          <td class="md" nowrap><code> [virtual]</code></td>
1738        </tr>
1739
1740      </table>
1741    </td>
1742  </tr>
1743</table>
1744<table cellspacing=5 cellpadding=0 border=0>
1745  <tr>
1746    <td>
1747      &nbsp;
1748    </td>
1749    <td>
1750
1751<p>
1752Sets the distance at which batches are no longer rendered.
1753<p>
1754<dl compact><dt><b>Remarks:</b></dt><dd>This lets you turn off batches at a given distance. This can be useful for things like detail meshes (grass, foliage etc) and could be combined with a shader which fades the geometry out beforehand to lessen the effect. </dd></dl>
1755<dl compact><dt><b>Parameters:</b></dt><dd>
1756  <table border="0" cellspacing="2" cellpadding="0">
1757    <tr><td valign=top><em>dist</em>&nbsp;</td><td>Distance beyond which the batches will not be rendered (the default is 0, which means batches are always rendered).</td></tr>
1758  </table>
1759</dl>
1760
1761<p>
1762Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00645">645</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.
1763<p>
1764References <a class="el" href="OgrePrerequisites_8h-source.html#l00111">Ogre::Real</a>.    </td>
1765  </tr>
1766</table>
1767<a class="anchor" name="Ogre_1_1StaticGeometrya19" doxytag="Ogre::StaticGeometry::setRenderQueueGroup" ></a><p>
1768<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1769  <tr>
1770    <td class="mdRow">
1771      <table cellpadding="0" cellspacing="0" border="0">
1772        <tr>
1773          <td class="md" nowrap valign="top"> virtual void Ogre::StaticGeometry::setRenderQueueGroup </td>
1774          <td class="md" valign="top">(&nbsp;</td>
1775          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a669">RenderQueueGroupID</a>&nbsp;</td>
1776          <td class="mdname1" valign="top" nowrap> <em>queueID</em>          </td>
1777          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1778          <td class="md" nowrap><code> [virtual]</code></td>
1779        </tr>
1780
1781      </table>
1782    </td>
1783  </tr>
1784</table>
1785<table cellspacing=5 cellpadding=0 border=0>
1786  <tr>
1787    <td>
1788      &nbsp;
1789    </td>
1790    <td>
1791
1792<p>
1793Sets the render queue group this object will be rendered through.
1794<p>
1795<dl compact><dt><b>Remarks:</b></dt><dd>Render queues are grouped to allow you to more tightly control the ordering of rendered objects. If you do not call this method, all objects default to the default queue (<a class="el" href="classOgre_1_1RenderQueue.html#Ogre_1_1RenderQueuea7">RenderQueue::getDefaultQueueGroup</a>), which is fine for most objects. You may want to alter this if you want to perform more complex rendering. </dd></dl>
1796<dl compact><dt><b></b></dt><dd>See <a class="el" href="classOgre_1_1RenderQueue.html">RenderQueue</a> for more details. </dd></dl>
1797<dl compact><dt><b>Parameters:</b></dt><dd>
1798  <table border="0" cellspacing="2" cellpadding="0">
1799    <tr><td valign=top><em>queueID</em>&nbsp;</td><td>Enumerated value of the queue group to use. </td></tr>
1800  </table>
1801</dl>
1802    </td>
1803  </tr>
1804</table>
1805<a class="anchor" name="Ogre_1_1StaticGeometrya11" doxytag="Ogre::StaticGeometry::setVisible" ></a><p>
1806<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1807  <tr>
1808    <td class="mdRow">
1809      <table cellpadding="0" cellspacing="0" border="0">
1810        <tr>
1811          <td class="md" nowrap valign="top"> virtual void Ogre::StaticGeometry::setVisible </td>
1812          <td class="md" valign="top">(&nbsp;</td>
1813          <td class="md" nowrap valign="top">bool&nbsp;</td>
1814          <td class="mdname1" valign="top" nowrap> <em>visible</em>          </td>
1815          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1816          <td class="md" nowrap><code> [virtual]</code></td>
1817        </tr>
1818
1819      </table>
1820    </td>
1821  </tr>
1822</table>
1823<table cellspacing=5 cellpadding=0 border=0>
1824  <tr>
1825    <td>
1826      &nbsp;
1827    </td>
1828    <td>
1829
1830<p>
1831Hides or shows all the batches.
1832<p>
1833    </td>
1834  </tr>
1835</table>
1836<a class="anchor" name="Ogre_1_1StaticGeometryb11" doxytag="Ogre::StaticGeometry::splitGeometry" ></a><p>
1837<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1838  <tr>
1839    <td class="mdRow">
1840      <table cellpadding="0" cellspacing="0" border="0">
1841        <tr>
1842          <td class="md" nowrap valign="top"> void Ogre::StaticGeometry::splitGeometry </td>
1843          <td class="md" valign="top">(&nbsp;</td>
1844          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1VertexData.html">VertexData</a> *&nbsp;</td>
1845          <td class="mdname" nowrap> <em>vd</em>, </td>
1846        </tr>
1847        <tr>
1848          <td class="md" nowrap align="right"></td>
1849          <td></td>
1850          <td class="md" nowrap><a class="el" href="classOgre_1_1IndexData.html">IndexData</a> *&nbsp;</td>
1851          <td class="mdname" nowrap> <em>id</em>, </td>
1852        </tr>
1853        <tr>
1854          <td class="md" nowrap align="right"></td>
1855          <td></td>
1856          <td class="md" nowrap><a class="el" href="structOgre_1_1StaticGeometry_1_1SubMeshLodGeometryLink.html">SubMeshLodGeometryLink</a> *&nbsp;</td>
1857          <td class="mdname" nowrap> <em>targetGeomLink</em></td>
1858        </tr>
1859        <tr>
1860          <td></td>
1861          <td class="md">)&nbsp;</td>
1862          <td class="md" colspan="2"><code> [protected]</code></td>
1863        </tr>
1864
1865      </table>
1866    </td>
1867  </tr>
1868</table>
1869<table cellspacing=5 cellpadding=0 border=0>
1870  <tr>
1871    <td>
1872      &nbsp;
1873    </td>
1874    <td>
1875
1876<p>
1877Split some shared geometry into dedicated geometry.
1878<p>
1879    </td>
1880  </tr>
1881</table>
1882<hr><h2>Member Data Documentation</h2>
1883<a class="anchor" name="Ogre_1_1StaticGeometryp2" doxytag="Ogre::StaticGeometry::mBuilt" ></a><p>
1884<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1885  <tr>
1886    <td class="mdRow">
1887      <table cellpadding="0" cellspacing="0" border="0">
1888        <tr>
1889          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp2">Ogre::StaticGeometry::mBuilt</a><code> [protected]</code>
1890      </table>
1891    </td>
1892  </tr>
1893</table>
1894<table cellspacing=5 cellpadding=0 border=0>
1895  <tr>
1896    <td>
1897      &nbsp;
1898    </td>
1899    <td>
1900
1901<p>
1902
1903<p>
1904Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00466">466</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
1905  </tr>
1906</table>
1907<a class="anchor" name="Ogre_1_1StaticGeometryp5" doxytag="Ogre::StaticGeometry::mCastShadows" ></a><p>
1908<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1909  <tr>
1910    <td class="mdRow">
1911      <table cellpadding="0" cellspacing="0" border="0">
1912        <tr>
1913          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp5">Ogre::StaticGeometry::mCastShadows</a><code> [protected]</code>
1914      </table>
1915    </td>
1916  </tr>
1917</table>
1918<table cellspacing=5 cellpadding=0 border=0>
1919  <tr>
1920    <td>
1921      &nbsp;
1922    </td>
1923    <td>
1924
1925<p>
1926
1927<p>
1928Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00469">469</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
1929  </tr>
1930</table>
1931<a class="anchor" name="Ogre_1_1StaticGeometryp7" doxytag="Ogre::StaticGeometry::mHalfRegionDimensions" ></a><p>
1932<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1933  <tr>
1934    <td class="mdRow">
1935      <table cellpadding="0" cellspacing="0" border="0">
1936        <tr>
1937          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp7">Ogre::StaticGeometry::mHalfRegionDimensions</a><code> [protected]</code>
1938      </table>
1939    </td>
1940  </tr>
1941</table>
1942<table cellspacing=5 cellpadding=0 border=0>
1943  <tr>
1944    <td>
1945      &nbsp;
1946    </td>
1947    <td>
1948
1949<p>
1950
1951<p>
1952Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00471">471</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
1953  </tr>
1954</table>
1955<a class="anchor" name="Ogre_1_1StaticGeometryp1" doxytag="Ogre::StaticGeometry::mName" ></a><p>
1956<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1957  <tr>
1958    <td class="mdRow">
1959      <table cellpadding="0" cellspacing="0" border="0">
1960        <tr>
1961          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a426">String</a> <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp1">Ogre::StaticGeometry::mName</a><code> [protected]</code>
1962      </table>
1963    </td>
1964  </tr>
1965</table>
1966<table cellspacing=5 cellpadding=0 border=0>
1967  <tr>
1968    <td>
1969      &nbsp;
1970    </td>
1971    <td>
1972
1973<p>
1974
1975<p>
1976Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00465">465</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
1977  </tr>
1978</table>
1979<a class="anchor" name="Ogre_1_1StaticGeometryp13" doxytag="Ogre::StaticGeometry::mOptimisedSubMeshGeometryList" ></a><p>
1980<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1981  <tr>
1982    <td class="mdRow">
1983      <table cellpadding="0" cellspacing="0" border="0">
1984        <tr>
1985          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw0">OptimisedSubMeshGeometryList</a> <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp13">Ogre::StaticGeometry::mOptimisedSubMeshGeometryList</a><code> [protected]</code>
1986      </table>
1987    </td>
1988  </tr>
1989</table>
1990<table cellspacing=5 cellpadding=0 border=0>
1991  <tr>
1992    <td>
1993      &nbsp;
1994    </td>
1995    <td>
1996
1997<p>
1998List of geometry which has been optimised for <a class="el" href="classOgre_1_1SubMesh.html">SubMesh</a> use This is the primary storage used for cleaning up later.
1999<p>
2000
2001<p>
2002Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00483">483</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
2003  </tr>
2004</table>
2005<a class="anchor" name="Ogre_1_1StaticGeometryp8" doxytag="Ogre::StaticGeometry::mOrigin" ></a><p>
2006<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2007  <tr>
2008    <td class="mdRow">
2009      <table cellpadding="0" cellspacing="0" border="0">
2010        <tr>
2011          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp8">Ogre::StaticGeometry::mOrigin</a><code> [protected]</code>
2012      </table>
2013    </td>
2014  </tr>
2015</table>
2016<table cellspacing=5 cellpadding=0 border=0>
2017  <tr>
2018    <td>
2019      &nbsp;
2020    </td>
2021    <td>
2022
2023<p>
2024
2025<p>
2026Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00472">472</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
2027  </tr>
2028</table>
2029<a class="anchor" name="Ogre_1_1StaticGeometryp0" doxytag="Ogre::StaticGeometry::mOwner" ></a><p>
2030<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2031  <tr>
2032    <td class="mdRow">
2033      <table cellpadding="0" cellspacing="0" border="0">
2034        <tr>
2035          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a>* <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp0">Ogre::StaticGeometry::mOwner</a><code> [protected]</code>
2036      </table>
2037    </td>
2038  </tr>
2039</table>
2040<table cellspacing=5 cellpadding=0 border=0>
2041  <tr>
2042    <td>
2043      &nbsp;
2044    </td>
2045    <td>
2046
2047<p>
2048
2049<p>
2050Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00464">464</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
2051  </tr>
2052</table>
2053<a class="anchor" name="Ogre_1_1StaticGeometryp12" doxytag="Ogre::StaticGeometry::mQueuedSubMeshes" ></a><p>
2054<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2055  <tr>
2056    <td class="mdRow">
2057      <table cellpadding="0" cellspacing="0" border="0">
2058        <tr>
2059          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw3">QueuedSubMeshList</a> <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp12">Ogre::StaticGeometry::mQueuedSubMeshes</a><code> [protected]</code>
2060      </table>
2061    </td>
2062  </tr>
2063</table>
2064<table cellspacing=5 cellpadding=0 border=0>
2065  <tr>
2066    <td>
2067      &nbsp;
2068    </td>
2069    <td>
2070
2071<p>
2072
2073<p>
2074Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00479">479</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
2075  </tr>
2076</table>
2077<a class="anchor" name="Ogre_1_1StaticGeometryp6" doxytag="Ogre::StaticGeometry::mRegionDimensions" ></a><p>
2078<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2079  <tr>
2080    <td class="mdRow">
2081      <table cellpadding="0" cellspacing="0" border="0">
2082        <tr>
2083          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp6">Ogre::StaticGeometry::mRegionDimensions</a><code> [protected]</code>
2084      </table>
2085    </td>
2086  </tr>
2087</table>
2088<table cellspacing=5 cellpadding=0 border=0>
2089  <tr>
2090    <td>
2091      &nbsp;
2092    </td>
2093    <td>
2094
2095<p>
2096
2097<p>
2098Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00470">470</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
2099  </tr>
2100</table>
2101<a class="anchor" name="Ogre_1_1StaticGeometryp15" doxytag="Ogre::StaticGeometry::mRegionMap" ></a><p>
2102<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2103  <tr>
2104    <td class="mdRow">
2105      <table cellpadding="0" cellspacing="0" border="0">
2106        <tr>
2107          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw5">RegionMap</a> <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp15">Ogre::StaticGeometry::mRegionMap</a><code> [protected]</code>
2108      </table>
2109    </td>
2110  </tr>
2111</table>
2112<table cellspacing=5 cellpadding=0 border=0>
2113  <tr>
2114    <td>
2115      &nbsp;
2116    </td>
2117    <td>
2118
2119<p>
2120Map of regions.
2121<p>
2122
2123<p>
2124Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00492">492</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
2125  </tr>
2126</table>
2127<a class="anchor" name="Ogre_1_1StaticGeometryp10" doxytag="Ogre::StaticGeometry::mRenderQueueID" ></a><p>
2128<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2129  <tr>
2130    <td class="mdRow">
2131      <table cellpadding="0" cellspacing="0" border="0">
2132        <tr>
2133          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a669">RenderQueueGroupID</a> <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp10">Ogre::StaticGeometry::mRenderQueueID</a><code> [protected]</code>
2134      </table>
2135    </td>
2136  </tr>
2137</table>
2138<table cellspacing=5 cellpadding=0 border=0>
2139  <tr>
2140    <td>
2141      &nbsp;
2142    </td>
2143    <td>
2144
2145<p>
2146The render queue to use when rendering this object.
2147<p>
2148
2149<p>
2150Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00475">475</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
2151  </tr>
2152</table>
2153<a class="anchor" name="Ogre_1_1StaticGeometryp11" doxytag="Ogre::StaticGeometry::mRenderQueueIDSet" ></a><p>
2154<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2155  <tr>
2156    <td class="mdRow">
2157      <table cellpadding="0" cellspacing="0" border="0">
2158        <tr>
2159          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp11">Ogre::StaticGeometry::mRenderQueueIDSet</a><code> [protected]</code>
2160      </table>
2161    </td>
2162  </tr>
2163</table>
2164<table cellspacing=5 cellpadding=0 border=0>
2165  <tr>
2166    <td>
2167      &nbsp;
2168    </td>
2169    <td>
2170
2171<p>
2172Flags whether the RenderQueue's default should be used.
2173<p>
2174
2175<p>
2176Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00477">477</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
2177  </tr>
2178</table>
2179<a class="anchor" name="Ogre_1_1StaticGeometryp4" doxytag="Ogre::StaticGeometry::mSquaredUpperDistance" ></a><p>
2180<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2181  <tr>
2182    <td class="mdRow">
2183      <table cellpadding="0" cellspacing="0" border="0">
2184        <tr>
2185          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp4">Ogre::StaticGeometry::mSquaredUpperDistance</a><code> [protected]</code>
2186      </table>
2187    </td>
2188  </tr>
2189</table>
2190<table cellspacing=5 cellpadding=0 border=0>
2191  <tr>
2192    <td>
2193      &nbsp;
2194    </td>
2195    <td>
2196
2197<p>
2198
2199<p>
2200Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00468">468</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
2201  </tr>
2202</table>
2203<a class="anchor" name="Ogre_1_1StaticGeometryp14" doxytag="Ogre::StaticGeometry::mSubMeshGeometryLookup" ></a><p>
2204<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2205  <tr>
2206    <td class="mdRow">
2207      <table cellpadding="0" cellspacing="0" border="0">
2208        <tr>
2209          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryw2">SubMeshGeometryLookup</a> <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp14">Ogre::StaticGeometry::mSubMeshGeometryLookup</a><code> [protected]</code>
2210      </table>
2211    </td>
2212  </tr>
2213</table>
2214<table cellspacing=5 cellpadding=0 border=0>
2215  <tr>
2216    <td>
2217      &nbsp;
2218    </td>
2219    <td>
2220
2221<p>
2222Cached links from SubMeshes to (potentially optimised) geometry This is not used for deletion since the lookup may reference original vertex data.
2223<p>
2224
2225<p>
2226Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00489">489</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
2227  </tr>
2228</table>
2229<a class="anchor" name="Ogre_1_1StaticGeometryp3" doxytag="Ogre::StaticGeometry::mUpperDistance" ></a><p>
2230<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2231  <tr>
2232    <td class="mdRow">
2233      <table cellpadding="0" cellspacing="0" border="0">
2234        <tr>
2235          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp3">Ogre::StaticGeometry::mUpperDistance</a><code> [protected]</code>
2236      </table>
2237    </td>
2238  </tr>
2239</table>
2240<table cellspacing=5 cellpadding=0 border=0>
2241  <tr>
2242    <td>
2243      &nbsp;
2244    </td>
2245    <td>
2246
2247<p>
2248
2249<p>
2250Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00467">467</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
2251  </tr>
2252</table>
2253<a class="anchor" name="Ogre_1_1StaticGeometryp9" doxytag="Ogre::StaticGeometry::mVisible" ></a><p>
2254<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2255  <tr>
2256    <td class="mdRow">
2257      <table cellpadding="0" cellspacing="0" border="0">
2258        <tr>
2259          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1StaticGeometry.html#Ogre_1_1StaticGeometryp9">Ogre::StaticGeometry::mVisible</a><code> [protected]</code>
2260      </table>
2261    </td>
2262  </tr>
2263</table>
2264<table cellspacing=5 cellpadding=0 border=0>
2265  <tr>
2266    <td>
2267      &nbsp;
2268    </td>
2269    <td>
2270
2271<p>
2272
2273<p>
2274Definition at line <a class="el" href="OgreStaticGeometry_8h-source.html#l00473">473</a> of file <a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a>.    </td>
2275  </tr>
2276</table>
2277<hr>The documentation for this class was generated from the following file:<ul>
2278<li><a class="el" href="OgreStaticGeometry_8h-source.html">OgreStaticGeometry.h</a></ul>
2279<hr>
2280<p>
2281Copyright &copy; 2000-2005 by The OGRE Team<br />
2282<!--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/>
2283This 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/>
2284                <!--/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#">
2285                <Work rdf:about="">
2286                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
2287        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
2288                </Work>
2289                <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> -->
2290
2291Last modified Sun Feb 12 13:03:55 2006
2292</p>
2293</body>
2294</html>
Note: See TracBrowser for help on using the repository browser.