Bullet Collision Detection & Physics Library
|
Basic Box tree structure. More...
#include <btGImpactQuantizedBvh.h>
Public Member Functions | |
btQuantizedBvhTree () | |
void | build_tree (GIM_BVH_DATA_ARRAY &primitive_boxes) |
prototype functions for box tree management | |
void | quantizePoint (unsigned short *quantizedpoint, const btVector3 &point) const |
bool | testQuantizedBoxOverlapp (int node_index, unsigned short *quantizedMin, unsigned short *quantizedMax) const |
void | clearNodes () |
int | getNodeCount () const |
node count | |
bool | isLeafNode (int nodeindex) const |
tells if the node is a leaf | |
int | getNodeData (int nodeindex) const |
void | getNodeBound (int nodeindex, btAABB &bound) const |
void | setNodeBound (int nodeindex, const btAABB &bound) |
int | getLeftNode (int nodeindex) const |
int | getRightNode (int nodeindex) const |
int | getEscapeNodeIndex (int nodeindex) const |
const BT_QUANTIZED_BVH_NODE * | get_node_pointer (int index=0) const |
Protected Attributes | |
int | m_num_nodes |
GIM_QUANTIZED_BVH_NODE_ARRAY | m_node_array |
btAABB | m_global_bound |
btVector3 | m_bvhQuantization |
Basic Box tree structure.
Definition at line 36 of file btGImpactQuantizedBvh.h.
|
inline |
Definition at line 56 of file btGImpactQuantizedBvh.h.
|
protected |
Definition at line 169 of file btGImpactQuantizedBvh.cpp.
|
protected |
Definition at line 81 of file btGImpactQuantizedBvh.cpp.
|
protected |
Definition at line 111 of file btGImpactQuantizedBvh.cpp.
void btQuantizedBvhTree::build_tree | ( | GIM_BVH_DATA_ARRAY & | primitive_boxes | ) |
prototype functions for box tree management
stackless build tree
Definition at line 216 of file btGImpactQuantizedBvh.cpp.
|
protected |
Definition at line 65 of file btGImpactQuantizedBvh.cpp.
|
inline |
Definition at line 78 of file btGImpactQuantizedBvh.h.
|
inline |
Definition at line 143 of file btGImpactQuantizedBvh.h.
Definition at line 138 of file btGImpactQuantizedBvh.h.
Definition at line 127 of file btGImpactQuantizedBvh.h.
Definition at line 101 of file btGImpactQuantizedBvh.h.
|
inline |
node count
Definition at line 85 of file btGImpactQuantizedBvh.h.
Definition at line 96 of file btGImpactQuantizedBvh.h.
Definition at line 132 of file btGImpactQuantizedBvh.h.
tells if the node is a leaf
Definition at line 91 of file btGImpactQuantizedBvh.h.
|
inline |
Definition at line 65 of file btGImpactQuantizedBvh.h.
Definition at line 112 of file btGImpactQuantizedBvh.h.
|
inline |
Definition at line 71 of file btGImpactQuantizedBvh.h.
|
protected |
Definition at line 42 of file btGImpactQuantizedBvh.h.
|
protected |
Definition at line 41 of file btGImpactQuantizedBvh.h.
|
protected |
Definition at line 40 of file btGImpactQuantizedBvh.h.
|
protected |
Definition at line 39 of file btGImpactQuantizedBvh.h.