#include <OgreOctree.h>
Public Member Functions | |
| Octree (Octree *p) | |
| ~Octree () | |
| void | _addNode (OctreeNode *) |
| Adds an Octree scene node to this octree level. | |
| void | _removeNode (OctreeNode *) |
| Removes an Octree scene node to this octree level. | |
| int | numNodes () |
| Returns the number of scene nodes attached to this octree. | |
| WireBoundingBox * | getWireBoundingBox () |
| Creats the wire frame bounding box for this octant. | |
| bool | _isTwiceSize (AxisAlignedBox &box) |
| Determines if this octree is twice as big as the given box. | |
| void | _getChildIndexes (AxisAlignedBox &, int *x, int *y, int *z) |
| Returns the appropriate indexes for the child of this octree into which the box will fit. | |
| void | _getCullBounds (AxisAlignedBox *) |
| Creates the AxisAlignedBox used for culling this octree. | |
Public Attributes | |
| AxisAlignedBox | mBox |
| The bounding box of the octree. | |
| WireBoundingBox * | mWireBoundingBox |
| Vector3 | mHalfSize |
| Vector containing the dimensions of this octree / 2. | |
| Octree * | mChildren [2][2][2] |
| 3D array of children of this octree. | |
| NodeList | mNodes |
| Public list of SceneNodes attached to this particular octree. | |
Protected Member Functions | |
| void | _ref () |
| Increments the overall node count of this octree and all it's parents. | |
| void | _unref () |
| Decrements the overall node count of this octree and all it's parents. | |
Protected Attributes | |
| int | mNumNodes |
| number of SceneNodes in this octree and all it's children. | |
| Octree * | mParent |
| parent octree | |
Definition at line 59 of file OgreOctree.h.
|
|
|
|
|
|
|
|
Adds an Octree scene node to this octree level.
|
|
||||||||||||||||||||
|
Returns the appropriate indexes for the child of this octree into which the box will fit.
|
|
|
Creates the AxisAlignedBox used for culling this octree.
|
|
|
Determines if this octree is twice as big as the given box.
|
|
|
Increments the overall node count of this octree and all it's parents.
Definition at line 135 of file OgreOctree.h. |
|
|
Removes an Octree scene node to this octree level.
|
|
|
Decrements the overall node count of this octree and all it's parents.
Definition at line 144 of file OgreOctree.h. |
|
|
Creats the wire frame bounding box for this octant.
|
|
|
Returns the number of scene nodes attached to this octree.
Definition at line 78 of file OgreOctree.h. |
|
|
The bounding box of the octree.
Definition at line 87 of file OgreOctree.h. |
|
|
3D array of children of this octree.
Definition at line 103 of file OgreOctree.h. |
|
|
Vector containing the dimensions of this octree / 2.
Definition at line 96 of file OgreOctree.h. |
|
|
Public list of SceneNodes attached to this particular octree.
Definition at line 129 of file OgreOctree.h. |
|
|
number of SceneNodes in this octree and all it's children.
Definition at line 152 of file OgreOctree.h. |
|
|
parent octree
Definition at line 155 of file OgreOctree.h. |
|
|
Definition at line 88 of file OgreOctree.h. |
Copyright © 2000-2005 by The OGRE Team
Last modified Sun Nov 20 12:42:11 2005