Bullet Collision Detection & Physics Library
|
The SimpleBroadphase is just a unit-test for btAxisSweep3, bt32BitAxisSweep3, or btDbvtBroadphase, so use those classes instead. More...
#include <btSimpleBroadphase.h>
Static Public Member Functions | |
static bool | aabbOverlap (btSimpleBroadphaseProxy *proxy0, btSimpleBroadphaseProxy *proxy1) |
Protected Member Functions | |
int | allocHandle () |
void | freeHandle (btSimpleBroadphaseProxy *proxy) |
btSimpleBroadphaseProxy * | getSimpleProxyFromProxy (btBroadphaseProxy *proxy) |
const btSimpleBroadphaseProxy * | getSimpleProxyFromProxy (btBroadphaseProxy *proxy) const |
virtual void | resetPool (btDispatcher *dispatcher) |
reset broadphase internal structures, to ensure determinism/reproducability | |
void | validate () |
The SimpleBroadphase is just a unit-test for btAxisSweep3, bt32BitAxisSweep3, or btDbvtBroadphase, so use those classes instead.
It is a brute force aabb culling broadphase based on O(n^2) aabb checks
Definition at line 41 of file btSimpleBroadphase.h.
btSimpleBroadphase::btSimpleBroadphase | ( | int | maxProxies = 16384 , |
btOverlappingPairCache * | overlappingPairCache = 0 |
||
) |
Definition at line 38 of file btSimpleBroadphase.cpp.
|
virtual |
Definition at line 68 of file btSimpleBroadphase.cpp.
|
static |
Definition at line 177 of file btSimpleBroadphase.cpp.
|
virtual |
Implements btBroadphaseInterface.
Definition at line 161 of file btSimpleBroadphase.cpp.
|
inlineprotected |
Definition at line 53 of file btSimpleBroadphase.h.
|
virtual |
calculateOverlappingPairs is optional: incremental algorithms (sweep and prune) might do it during the set aabb
if you don't like to skip the invalid pairs in the array, execute following code:
Implements btBroadphaseInterface.
Definition at line 194 of file btSimpleBroadphase.cpp.
|
virtual |
Implements btBroadphaseInterface.
Definition at line 79 of file btSimpleBroadphase.cpp.
|
virtual |
Implements btBroadphaseInterface.
Definition at line 124 of file btSimpleBroadphase.cpp.
|
inlineprotected |
Definition at line 66 of file btSimpleBroadphase.h.
|
virtual |
Implements btBroadphaseInterface.
Definition at line 134 of file btSimpleBroadphase.cpp.
|
inlinevirtual |
getAabb returns the axis aligned bounding box in the 'global' coordinate frame will add some transform later
Implements btBroadphaseInterface.
Definition at line 135 of file btSimpleBroadphase.h.
|
inlinevirtual |
Implements btBroadphaseInterface.
Definition at line 122 of file btSimpleBroadphase.h.
|
inlinevirtual |
Implements btBroadphaseInterface.
Definition at line 126 of file btSimpleBroadphase.h.
|
inlineprotected |
Definition at line 87 of file btSimpleBroadphase.h.
|
inlineprotected |
Definition at line 93 of file btSimpleBroadphase.h.
Implements btBroadphaseInterface.
Definition at line 141 of file btSimpleBroadphase.h.
|
virtual |
Implements btBroadphaseInterface.
Definition at line 148 of file btSimpleBroadphase.cpp.
|
protectedvirtual |
reset broadphase internal structures, to ensure determinism/reproducability
Reimplemented from btBroadphaseInterface.
Definition at line 322 of file btSimpleBroadphase.cpp.
|
virtual |
Implements btBroadphaseInterface.
Definition at line 141 of file btSimpleBroadphase.cpp.
bool btSimpleBroadphase::testAabbOverlap | ( | btBroadphaseProxy * | proxy0, |
btBroadphaseProxy * | proxy1 | ||
) |
Definition at line 315 of file btSimpleBroadphase.cpp.
|
protected |
Definition at line 27 of file btSimpleBroadphase.cpp.
|
protected |
Definition at line 51 of file btSimpleBroadphase.h.
|
protected |
Definition at line 85 of file btSimpleBroadphase.h.
|
protected |
Definition at line 46 of file btSimpleBroadphase.h.
|
protected |
Definition at line 45 of file btSimpleBroadphase.h.
|
protected |
Definition at line 44 of file btSimpleBroadphase.h.
|
protected |
Definition at line 83 of file btSimpleBroadphase.h.
|
protected |
Definition at line 82 of file btSimpleBroadphase.h.
|
protected |
Definition at line 48 of file btSimpleBroadphase.h.
|
protected |
Definition at line 50 of file btSimpleBroadphase.h.