| Bullet Collision Detection & Physics Library
    | 
Basic Box tree structure. More...
#include <gim_box_set.h>

| Public Member Functions | |
| GIM_BOX_TREE () | |
| void | build_tree (gim_array< GIM_AABB_DATA > &primitive_boxes) | 
| prototype functions for box tree management  More... | |
| void | clearNodes () | 
| GUINT | getNodeCount () const | 
| node count  More... | |
| bool | isLeafNode (GUINT nodeindex) const | 
| tells if the node is a leaf  More... | |
| GUINT | getNodeData (GUINT nodeindex) const | 
| void | getNodeBound (GUINT nodeindex, GIM_AABB &bound) const | 
| void | setNodeBound (GUINT nodeindex, const GIM_AABB &bound) | 
| GUINT | getLeftNodeIndex (GUINT nodeindex) const | 
| GUINT | getRightNodeIndex (GUINT nodeindex) const | 
| GUINT | getScapeNodeIndex (GUINT nodeindex) const | 
| Protected Member Functions | |
| GUINT | _sort_and_calc_splitting_index (gim_array< GIM_AABB_DATA > &primitive_boxes, GUINT startIndex, GUINT endIndex, GUINT splitAxis) | 
| GUINT | _calc_splitting_axis (gim_array< GIM_AABB_DATA > &primitive_boxes, GUINT startIndex, GUINT endIndex) | 
| void | _build_sub_tree (gim_array< GIM_AABB_DATA > &primitive_boxes, GUINT startIndex, GUINT endIndex) | 
| Protected Attributes | |
| GUINT | m_num_nodes | 
| gim_array< GIM_BOX_TREE_NODE > | m_node_array | 
Basic Box tree structure.
Definition at line 133 of file gim_box_set.h.
| 
 | inline | 
Definition at line 147 of file gim_box_set.h.
| 
 | protected | 
Definition at line 119 of file gim_box_set.cpp.
| 
 | protected | 
Definition at line 35 of file gim_box_set.cpp.
| 
 | protected | 
Definition at line 66 of file gim_box_set.cpp.
| void GIM_BOX_TREE::build_tree | ( | gim_array< GIM_AABB_DATA > & | primitive_boxes | ) | 
prototype functions for box tree management
stackless build tree
Definition at line 171 of file gim_box_set.cpp.
| 
 | inline | 
Definition at line 156 of file gim_box_set.h.
Definition at line 189 of file gim_box_set.h.
Definition at line 179 of file gim_box_set.h.
| 
 | inline | 
node count
Definition at line 163 of file gim_box_set.h.
Definition at line 174 of file gim_box_set.h.
Definition at line 194 of file gim_box_set.h.
Definition at line 199 of file gim_box_set.h.
| 
 | inline | 
tells if the node is a leaf
Definition at line 169 of file gim_box_set.h.
Definition at line 184 of file gim_box_set.h.
| 
 | protected | 
Definition at line 137 of file gim_box_set.h.
| 
 | protected | 
Definition at line 136 of file gim_box_set.h.
 1.8.12
 1.8.12