Public Methods |
| | AxisAlignedBox () |
| | AxisAlignedBox (const Vector3 &min, const Vector3 &max) |
| | AxisAlignedBox (Real mx, Real my, Real mz, Real Mx, Real My, Real Mz) |
| Vector3 | getMinimum (void) const |
| | Gets the minimum corner of the box. More...
|
| Vector3 | getMaximum (void) const |
| | Gets the maximum corner of the box. More...
|
| void | setMinimum (const Vector3 &vec) |
| | Sets the minimum corner of the box. More...
|
| void | setMinimum (Real x, Real y, Real z) |
| void | setMaximum (const Vector3 &vec) |
| | Sets the maximum corner of the box. More...
|
| void | setMaximum (Real x, Real y, Real z) |
| void | setExtents (const Vector3 &min, const Vector3 &max) |
| | Sets both minimum and maximum extents at once. More...
|
| void | setExtents (Real mx, Real my, Real mz, Real Mx, Real My, Real Mz) |
| const Vector3 * | getAllCorners (void) const |
| | Returns a pointer to an array of 8 corner points, useful for collision vs. More...
|
| void | merge (const AxisAlignedBox &rhs) |
| | Merges the passed in box into the current box. More...
|
| void | transform (const Matrix4 &matrix) |
| | Transforms the box according to the matrix supplied. More...
|
| void | setNull () |
| | Sets the box to a 'null' value i.e. More...
|
| bool | isNull (void) const |
| | Returns true if the box is null i.e. More...
|
Protected Methods |
| void | updateCorners (void) |
| | Internal method for updating corner points. More...
|
Protected Attributes |
| Vector3 | mMinimum |
| Vector3 | mMaximum |
| bool | mNull |
| Vector3 | mCorners [8] |
Friends |
| std::ostream & | operator<< (std::ostream &o, AxisAlignedBox aab) |