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
bool m_blockedForChanges

Detailed Description

Definition at line 55 of file btHashedSimplePairCache.h.

Constructor & Destructor Documentation

btHashedSimplePairCache::btHashedSimplePairCache ( )

Definition at line 31 of file btHashedSimplePairCache.cpp.

btHashedSimplePairCache::~btHashedSimplePairCache ( )

Definition at line 42 of file btHashedSimplePairCache.cpp.

Member Function Documentation

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

Definition at line 78 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 64 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 97 of file btHashedSimplePairCache.cpp.

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

Definition at line 138 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 51 of file btHashedSimplePairCache.cpp.

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

Definition at line 175 of file btHashedSimplePairCache.cpp.

Member Data Documentation

bool btHashedSimplePairCache::m_blockedForChanges

Definition at line 59 of file btHashedSimplePairCache.h.

btAlignedObjectArray<int> btHashedSimplePairCache::m_hashTable

Definition at line 64 of file btHashedSimplePairCache.h.

btAlignedObjectArray<int> btHashedSimplePairCache::m_next

Definition at line 65 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: