#include <OgreCommon.h>
Inheritance diagram for Ogre::Box:
Public Member Functions | |
Box () | |
Parameterless constructor for setting the members manually. | |
Box (size_t l, size_t t, size_t r, size_t b) | |
Define a box from left, top, right and bottom coordinates This box will have depth one (front=0 and back=1). | |
Box (size_t l, size_t t, size_t ff, size_t r, size_t b, size_t bb) | |
Define a box from left, top, front, right, bottom and back coordinates. | |
bool | contains (const Box &def) const |
Return true if the other box is a part of this one. | |
size_t | getWidth () const |
Get the width of this box. | |
size_t | getHeight () const |
Get the height of this box. | |
size_t | getDepth () const |
Get the depth of this box. | |
Public Attributes | |
size_t | left |
size_t | top |
size_t | right |
size_t | bottom |
size_t | front |
size_t | back |
Note that the left, top, and front edges are included but the right, bottom and back ones are not.
Definition at line 344 of file OgreCommon.h.
|
Parameterless constructor for setting the members manually.
Definition at line 348 of file OgreCommon.h. |
|
Define a box from left, top, right and bottom coordinates This box will have depth one (front=0 and back=1).
Definition at line 360 of file OgreCommon.h. |
|
Define a box from left, top, front, right, bottom and back coordinates.
Definition at line 381 of file OgreCommon.h. |
|
Return true if the other box is a part of this one.
Definition at line 393 of file OgreCommon.h. |
|
Get the depth of this box.
Definition at line 404 of file OgreCommon.h. |
|
Get the height of this box.
Definition at line 402 of file OgreCommon.h. |
|
Get the width of this box.
Definition at line 400 of file OgreCommon.h. |
|
Definition at line 346 of file OgreCommon.h. Referenced by Box(), contains(), and getDepth(). |
|
Definition at line 346 of file OgreCommon.h. Referenced by Box(), contains(), and getHeight(). |
|
Definition at line 346 of file OgreCommon.h. Referenced by Box(), contains(), and getDepth(). |
|
Definition at line 346 of file OgreCommon.h. Referenced by Box(), contains(), and getWidth(). |
|
Definition at line 346 of file OgreCommon.h. Referenced by Box(), contains(), and getWidth(). |
|
Definition at line 346 of file OgreCommon.h. Referenced by Box(), contains(), and getHeight(). |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Jun 10 10:36:05 2007