| Bullet Collision Detection & Physics Library
    | 
Generic Box Tree Template. More...
#include <gim_box_set.h>

| Public Member Functions | |
| GIM_BOX_TREE_TEMPLATE_SET () | |
| GIM_AABB | getGlobalBox () const | 
| void | setPrimitiveManager (const _GIM_PRIMITIVE_MANAGER_PROTOTYPE &primitive_manager) | 
| const _GIM_PRIMITIVE_MANAGER_PROTOTYPE & | getPrimitiveManager () const | 
| _GIM_PRIMITIVE_MANAGER_PROTOTYPE & | getPrimitiveManager () | 
| void | update () | 
| node manager prototype functions  More... | |
| void | buildSet () | 
| this rebuild the entire set  More... | |
| bool | boxQuery (const GIM_AABB &box, gim_array< GUINT > &collided_results) const | 
| returns the indices of the primitives in the m_primitive_manager  More... | |
| bool | boxQueryTrans (const GIM_AABB &box, const btTransform &transform, gim_array< GUINT > &collided_results) const | 
| returns the indices of the primitives in the m_primitive_manager  More... | |
| bool | rayQuery (const btVector3 &ray_dir, const btVector3 &ray_origin, gim_array< GUINT > &collided_results) const | 
| returns the indices of the primitives in the m_primitive_manager  More... | |
| bool | hasHierarchy () const | 
| tells if this set has hierarcht  More... | |
| bool | isTrimesh () const | 
| tells if this set is a trimesh  More... | |
| 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 | 
| void | getNodeTriangle (GUINT nodeindex, GIM_TRIANGLE &triangle) const | 
| Protected Member Functions | |
| void | refit () | 
| Protected Attributes | |
| _GIM_PRIMITIVE_MANAGER_PROTOTYPE | m_primitive_manager | 
| _GIM_BOX_TREE_PROTOTYPE | m_box_tree | 
Generic Box Tree Template.
This class offers an structure for managing a box tree of primitives. Requires a Primitive prototype (like GIM_PRIMITIVE_MANAGER_PROTOTYPE ) and a Box tree structure ( like GIM_BOX_TREE).
Definition at line 215 of file gim_box_set.h.
| 
 | inline | 
Definition at line 251 of file gim_box_set.h.
| 
 | inline | 
returns the indices of the primitives in the m_primitive_manager
Definition at line 303 of file gim_box_set.h.
| 
 | inline | 
returns the indices of the primitives in the m_primitive_manager
Definition at line 339 of file gim_box_set.h.
| 
 | inline | 
this rebuild the entire set
Definition at line 287 of file gim_box_set.h.
| 
 | inline | 
Definition at line 255 of file gim_box_set.h.
| 
 | inline | 
Definition at line 424 of file gim_box_set.h.
| 
 | inline | 
Definition at line 414 of file gim_box_set.h.
| 
 | inline | 
node count
Definition at line 398 of file gim_box_set.h.
| 
 | inline | 
Definition at line 409 of file gim_box_set.h.
| 
 | inline | 
Definition at line 439 of file gim_box_set.h.
| 
 | inline | 
Definition at line 267 of file gim_box_set.h.
| 
 | inline | 
Definition at line 272 of file gim_box_set.h.
| 
 | inline | 
Definition at line 429 of file gim_box_set.h.
| 
 | inline | 
Definition at line 434 of file gim_box_set.h.
| 
 | inline | 
tells if this set has hierarcht
Definition at line 386 of file gim_box_set.h.
| 
 | inline | 
tells if the node is a leaf
Definition at line 404 of file gim_box_set.h.
| 
 | inline | 
tells if this set is a trimesh
Definition at line 392 of file gim_box_set.h.
| 
 | inline | 
returns the indices of the primitives in the m_primitive_manager
Definition at line 348 of file gim_box_set.h.
| 
 | inlineprotected | 
Definition at line 222 of file gim_box_set.h.
| 
 | inline | 
Definition at line 419 of file gim_box_set.h.
| 
 | inline | 
Definition at line 262 of file gim_box_set.h.
| 
 | inline | 
node manager prototype functions
this attemps to refit the box set.
Definition at line 281 of file gim_box_set.h.
| 
 | protected | 
Definition at line 219 of file gim_box_set.h.
| 
 | protected | 
Definition at line 218 of file gim_box_set.h.
 1.8.11
 1.8.11