Bullet Collision Detection & Physics Library
Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
btHashedSimplePairCache Class Reference

#include <btHashedSimplePairCache.h>

Collaboration diagram for btHashedSimplePairCache:
Collaboration graph

Public Member Functions

 btHashedSimplePairCache ()
virtual ~btHashedSimplePairCache ()
void removeAllPairs ()
virtual void * removeOverlappingPair (int indexA, int indexB)
virtual btSimplePairaddOverlappingPair (int indexA, int indexB)
virtual btSimplePairgetOverlappingPairArrayPtr ()
const btSimplePairgetOverlappingPairArrayPtr () const
btSimplePairArraygetOverlappingPairArray ()
const btSimplePairArraygetOverlappingPairArray () const
btSimplePairfindPair (int indexA, int indexB)
int GetCount () const
int getNumOverlappingPairs () const

Protected Attributes

btAlignedObjectArray< int > m_hashTable
btAlignedObjectArray< int > m_next

Private Member Functions

btSimplePairinternalAddPair (int indexA, int indexB)
void growTables ()
bool equalsPair (const btSimplePair &pair, int indexA, int indexB)
unsigned int getHash (unsigned int indexA, unsigned int indexB)
btSimplePairinternalFindPair (int proxyIdA, int proxyIdB, int hash)

Private Attributes

btSimplePairArray m_overlappingPairArray

Detailed Description

Definition at line 55 of file btHashedSimplePairCache.h.

Constructor & Destructor Documentation

btHashedSimplePairCache::btHashedSimplePairCache ( )

Definition at line 32 of file btHashedSimplePairCache.cpp.

btHashedSimplePairCache::~btHashedSimplePairCache ( )

Definition at line 41 of file btHashedSimplePairCache.cpp.

Member Function Documentation

virtual btSimplePair* btHashedSimplePairCache::addOverlappingPair ( int  indexA,
int  indexB 

Definition at line 76 of file btHashedSimplePairCache.h.

bool btHashedSimplePairCache::equalsPair ( const btSimplePair pair,
int  indexA,
int  indexB 

Definition at line 121 of file btHashedSimplePairCache.h.

btSimplePair * btHashedSimplePairCache::findPair ( int  indexA,
int  indexB 

Definition at line 63 of file btHashedSimplePairCache.cpp.

int btHashedSimplePairCache::GetCount ( ) const

Definition at line 109 of file btHashedSimplePairCache.h.

unsigned int btHashedSimplePairCache::getHash ( unsigned int  indexA,
unsigned int  indexB 

Definition at line 128 of file btHashedSimplePairCache.h.

int btHashedSimplePairCache::getNumOverlappingPairs ( ) const

Definition at line 111 of file btHashedSimplePairCache.h.

btSimplePairArray& btHashedSimplePairCache::getOverlappingPairArray ( )

Definition at line 96 of file btHashedSimplePairCache.h.

const btSimplePairArray& btHashedSimplePairCache::getOverlappingPairArray ( ) const

Definition at line 101 of file btHashedSimplePairCache.h.

virtual btSimplePair* btHashedSimplePairCache::getOverlappingPairArrayPtr ( )

Definition at line 86 of file btHashedSimplePairCache.h.

const btSimplePair* btHashedSimplePairCache::getOverlappingPairArrayPtr ( ) const

Definition at line 91 of file btHashedSimplePairCache.h.

void btHashedSimplePairCache::growTables ( )

Definition at line 98 of file btHashedSimplePairCache.cpp.

btSimplePair * btHashedSimplePairCache::internalAddPair ( int  indexA,
int  indexB 

Definition at line 139 of file btHashedSimplePairCache.cpp.

btSimplePair* btHashedSimplePairCache::internalFindPair ( int  proxyIdA,
int  proxyIdB,
int  hash 

Definition at line 146 of file btHashedSimplePairCache.h.

void btHashedSimplePairCache::removeAllPairs ( )

Definition at line 50 of file btHashedSimplePairCache.cpp.

void * btHashedSimplePairCache::removeOverlappingPair ( int  indexA,
int  indexB 

Definition at line 176 of file btHashedSimplePairCache.cpp.

Member Data Documentation

btAlignedObjectArray<int> btHashedSimplePairCache::m_hashTable

Definition at line 62 of file btHashedSimplePairCache.h.

btAlignedObjectArray<int> btHashedSimplePairCache::m_next

Definition at line 63 of file btHashedSimplePairCache.h.

btSimplePairArray btHashedSimplePairCache::m_overlappingPairArray

Definition at line 57 of file btHashedSimplePairCache.h.

The documentation for this class was generated from the following files: