Bullet Collision Detection & Physics Library
|
Structure for containing Boxes. More...
#include <btGImpactQuantizedBvh.h>
Public Member Functions | |
btGImpactQuantizedBvh () | |
this constructor doesn't build the tree. you must call buildSet | |
btGImpactQuantizedBvh (btPrimitiveManagerBase *primitive_manager) | |
this constructor doesn't build the tree. you must call buildSet | |
btAABB | getGlobalBox () const |
void | setPrimitiveManager (btPrimitiveManagerBase *primitive_manager) |
btPrimitiveManagerBase * | getPrimitiveManager () const |
Protected Member Functions | |
void | refit () |
Structure for containing Boxes.
This class offers an structure for managing a box tree of primitives. Requires a Primitive prototype (like btPrimitiveManagerBase )
Definition at line 156 of file btGImpactQuantizedBvh.h.
|
inline |
this constructor doesn't build the tree. you must call buildSet
Definition at line 168 of file btGImpactQuantizedBvh.h.
|
inline |
this constructor doesn't build the tree. you must call buildSet
Definition at line 174 of file btGImpactQuantizedBvh.h.
bool btGImpactQuantizedBvh::boxQuery | ( | const btAABB & | box, |
btAlignedObjectArray< int > & | collided_results | ||
) | const |
returns the indices of the primitives in the m_primitive_manager
Definition at line 286 of file btGImpactQuantizedBvh.cpp.
|
inline |
returns the indices of the primitives in the m_primitive_manager
Definition at line 212 of file btGImpactQuantizedBvh.h.
void btGImpactQuantizedBvh::buildSet | ( | ) |
this rebuild the entire set
Definition at line 270 of file btGImpactQuantizedBvh.cpp.
|
static |
Definition at line 466 of file btGImpactQuantizedBvh.cpp.
|
inline |
Definition at line 284 of file btGImpactQuantizedBvh.h.
Definition at line 274 of file btGImpactQuantizedBvh.h.
|
inline |
Definition at line 179 of file btGImpactQuantizedBvh.h.
Definition at line 264 of file btGImpactQuantizedBvh.h.
Definition at line 254 of file btGImpactQuantizedBvh.h.
|
inline |
node count
Definition at line 238 of file btGImpactQuantizedBvh.h.
Definition at line 249 of file btGImpactQuantizedBvh.h.
|
inline |
Definition at line 279 of file btGImpactQuantizedBvh.h.
|
inline |
Definition at line 191 of file btGImpactQuantizedBvh.h.
Definition at line 269 of file btGImpactQuantizedBvh.h.
|
inline |
tells if this set has hierarcht
Definition at line 226 of file btGImpactQuantizedBvh.h.
tells if the node is a leaf
Definition at line 244 of file btGImpactQuantizedBvh.h.
|
inline |
tells if this set is a trimesh
Definition at line 232 of file btGImpactQuantizedBvh.h.
bool btGImpactQuantizedBvh::rayQuery | ( | const btVector3 & | ray_dir, |
const btVector3 & | ray_origin, | ||
btAlignedObjectArray< int > & | collided_results | ||
) | const |
returns the indices of the primitives in the m_primitive_manager
Definition at line 327 of file btGImpactQuantizedBvh.cpp.
|
protected |
Definition at line 230 of file btGImpactQuantizedBvh.cpp.
Definition at line 259 of file btGImpactQuantizedBvh.h.
|
inline |
Definition at line 186 of file btGImpactQuantizedBvh.h.
|
inline |
node manager prototype functions
this attemps to refit the box set.
Definition at line 200 of file btGImpactQuantizedBvh.h.
|
protected |
Definition at line 159 of file btGImpactQuantizedBvh.h.
|
protected |
Definition at line 160 of file btGImpactQuantizedBvh.h.