Blender  V3.3
Public Member Functions | Protected Attributes | List of all members
btHashedSimplePairCache Class Reference

#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
 

Detailed Description

Definition at line 49 of file btHashedSimplePairCache.h.

Constructor & Destructor Documentation

◆ btHashedSimplePairCache()

btHashedSimplePairCache::btHashedSimplePairCache ( )

Definition at line 27 of file btHashedSimplePairCache.cpp.

References btAlignedObjectArray< T >::reserve().

◆ ~btHashedSimplePairCache()

btHashedSimplePairCache::~btHashedSimplePairCache ( )
virtual

Member Function Documentation

◆ addOverlappingPair()

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

Definition at line 67 of file btHashedSimplePairCache.h.

Referenced by btCompoundCompoundLeafCallback::Process().

◆ findPair()

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

◆ GetCount()

int btHashedSimplePairCache::GetCount ( ) const
inline

Definition at line 98 of file btHashedSimplePairCache.h.

References btAlignedObjectArray< T >::size().

◆ getNumOverlappingPairs()

int btHashedSimplePairCache::getNumOverlappingPairs ( ) const
inline

Definition at line 100 of file btHashedSimplePairCache.h.

References btAlignedObjectArray< T >::size().

◆ getOverlappingPairArray() [1/2]

btSimplePairArray& btHashedSimplePairCache::getOverlappingPairArray ( )
inline

◆ getOverlappingPairArray() [2/2]

const btSimplePairArray& btHashedSimplePairCache::getOverlappingPairArray ( ) const
inline

Definition at line 91 of file btHashedSimplePairCache.h.

◆ getOverlappingPairArrayPtr() [1/2]

virtual btSimplePair* btHashedSimplePairCache::getOverlappingPairArrayPtr ( )
inlinevirtual

Definition at line 76 of file btHashedSimplePairCache.h.

◆ getOverlappingPairArrayPtr() [2/2]

const btSimplePair* btHashedSimplePairCache::getOverlappingPairArrayPtr ( ) const
inline

Definition at line 81 of file btHashedSimplePairCache.h.

◆ removeAllPairs()

void btHashedSimplePairCache::removeAllPairs ( )

◆ removeOverlappingPair()

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

Member Data Documentation

◆ m_hashTable

btAlignedObjectArray<int> btHashedSimplePairCache::m_hashTable
protected

Definition at line 54 of file btHashedSimplePairCache.h.

Referenced by findPair(), removeAllPairs(), and removeOverlappingPair().

◆ m_next

btAlignedObjectArray<int> btHashedSimplePairCache::m_next
protected

Definition at line 55 of file btHashedSimplePairCache.h.

Referenced by findPair(), removeAllPairs(), and removeOverlappingPair().


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