#include <OgreOctree.h>
Public Methods | |
| Octree (Octree *p) | |
| ~Octree () | |
| void | _addNode (OctreeNode *) |
| Adds an Octree scene node to this octree level. More... | |
| void | _removeNode (OctreeNode *) |
| Removes an Octree scene node to this octree level. More... | |
| int | numNodes () |
| Returns the number of scene nodes attached to this octree. More... | |
| bool | _isTwiceSize (AxisAlignedBox &box) |
| Returns true is the box will fit in a child. More... | |
| void | _getChildIndexes (AxisAlignedBox &, int *x, int *y, int *z) |
| It's assumed the the given box has already been proven to fit into a child. More... | |
| void | _getCullBounds (AxisAlignedBox *) |
| Creates the AxisAlignedBox used for culling this octree. More... | |
Public Attributes | |
| AxisAlignedBox | mBox |
| The bounding box of the octree. More... | |
| Vector3 | mHalfSize |
| Vector containing the dimensions of this octree / 2. More... | |
| Octree * | mChildren [2][2][2] |
| 3D array of children of this octree. More... | |
| NodeList | mNodes |
| Public list of SceneNodes attached to this particular octree. More... | |
Protected Methods | |
| void | _ref () |
| Increments the overall node count of this octree and all it's parents. More... | |
| void | _unref () |
| Decrements the overall node count of this octree and all it's parents. More... | |
Protected Attributes | |
| int | mNumNodes |
| number of SceneNodes in this octree and all it's children. More... | |
| Octree * | mParent |
| parent octree. More... | |
|
|
|
|
|
|
|
|
Adds an Octree scene node to this octree level.
|
|
||||||||||||||||||||
|
It's assumed the the given box has already been proven to fit into a child.
|
|
|
Creates the AxisAlignedBox used for culling this octree.
|
|
|
Returns true is the box will fit in a child.
|
|
|
Increments the overall node count of this octree and all it's parents.
|
|
|
Removes an Octree scene node to this octree level.
|
|
|
Decrements the overall node count of this octree and all it's parents.
|
|
|
Returns the number of scene nodes attached to this octree.
|
|
|
The bounding box of the octree.
|
|
|
3D array of children of this octree.
|
|
|
Vector containing the dimensions of this octree / 2.
|
|
|
Public list of SceneNodes attached to this particular octree.
|
|
|
number of SceneNodes in this octree and all it's children.
|
|
|
parent octree.
|
Copyright © 2002 by The OGRE Team