40 #ifndef _axisalignedbox_h
41 #define _axisalignedbox_h
114 explicit AxisAlignedBox(
const Ogre::AxisAlignedBox& InternalAABB);
123 Boole IsZero()
const;
126 Real GetVolume()
const;
133 void Expand(
const Vector3& Point);
153 Boole IsOverlapping(
const Plane& ToCheck)
const;
157 RayTestResult Intersects(
const Ray& ToCheck)
const;
184 Real GetSideExtent(
Side WhichSideExtent)
const;
187 Plane GetSidePlane(
Side WhichSidePlane)
const;
194 void ExtractOgreAABB(
const Ogre::AxisAlignedBox& InternalAABB);
197 Ogre::AxisAlignedBox GetOgreAABB()
const;
204 void ProtoSerialize(
XML::Node& ParentNode)
const;
207 void ProtoDeSerialize(
const XML::Node& SelfRoot);
211 static String GetSerializableName();
222 void operator=(
const Ogre::AxisAlignedBox& InternalAABB);
This is a generic sphere class used for spacial queries.
AxisExtent
This enum is used to help make querys for data on the AABB.
bool Boole
Generally acts a single bit, true or false.
Side
Used to uniquely identify sides of an axis aligned box.
This is used to represent a flat infinite slice of the game world.
float Real
A Datatype used to represent a real floating point number.
A light-weight handle for manipulating nodes in DOM tree.
This is used to represent a point in space, or a vector through space.
Vector3 MinExt
The minimum extents on each axis in world space.
The bulk of the engine components go in this namspace.
std::pair< Boole, Ray > RayTestResult
This is a type used for the return of a ray intersection test.
std::string String
A datatype used to a series of characters.
Vector3 MaxExt
The maximum extents on each axis in world space.
This represents a line placed in 3D space and is used with spacial queries.
This is a utility class used to represent the Axis-Aligned Bounding Boxes of objects in various subsy...