Blender
V3.3
|
#include "LinearMath/btScalar.h"
#include "LinearMath/btVector3.h"
#include "LinearMath/btAlignedAllocator.h"
Go to the source code of this file.
Classes | |
class | btBroadphasePairSortPredicate |
Functions | |
SIMD_FORCE_INLINE int | getUid () const |
btBroadphaseProxy (const btVector3 &aabbMin, const btVector3 &aabbMax, void *userPtr, int collisionFilterGroup, int collisionFilterMask) | |
static SIMD_FORCE_INLINE bool | isPolyhedral (int proxyType) |
static SIMD_FORCE_INLINE bool | isConvex (int proxyType) |
static SIMD_FORCE_INLINE bool | isNonMoving (int proxyType) |
static SIMD_FORCE_INLINE bool | isConcave (int proxyType) |
static SIMD_FORCE_INLINE bool | isCompound (int proxyType) |
static SIMD_FORCE_INLINE bool | isSoftBody (int proxyType) |
static SIMD_FORCE_INLINE bool | isInfinite (int proxyType) |
static SIMD_FORCE_INLINE bool | isConvex2d (int proxyType) |
btBroadphasePair (btBroadphaseProxy &proxy0, btBroadphaseProxy &proxy1) | |
SIMD_FORCE_INLINE bool | operator== (const btBroadphasePair &a, const btBroadphasePair &b) |
Variables | |
btBroadphaseProxy | |
void * | m_clientObject |
int | m_collisionFilterGroup |
int | m_collisionFilterMask |
int | m_uniqueId |
btVector3 | m_aabbMin |
btVector3 | m_aabbMax |
btBroadphasePair | |
btBroadphaseProxy * | m_pProxy0 |
btBroadphaseProxy * | m_pProxy1 |
btCollisionAlgorithm * | m_algorithm |
union { | |
void * m_internalInfo1 | |
int m_internalTmpValue | |
}; | |
btDispatcher uses these types IMPORTANT NOTE:The types are ordered polyhedral, implicit convex and concave to facilitate type checking CUSTOM_POLYHEDRAL_SHAPE_TYPE,CUSTOM_CONVEX_SHAPE_TYPE and CUSTOM_CONCAVE_SHAPE_TYPE can be used to extend Bullet without modifying source code
Definition at line 27 of file btBroadphaseProxy.h.
optional filtering to cull potential collisions
Enumerator | |
---|---|
DefaultFilter | |
StaticFilter | |
KinematicFilter | |
DebrisFilter | |
SensorTrigger | |
CharacterFilter | |
AllFilter |
Definition at line 90 of file btBroadphaseProxy.h.
btBroadphasePair | ( | btBroadphaseProxy & | proxy0, |
btBroadphaseProxy & | proxy1 | ||
) |
Definition at line 190 of file btBroadphaseProxy.h.
References m_algorithm, m_internalInfo1, m_pProxy0, and m_pProxy1.
btBroadphaseProxy | ( | const btVector3 & | aabbMin, |
const btVector3 & | aabbMax, | ||
void * | userPtr, | ||
int | collisionFilterGroup, | ||
int | collisionFilterMask | ||
) |
Definition at line 121 of file btBroadphaseProxy.h.
SIMD_FORCE_INLINE int getUid | ( | ) | const |
Definition at line 111 of file btBroadphaseProxy.h.
References m_uniqueId.
|
static |
Definition at line 150 of file btBroadphaseProxy.h.
References COMPOUND_SHAPE_PROXYTYPE.
|
static |
Definition at line 145 of file btBroadphaseProxy.h.
References CONCAVE_SHAPES_END_HERE, and CONCAVE_SHAPES_START_HERE.
Referenced by isNonMoving().
|
static |
Definition at line 135 of file btBroadphaseProxy.h.
References CONCAVE_SHAPES_START_HERE.
|
static |
Definition at line 165 of file btBroadphaseProxy.h.
References BOX_2D_SHAPE_PROXYTYPE, and CONVEX_2D_SHAPE_PROXYTYPE.
|
static |
Definition at line 160 of file btBroadphaseProxy.h.
References STATIC_PLANE_PROXYTYPE.
|
static |
Definition at line 140 of file btBroadphaseProxy.h.
References GIMPACT_SHAPE_PROXYTYPE, and isConcave().
|
static |
Definition at line 130 of file btBroadphaseProxy.h.
References IMPLICIT_CONVEX_SHAPES_START_HERE.
|
static |
Definition at line 155 of file btBroadphaseProxy.h.
References SOFTBODY_SHAPE_PROXYTYPE.
SIMD_FORCE_INLINE bool operator== | ( | const btBroadphasePair & | a, |
const btBroadphasePair & | b | ||
) |
Definition at line 243 of file btBroadphaseProxy.h.
References Freestyle::a, and usdtokens::b().
union { ... } |
btBroadphasePair |
The btBroadphasePair class contains a pair of aabb-overlapping objects. A btDispatcher can search a btCollisionAlgorithm that performs exact/narrowphase collision detection on the actual collision shapes.
Definition at line 178 of file btBroadphaseProxy.h.
Referenced by btAxisSweep3Internal< BP_FP_INT_TYPE >::calculateOverlappingPairs(), btSimpleBroadphase::calculateOverlappingPairs(), btDbvtBroadphase::collide(), btSimulationIslandManager::findUnions(), CollisionDispatcherUpdater::forLoop(), btClosestNotMeConvexResultCallback::needsCollision(), btDbvtBroadphase::performDeferredRemoval(), and recoverFromPenetration().
btBroadphaseProxy |
The btBroadphaseProxy is the main class that can be used with the Bullet broadphases. It stores collision shape type information, collision filter information and a client object, typically a btCollisionObject or btRigidBody.
Definition at line 85 of file btBroadphaseProxy.h.
Referenced by btPairCachingGhostObject::addOverlappingObjectInternal(), createPredictiveContactsInternal(), btAxisSweep3Internal< BP_FP_INT_TYPE >::createProxy(), integrateTransformsInternal(), btClosestNotMeConvexResultCallback::needsCollision(), btCollisionWorld::objectQuerySingleInternal(), btCollisionWorld::rayTestSingleInternal(), btCollisionWorld::removeCollisionObject(), btPairCachingGhostObject::removeOverlappingObjectInternal(), and btCollisionWorld::~btCollisionWorld().
btVector3 m_aabbMax |
Definition at line 109 of file btBroadphaseProxy.h.
Referenced by calculateAabbBruteForce(), and btSoftBodyTriangleCallback::getAabbMax().
btVector3 m_aabbMin |
Definition at line 108 of file btBroadphaseProxy.h.
Referenced by calculateAabbBruteForce(), getAabbMin(), and btSoftBodyTriangleCallback::getAabbMin().
|
mutable |
Definition at line 211 of file btBroadphaseProxy.h.
Referenced by btBroadphasePair().
void* m_clientObject |
Definition at line 102 of file btBroadphaseProxy.h.
int m_collisionFilterGroup |
Definition at line 103 of file btBroadphaseProxy.h.
int m_collisionFilterMask |
Definition at line 104 of file btBroadphaseProxy.h.
void* m_internalInfo1 |
Definition at line 213 of file btBroadphaseProxy.h.
Referenced by btBroadphasePair().
int m_internalTmpValue |
Definition at line 214 of file btBroadphaseProxy.h.
btBroadphaseProxy* m_pProxy0 |
Definition at line 208 of file btBroadphaseProxy.h.
Referenced by btBroadphasePair().
btBroadphaseProxy* m_pProxy1 |
Definition at line 209 of file btBroadphaseProxy.h.
Referenced by btBroadphasePair().
int m_uniqueId |
Definition at line 106 of file btBroadphaseProxy.h.
Referenced by getUid().