Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > contrib > by-pkgid > 06719cf03808e17ae6f0852ca1052dc2 > files > 1528

libogre1-devel-0.13.0-1mdk.i586.rpm

<html>
<head>
<title>Ogre::AxisAlignedBox class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<link type="text/css" rel="stylesheet" href="style.css">
</head>

<body>
<!-- Generated by Doxygen 1.2.16 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>Ogre::AxisAlignedBox  Class Reference</h1>A 3D box aligned with the x/y/z axes. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>&gt;</code>
<p>
Collaboration diagram for Ogre::AxisAlignedBox:<p><center><img src="classOgre_1_1AxisAlignedBox__coll__graph.png" border="0" usemap="#Ogre_1_1AxisAlignedBox__coll__map" alt="Collaboration graph"></center>
<map name="Ogre_1_1AxisAlignedBox__coll__map">
<area href="classOgre_1_1Vector3.html" shape="rect" coords="29,35,123,17" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1AxisAlignedBox-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa0">AxisAlignedBox</a> ()</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa1">AxisAlignedBox</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;min, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;max)</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa2">AxisAlignedBox</a> (<a class="el" href="namespaceOgre.html#a349">Real</a> mx, <a class="el" href="namespaceOgre.html#a349">Real</a> my, <a class="el" href="namespaceOgre.html#a349">Real</a> mz, <a class="el" href="namespaceOgre.html#a349">Real</a> Mx, <a class="el" href="namespaceOgre.html#a349">Real</a> My, <a class="el" href="namespaceOgre.html#a349">Real</a> Mz)</td></tr>
<tr><td nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa3">getMinimum</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the minimum corner of the box.</em> <a href="#Ogre_1_1AxisAlignedBoxa3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa4">getMaximum</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the maximum corner of the box.</em> <a href="#Ogre_1_1AxisAlignedBoxa4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa5">setMinimum</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;vec)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the minimum corner of the box.</em> <a href="#Ogre_1_1AxisAlignedBoxa5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa6">setMinimum</a> (<a class="el" href="namespaceOgre.html#a349">Real</a> x, <a class="el" href="namespaceOgre.html#a349">Real</a> y, <a class="el" href="namespaceOgre.html#a349">Real</a> z)</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa7">setMaximum</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;vec)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the maximum corner of the box.</em> <a href="#Ogre_1_1AxisAlignedBoxa7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa8">setMaximum</a> (<a class="el" href="namespaceOgre.html#a349">Real</a> x, <a class="el" href="namespaceOgre.html#a349">Real</a> y, <a class="el" href="namespaceOgre.html#a349">Real</a> z)</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa9">setExtents</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;min, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;max)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets both minimum and maximum extents at once.</em> <a href="#Ogre_1_1AxisAlignedBoxa9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa10">setExtents</a> (<a class="el" href="namespaceOgre.html#a349">Real</a> mx, <a class="el" href="namespaceOgre.html#a349">Real</a> my, <a class="el" href="namespaceOgre.html#a349">Real</a> mz, <a class="el" href="namespaceOgre.html#a349">Real</a> Mx, <a class="el" href="namespaceOgre.html#a349">Real</a> My, <a class="el" href="namespaceOgre.html#a349">Real</a> Mz)</td></tr>
<tr><td nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa11">getAllCorners</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns a pointer to an array of 8 corner points, useful for collision vs.</em> <a href="#Ogre_1_1AxisAlignedBoxa11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa12">merge</a> (const AxisAlignedBox &amp;rhs)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Merges the passed in box into the current box.</em> <a href="#Ogre_1_1AxisAlignedBoxa12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa13">merge</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;point)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Extends the box to encompass the specified point (if needed).</em> <a href="#Ogre_1_1AxisAlignedBoxa13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa14">transform</a> (const <a class="el" href="classOgre_1_1Matrix4.html">Matrix4</a> &amp;matrix)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Transforms the box according to the matrix supplied.</em> <a href="#Ogre_1_1AxisAlignedBoxa14"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa15">setNull</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Sets the box to a 'null' value i.e.</em> <a href="#Ogre_1_1AxisAlignedBoxa15"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa16">isNull</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns true if the box is null i.e.</em> <a href="#Ogre_1_1AxisAlignedBoxa16"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa17">intersects</a> (const AxisAlignedBox &amp;b2) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns whether or not this box intersects another.</em> <a href="#Ogre_1_1AxisAlignedBoxa17"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa18">scale</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;s)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Scales the AABB by the vector given.</em> <a href="#Ogre_1_1AxisAlignedBoxa18"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa19">intersects</a> (const <a class="el" href="classOgre_1_1Sphere.html">Sphere</a> &amp;s) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Tests whether this box intersects a sphere.</em> <a href="#Ogre_1_1AxisAlignedBoxa19"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa20">intersects</a> (const <a class="el" href="classOgre_1_1Plane.html">Plane</a> &amp;p) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Tests whether this box intersects a plane.</em> <a href="#Ogre_1_1AxisAlignedBoxa20"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa21">intersects</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;v) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Tests whether the vector point is within this box.</em> <a href="#Ogre_1_1AxisAlignedBoxa21"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxa22">getCenter</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the centre of the box.</em> <a href="#Ogre_1_1AxisAlignedBoxa22"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxb0">updateCorners</a> (void)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Internal method for updating corner points.</em> <a href="#Ogre_1_1AxisAlignedBoxb0"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxn0">mMinimum</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxn1">mMaximum</a></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxn2">mNull</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxn3">mCorners</a> [8]</td></tr>
<tr><td colspan=2><br><h2>Friends</h2></td></tr>
<tr><td nowrap align=right valign=top>std::ostream &amp;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1AxisAlignedBox.html#Ogre_1_1AxisAlignedBoxl0">operator&lt;&lt;</a> (std::ostream &amp;o, AxisAlignedBox aab)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A 3D box aligned with the x/y/z axes.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 This class represents a simple box which is aligned with the axes. Internally it only stores 2 points as the extremeties of the box, one which is the minima of all 3 axes, and the other which is the maxima of all 3 axes. This class is typically used for an axis-aligned bounding box (AABB) for collision and visibility determination. </dl>
<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00045">45</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="Ogre_1_1AxisAlignedBoxa0" doxytag="Ogre::AxisAlignedBox::AxisAlignedBox"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::AxisAlignedBox::AxisAlignedBox </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00075">75</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa1" doxytag="Ogre::AxisAlignedBox::AxisAlignedBox"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::AxisAlignedBox::AxisAlignedBox </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>min</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>max</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00083">83</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa2" doxytag="Ogre::AxisAlignedBox::AxisAlignedBox"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::AxisAlignedBox::AxisAlignedBox </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mx</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>my</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mz</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>Mx</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>My</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>Mz</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00088">88</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
References <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="Ogre_1_1AxisAlignedBoxa11" doxytag="Ogre::AxisAlignedBox::getAllCorners"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>* Ogre::AxisAlignedBox::getAllCorners </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns a pointer to an array of 8 corner points, useful for collision vs.
<p>
non-aligned objects. <dl compact><dt><b>
Remarks: </b><dd>
 If the order of these corners is important, they are as follows: The 4 points of the minimum Z face (note that because <a class="el" href="namespaceOgre.html">Ogre</a> uses right-handed coordinates, the minimum Z is at the 'back' of the box) starting with the minimum point of all, then anticlockwise around this face (if you are looking onto the face from outside the box). Then the 4 points of the maximum Z face, starting with maximum point of all, then anticlockwise around this face (looking onto the face from outside the box). Like this: <pre>
			    1-----2
			    /|    /|
			    / |   / |
			    5-----4  |
			    |  0--|--3
			    | /   | /
			    |/    |/
			    6-----7
			    </pre> </dl>
<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00195">195</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
Referenced by <a class="el" href="OgreOctree_8cpp-source.html#l00127">Ogre::Octree::_getCullBounds</a>(), <a class="el" href="OgreOctree_8cpp-source.html#l00026">Ogre::Octree::_isTwiceSize</a>(), <a class="el" href="OgreParticleSystem_8cpp-source.html#l00494">Ogre::ParticleSystem::_updateBounds</a>(), <a class="el" href="OgreTerrainSceneManager_8cpp-source.html#l00299">Ogre::TerrainSceneManager::getTerrainTile</a>(), <a class="el" href="OgreOctreeCamera_8cpp-source.html#l00079">Ogre::OctreeCamera::getVisibility</a>(), <a class="el" href="OgreOctreeSceneManager_8cpp-source.html#l00056">Ogre::intersect</a>(), <a class="el" href="OgreMath_8cpp-source.html#l00497">Ogre::Math::intersects</a>(), <a class="el" href="OgreTerrainRenderable_8cpp-source.html#l00833">Ogre::TerrainRenderable::intersectSegment</a>(), <a class="el" href="OgreFrustum_8cpp-source.html#l00164">Ogre::Frustum::isVisible</a>(), and <a class="el" href="OgreCamera_8cpp-source.html#l00394">Ogre::Camera::isVisible</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa22" doxytag="Ogre::AxisAlignedBox::getCenter"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::AxisAlignedBox::getCenter </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the centre of the box.
<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00369">369</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa4" doxytag="Ogre::AxisAlignedBox::getMaximum"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&amp; Ogre::AxisAlignedBox::getMaximum </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the maximum corner of the box.
<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00104">104</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
Referenced by <a class="el" href="OgreOctree_8cpp-source.html#l00041">Ogre::Octree::_getChildIndexes</a>(), <a class="el" href="OgreOctreeNode_8cpp-source.html#l00106">Ogre::OctreeNode::_isIn</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00304">Ogre::Mesh::_setBounds</a>(), <a class="el" href="OgreOctreeSceneManager_8cpp-source.html#l00749">Ogre::OctreeSceneManager::getOption</a>(), <a class="el" href="OgreWireBoundingBox_8cpp-source.html#l00213">Ogre::WireBoundingBox::getSquaredViewDepth</a>(), <a class="el" href="OgreOctreeSceneManager_8cpp-source.html#l00166">Ogre::OctreeSceneManager::init</a>(), <a class="el" href="OgreMath_8cpp-source.html#l00321">Ogre::Math::intersects</a>(), <a class="el" href="OgreWireBoundingBox_8cpp-source.html#l00100">Ogre::WireBoundingBox::setupBoundingBoxVertices</a>(), and <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01033">Ogre::MeshSerializerImpl::writeBoundsInfo</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa3" doxytag="Ogre::AxisAlignedBox::getMinimum"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&amp; Ogre::AxisAlignedBox::getMinimum </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the minimum corner of the box.
<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00097">97</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
Referenced by <a class="el" href="OgreOctree_8cpp-source.html#l00041">Ogre::Octree::_getChildIndexes</a>(), <a class="el" href="OgreOctreeNode_8cpp-source.html#l00106">Ogre::OctreeNode::_isIn</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00304">Ogre::Mesh::_setBounds</a>(), <a class="el" href="OgreOctreeSceneManager_8cpp-source.html#l00749">Ogre::OctreeSceneManager::getOption</a>(), <a class="el" href="OgreWireBoundingBox_8cpp-source.html#l00213">Ogre::WireBoundingBox::getSquaredViewDepth</a>(), <a class="el" href="OgreOctreeSceneManager_8cpp-source.html#l00166">Ogre::OctreeSceneManager::init</a>(), <a class="el" href="OgreMath_8cpp-source.html#l00321">Ogre::Math::intersects</a>(), <a class="el" href="OgreWireBoundingBox_8cpp-source.html#l00100">Ogre::WireBoundingBox::setupBoundingBoxVertices</a>(), and <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01033">Ogre::MeshSerializerImpl::writeBoundsInfo</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa21" doxytag="Ogre::AxisAlignedBox::intersects"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::AxisAlignedBox::intersects </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>v</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Tests whether the vector point is within this box.
<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00362">362</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
References <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::z</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa20" doxytag="Ogre::AxisAlignedBox::intersects"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::AxisAlignedBox::intersects </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Plane.html">Plane</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>p</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Tests whether this box intersects a plane.
<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00357">357</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa19" doxytag="Ogre::AxisAlignedBox::intersects"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::AxisAlignedBox::intersects </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Sphere.html">Sphere</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>s</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Tests whether this box intersects a sphere.
<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00352">352</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa17" doxytag="Ogre::AxisAlignedBox::intersects"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::AxisAlignedBox::intersects </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const AxisAlignedBox &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>b2</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns whether or not this box intersects another.
<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00317">317</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
References <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00311">isNull</a>(), <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00049">mMaximum</a>, <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00048">mMinimum</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::z</a>.
<p>
Referenced by <a class="el" href="OgreSceneManager_8cpp-source.html#l01970">Ogre::DefaultAxisAlignedBoxSceneQuery::execute</a>(), <a class="el" href="OgreSceneManager_8cpp-source.html#l01922">Ogre::DefaultIntersectionSceneQuery::execute</a>(), and <a class="el" href="OgreBspSceneManager_8cpp-source.html#l00569">Ogre::BspIntersectionSceneQuery::execute</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa16" doxytag="Ogre::AxisAlignedBox::isNull"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::AxisAlignedBox::isNull </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns true if the box is null i.e.
<p>
empty. 
<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00311">311</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
Referenced by <a class="el" href="OgreParticleSystem_8cpp-source.html#l00494">Ogre::ParticleSystem::_updateBounds</a>(), <a class="el" href="OgreOctreeNode_8cpp-source.html#l00072">Ogre::OctreeNode::_updateBounds</a>(), <a class="el" href="OgreOctreeSceneManager_8cpp-source.html#l00261">Ogre::OctreeSceneManager::_updateOctreeNode</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00058">Ogre::MeshSerializerImpl::exportMesh</a>(), <a class="el" href="OgreOctreeCamera_8cpp-source.html#l00079">Ogre::OctreeCamera::getVisibility</a>(), <a class="el" href="OgreMath_8cpp-source.html#l00321">Ogre::Math::intersects</a>(), <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00317">intersects</a>(), <a class="el" href="OgreFrustum_8cpp-source.html#l00164">Ogre::Frustum::isVisible</a>(), and <a class="el" href="OgreCamera_8cpp-source.html#l00394">Ogre::Camera::isVisible</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa13" doxytag="Ogre::AxisAlignedBox::merge"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AxisAlignedBox::merge </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>point</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Extends the box to encompass the specified point (if needed).
<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00248">248</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
References <a class="el" href="OgreVector3_8h-source.html#l00405">Ogre::Vector3::makeCeil</a>(), and <a class="el" href="OgreVector3_8h-source.html#l00391">Ogre::Vector3::makeFloor</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa12" doxytag="Ogre::AxisAlignedBox::merge"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AxisAlignedBox::merge </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const AxisAlignedBox &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>rhs</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Merges the passed in box into the current box.
<p>
The result is the box which encompasses both. 
<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00221">221</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
References <a class="el" href="OgreVector3_8h-source.html#l00405">Ogre::Vector3::makeCeil</a>(), <a class="el" href="OgreVector3_8h-source.html#l00391">Ogre::Vector3::makeFloor</a>(), <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00049">mMaximum</a>, <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00048">mMinimum</a>, and <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00050">mNull</a>.
<p>
Referenced by <a class="el" href="OgreSceneNode_8cpp-source.html#l00218">Ogre::SceneNode::_updateBounds</a>(), <a class="el" href="OgreOctreeNode_8cpp-source.html#l00072">Ogre::OctreeNode::_updateBounds</a>(), <a class="el" href="OgreEntity_8cpp-source.html#l00239">Ogre::Entity::getBoundingBox</a>(), <a class="el" href="OgreEntity_8cpp-source.html#l00254">Ogre::Entity::getChildObjectsBoundingBox</a>(), and <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01419">Ogre::MeshSerializerImpl_v1::readGeometry</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa18" doxytag="Ogre::AxisAlignedBox::scale"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AxisAlignedBox::scale </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>s</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Scales the AABB by the vector given.
<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00344">344</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
Referenced by <a class="el" href="OgreEntity_8cpp-source.html#l00239">Ogre::Entity::getBoundingBox</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa10" doxytag="Ogre::AxisAlignedBox::setExtents"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AxisAlignedBox::setExtents </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mx</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>my</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>mz</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>Mx</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>My</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>Mz</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00155">155</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
References <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::z</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa9" doxytag="Ogre::AxisAlignedBox::setExtents"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AxisAlignedBox::setExtents </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>min</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>max</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets both minimum and maximum extents at once.
<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00147">147</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
Referenced by <a class="el" href="OgreMesh_8cpp-source.html#l00304">Ogre::Mesh::_setBounds</a>(), <a class="el" href="OgreParticleSystem_8cpp-source.html#l00494">Ogre::ParticleSystem::_updateBounds</a>(), <a class="el" href="OgreBillboardSet_8cpp-source.html#l00478">Ogre::BillboardSet::_updateBounds</a>(), <a class="el" href="OgrePatchSurface_8cpp-source.html#l00053">Ogre::PatchSurface::defineSurface</a>(), <a class="el" href="OgreTerrainRenderable_8cpp-source.html#l00079">Ogre::TerrainRenderable::init</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01419">Ogre::MeshSerializerImpl_v1::readGeometry</a>(), and <a class="el" href="OgreFrustum_8cpp-source.html#l00248">Ogre::Frustum::updateFrustum</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa8" doxytag="Ogre::AxisAlignedBox::setMaximum"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AxisAlignedBox::setMaximum </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>y</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>z</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00136">136</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
References <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::z</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa7" doxytag="Ogre::AxisAlignedBox::setMaximum"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AxisAlignedBox::setMaximum </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>vec</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the maximum corner of the box.
<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00129">129</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
Referenced by <a class="el" href="OgreBspLevel_8cpp-source.html#l00113">Ogre::BspLevel::loadQuake3Level</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa6" doxytag="Ogre::AxisAlignedBox::setMinimum"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AxisAlignedBox::setMinimum </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>x</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>y</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a349">Real</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>z</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00118">118</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
References <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::z</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa5" doxytag="Ogre::AxisAlignedBox::setMinimum"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AxisAlignedBox::setMinimum </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>vec</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the minimum corner of the box.
<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00111">111</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
Referenced by <a class="el" href="OgreBspLevel_8cpp-source.html#l00113">Ogre::BspLevel::loadQuake3Level</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa15" doxytag="Ogre::AxisAlignedBox::setNull"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AxisAlignedBox::setNull </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the box to a 'null' value i.e.
<p>
not a box. 
<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00304">304</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
Referenced by <a class="el" href="OgreSceneNode_8cpp-source.html#l00218">Ogre::SceneNode::_updateBounds</a>(), <a class="el" href="OgreOctreeNode_8cpp-source.html#l00072">Ogre::OctreeNode::_updateBounds</a>(), <a class="el" href="OgreBillboardSet_8cpp-source.html#l00478">Ogre::BillboardSet::_updateBounds</a>(), <a class="el" href="OgreEntity_8cpp-source.html#l00254">Ogre::Entity::getChildObjectsBoundingBox</a>(), and <a class="el" href="OgreMovableObject_8cpp-source.html#l00034">Ogre::MovableObject::MovableObject</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxa14" doxytag="Ogre::AxisAlignedBox::transform"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AxisAlignedBox::transform </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Matrix4.html">Matrix4</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>matrix</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Transforms the box according to the matrix supplied.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 By calling this method you get the axis-aligned box which surrounds the transformed version of this box. Therefore each corner of the box is transformed by the matrix, then the extents are mapped back onto the axes to produce another AABB. Useful when you have a local AABB for an object which is then transformed. </dl>
<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00268">268</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
References <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::z</a>.
<p>
Referenced by <a class="el" href="OgreEntity_8cpp-source.html#l00254">Ogre::Entity::getChildObjectsBoundingBox</a>(), and <a class="el" href="OgreMovableObject_8cpp-source.html#l00104">Ogre::MovableObject::getWorldBoundingBox</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxb0" doxytag="Ogre::AxisAlignedBox::updateCorners"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void Ogre::AxisAlignedBox::updateCorners </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal method for updating corner points.
<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00056">56</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
References <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::x</a>, <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::y</a>, and <a class="el" href="OgreVector3_8h-source.html#l00047">Ogre::Vector3::z</a>.    </td>
  </tr>
</table>
<hr><h2>Friends And Related Function Documentation</h2>
<a name="Ogre_1_1AxisAlignedBoxl0" doxytag="Ogre::AxisAlignedBox::operator<<"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> std::ostream&amp; operator&lt;&lt; </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">std::ostream &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>o</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>AxisAlignedBox&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>aab</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [friend]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00201">201</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="Ogre_1_1AxisAlignedBoxn3" doxytag="Ogre::AxisAlignedBox::mCorners"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::AxisAlignedBox::mCorners[8]<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00052">52</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxn1" doxytag="Ogre::AxisAlignedBox::mMaximum"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::AxisAlignedBox::mMaximum<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00049">49</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
Referenced by <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00317">intersects</a>(), and <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00221">merge</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxn0" doxytag="Ogre::AxisAlignedBox::mMinimum"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> Ogre::AxisAlignedBox::mMinimum<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00048">48</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
Referenced by <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00317">intersects</a>(), and <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00221">merge</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1AxisAlignedBoxn2" doxytag="Ogre::AxisAlignedBox::mNull"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::AxisAlignedBox::mNull<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00050">50</a> of file <a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a>.
<p>
Referenced by <a class="el" href="OgreAxisAlignedBox_8h-source.html#l00221">merge</a>().    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="OgreAxisAlignedBox_8h-source.html">OgreAxisAlignedBox.h</a></ul>
<p>
Copyright &copy; 2002-2003 by The OGRE Team<br />
Last modified Wed Jan 21 00:16:47 2004
</p>
</body>
</html>