|
Blender V4.3
|
#include <btHashedSimplePairCache.h>
Public Member Functions | |
| btHashedSimplePairCache () | |
| virtual | ~btHashedSimplePairCache () |
| void | removeAllPairs () |
| virtual void * | removeOverlappingPair (int indexA, int indexB) |
| virtual btSimplePair * | addOverlappingPair (int indexA, int indexB) |
| virtual btSimplePair * | getOverlappingPairArrayPtr () |
| const btSimplePair * | getOverlappingPairArrayPtr () const |
| btSimplePairArray & | getOverlappingPairArray () |
| const btSimplePairArray & | getOverlappingPairArray () const |
| btSimplePair * | findPair (int indexA, int indexB) |
| int | GetCount () const |
| int | getNumOverlappingPairs () const |
Protected Attributes | |
| btAlignedObjectArray< int > | m_hashTable |
| btAlignedObjectArray< int > | m_next |
Definition at line 49 of file btHashedSimplePairCache.h.
| btHashedSimplePairCache::btHashedSimplePairCache | ( | ) |
Definition at line 27 of file btHashedSimplePairCache.cpp.
References btAlignedObjectArray< T >::reserve().
|
virtual |
Definition at line 34 of file btHashedSimplePairCache.cpp.
Referenced by btCompoundCompoundCollisionAlgorithm::~btCompoundCompoundCollisionAlgorithm().
|
inlinevirtual |
Definition at line 67 of file btHashedSimplePairCache.h.
Referenced by btCompoundCompoundLeafCallback::Process().
| btSimplePair * btHashedSimplePairCache::findPair | ( | int | indexA, |
| int | indexB ) |
Definition at line 49 of file btHashedSimplePairCache.cpp.
References BT_SIMPLE_NULL_PAIR, btAssert, btAlignedObjectArray< T >::capacity(), hash, m_hashTable, m_next, NULL, and btAlignedObjectArray< T >::size().
Referenced by btCompoundCompoundLeafCallback::Process().
|
inline |
Definition at line 98 of file btHashedSimplePairCache.h.
References btAlignedObjectArray< T >::size().
|
inline |
Definition at line 100 of file btHashedSimplePairCache.h.
References btAlignedObjectArray< T >::size().
|
inline |
Definition at line 86 of file btHashedSimplePairCache.h.
Referenced by btCompoundCompoundCollisionAlgorithm::getAllContactManifolds(), and btCompoundCompoundCollisionAlgorithm::processCollision().
|
inline |
Definition at line 91 of file btHashedSimplePairCache.h.
|
inlinevirtual |
Definition at line 76 of file btHashedSimplePairCache.h.
|
inline |
Definition at line 81 of file btHashedSimplePairCache.h.
| void btHashedSimplePairCache::removeAllPairs | ( | ) |
Definition at line 38 of file btHashedSimplePairCache.cpp.
References btAlignedObjectArray< T >::clear(), m_hashTable, m_next, and btAlignedObjectArray< T >::reserve().
Definition at line 152 of file btHashedSimplePairCache.cpp.
References BT_SIMPLE_NULL_PAIR, btAssert, btAlignedObjectArray< T >::capacity(), hash, int, m_hashTable, btSimplePair::m_indexA, btSimplePair::m_indexB, m_next, NULL, btAlignedObjectArray< T >::pop_back(), and btAlignedObjectArray< T >::size().
Referenced by btCompoundCompoundCollisionAlgorithm::processCollision().
|
protected |
Definition at line 54 of file btHashedSimplePairCache.h.
Referenced by findPair(), removeAllPairs(), and removeOverlappingPair().
|
protected |
Definition at line 55 of file btHashedSimplePairCache.h.
Referenced by findPair(), removeAllPairs(), and removeOverlappingPair().