Logo Search packages:      
Sourcecode: blender version File versions  Download package

btPairSet Class Reference

#include <btGImpactBvh.h>

Inheritance diagram for btPairSet:

btAlignedObjectArray< GIM_PAIR >

List of all members.


Detailed Description

A pairset array.

Definition at line 59 of file btGImpactBvh.h.


Public Member Functions

SIMD_FORCE_INLINE int capacity () const
 return the pre-allocated (reserved) elements, this is at least as large as the total number of elements,see size() and reserve()
SIMD_FORCE_INLINE void clear ()
 clear the array, deallocated memory. Generally it is better to use array.resize(0), to reduce performance overhead of run-time memory (de)allocations.
void downHeap (GIM_PAIR *pArr, int k, int n, L CompareFunc)
 heap sort from http://www.csse.monash.edu.au/~lloyd/tildeAlgDS/Sort/Heap/
SIMD_FORCE_INLINE GIM_PAIRexpand (const GIM_PAIR &fillValue=GIM_PAIR())
int findBinarySearch (const GIM_PAIR &key) const
 non-recursive binary search, assumes sorted array
int findLinearSearch (const GIM_PAIR &key) const
void heapSort (L CompareFunc)
void initializeFromBuffer (void *buffer, int size, int capacity)
SIMD_FORCE_INLINE GIM_PAIRoperator[] (int n)
SIMD_FORCE_INLINE const GIM_PAIRoperator[] (int n) const
SIMD_FORCE_INLINE void pop_back ()
SIMD_FORCE_INLINE void push_back (const GIM_PAIR &_Val)
void push_pair (int index1, int index2)
void push_pair_inv (int index1, int index2)
void quickSort (L CompareFunc)
void quickSortInternal (L CompareFunc, int lo, int hi)
void remove (const GIM_PAIR &key)
SIMD_FORCE_INLINE void reserve (int _Count)
SIMD_FORCE_INLINE void resize (int newsize, const GIM_PAIR &fillData=GIM_PAIR())
SIMD_FORCE_INLINE int size () const
 return the number of elements in the array
void swap (int index0, int index1)

Protected Member Functions

SIMD_FORCE_INLINE void * allocate (int size)
SIMD_FORCE_INLINE int allocSize (int size)
SIMD_FORCE_INLINE void copy (int start, int end, GIM_PAIR *dest) const
SIMD_FORCE_INLINE void deallocate ()
SIMD_FORCE_INLINE void destroy (int first, int last)
SIMD_FORCE_INLINE void init ()

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

Generated by  Doxygen 1.6.0   Back to index