Blender  V3.3
Classes | Public Member Functions | Protected Member Functions | List of all members
btAlignedObjectArray< T > Class Template Reference

#include <btAlignedObjectArray.h>

Classes

class  less
 

Public Member Functions

SIMD_FORCE_INLINE btAlignedObjectArray< T > & operator= (const btAlignedObjectArray< T > &other)
 
 btAlignedObjectArray ()
 
 ~btAlignedObjectArray ()
 
 btAlignedObjectArray (const btAlignedObjectArray &otherArray)
 Generally it is best to avoid using the copy constructor of an btAlignedObjectArray, and use a (const) reference to the array instead. More...
 
SIMD_FORCE_INLINE int size () const
 return the number of elements in the array More...
 
SIMD_FORCE_INLINE const Tat (int n) const
 
SIMD_FORCE_INLINE Tat (int n)
 
SIMD_FORCE_INLINE const Toperator[] (int n) const
 
SIMD_FORCE_INLINE Toperator[] (int n)
 
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. More...
 
SIMD_FORCE_INLINE void pop_back ()
 
SIMD_FORCE_INLINE void resizeNoInitialize (int newsize)
 
SIMD_FORCE_INLINE void resize (int newsize, const T &fillData=T())
 
SIMD_FORCE_INLINE TexpandNonInitializing ()
 
SIMD_FORCE_INLINE Texpand (const T &fillValue=T())
 
SIMD_FORCE_INLINE void push_back (const T &_Val)
 
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() More...
 
SIMD_FORCE_INLINE void reserve (int _Count)
 
template<typename L >
void quickSortInternal (const L &CompareFunc, int lo, int hi)
 
template<typename L >
void quickSort (const L &CompareFunc)
 
template<typename L >
void downHeap (T *pArr, int k, int n, const L &CompareFunc)
 heap sort from http://www.csse.monash.edu.au/~lloyd/tildeAlgDS/Sort/Heap/ More...
 
void swap (int index0, int index1)
 
template<typename L >
void heapSort (const L &CompareFunc)
 
int findBinarySearch (const T &key) const
 non-recursive binary search, assumes sorted array More...
 
int findLinearSearch (const T &key) const
 
int findLinearSearch2 (const T &key) const
 
void removeAtIndex (int index)
 
void remove (const T &key)
 
void initializeFromBuffer (void *buffer, int size, int capacity)
 
void copyFromArray (const btAlignedObjectArray &otherArray)
 

Protected Member Functions

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

Detailed Description

template<typename T>
class btAlignedObjectArray< T >

The btAlignedObjectArray template class uses a subset of the stl::vector interface for its methods It is developed to replace stl::vector to avoid portability issues, including STL alignment issues to add SIMD/SSE data

Definition at line 45 of file btAlignedObjectArray.h.

Constructor & Destructor Documentation

◆ btAlignedObjectArray() [1/2]

template<typename T >
btAlignedObjectArray< T >::btAlignedObjectArray ( )
inline

Definition at line 121 of file btAlignedObjectArray.h.

References btAlignedObjectArray< T >::init().

◆ ~btAlignedObjectArray()

template<typename T >
btAlignedObjectArray< T >::~btAlignedObjectArray ( )
inline

Definition at line 126 of file btAlignedObjectArray.h.

References btAlignedObjectArray< T >::clear().

◆ btAlignedObjectArray() [2/2]

template<typename T >
btAlignedObjectArray< T >::btAlignedObjectArray ( const btAlignedObjectArray< T > &  otherArray)
inline

Generally it is best to avoid using the copy constructor of an btAlignedObjectArray, and use a (const) reference to the array instead.

Definition at line 132 of file btAlignedObjectArray.h.

References btAlignedObjectArray< T >::copy(), btAlignedObjectArray< T >::init(), m_data, btAlignedObjectArray< T >::resize(), and btAlignedObjectArray< T >::size().

Member Function Documentation

◆ allocate()

template<typename T >
SIMD_FORCE_INLINE void* btAlignedObjectArray< T >::allocate ( int  size)
inlineprotected

◆ allocSize()

template<typename T >
SIMD_FORCE_INLINE int btAlignedObjectArray< T >::allocSize ( int  size)
inlineprotected

◆ at() [1/2]

template<typename T >
SIMD_FORCE_INLINE T& btAlignedObjectArray< T >::at ( int  n)
inline

Definition at line 154 of file btAlignedObjectArray.h.

References btAssert, m_data, and btAlignedObjectArray< T >::size().

◆ at() [2/2]

template<typename T >
SIMD_FORCE_INLINE const T& btAlignedObjectArray< T >::at ( int  n) const
inline

◆ capacity()

template<typename T >
SIMD_FORCE_INLINE int btAlignedObjectArray< T >::capacity ( ) const
inline

◆ clear()

template<typename T >
SIMD_FORCE_INLINE void btAlignedObjectArray< T >::clear ( )
inline

◆ copy()

template<typename T >
SIMD_FORCE_INLINE void btAlignedObjectArray< T >::copy ( int  start,
int  end,
T dest 
) const
inlineprotected

◆ copyFromArray()

template<typename T >
void btAlignedObjectArray< T >::copyFromArray ( const btAlignedObjectArray< T > &  otherArray)
inline

◆ deallocate()

template<typename T >
SIMD_FORCE_INLINE void btAlignedObjectArray< T >::deallocate ( )
inlineprotected

◆ destroy()

template<typename T >
SIMD_FORCE_INLINE void btAlignedObjectArray< T >::destroy ( int  first,
int  last 
)
inlineprotected

◆ downHeap()

template<typename T >
template<typename L >
void btAlignedObjectArray< T >::downHeap ( T pArr,
int  k,
int  n,
const L CompareFunc 
)
inline

◆ expand()

template<typename T >
SIMD_FORCE_INLINE T& btAlignedObjectArray< T >::expand ( const T fillValue = T())
inline

◆ expandNonInitializing()

template<typename T >
SIMD_FORCE_INLINE T& btAlignedObjectArray< T >::expandNonInitializing ( )
inline

◆ findBinarySearch()

template<typename T >
int btAlignedObjectArray< T >::findBinarySearch ( const T key) const
inline

non-recursive binary search, assumes sorted array

Definition at line 419 of file btAlignedObjectArray.h.

References m_data, and btAlignedObjectArray< T >::size().

◆ findLinearSearch()

template<typename T >
int btAlignedObjectArray< T >::findLinearSearch ( const T key) const
inline

◆ findLinearSearch2()

template<typename T >
int btAlignedObjectArray< T >::findLinearSearch2 ( const T key) const
inline

Definition at line 456 of file btAlignedObjectArray.h.

References m_data, and btAlignedObjectArray< T >::size().

◆ heapSort()

template<typename T >
template<typename L >
void btAlignedObjectArray< T >::heapSort ( const L CompareFunc)
inline

◆ init()

template<typename T >
SIMD_FORCE_INLINE void btAlignedObjectArray< T >::init ( )
inlineprotected

◆ initializeFromBuffer()

template<typename T >
void btAlignedObjectArray< T >::initializeFromBuffer ( void buffer,
int  size,
int  capacity 
)
inline

◆ operator=()

template<typename T >
SIMD_FORCE_INLINE btAlignedObjectArray<T>& btAlignedObjectArray< T >::operator= ( const btAlignedObjectArray< T > &  other)
inline

Definition at line 57 of file btAlignedObjectArray.h.

References btAlignedObjectArray< T >::copyFromArray().

◆ operator[]() [1/2]

template<typename T >
SIMD_FORCE_INLINE T& btAlignedObjectArray< T >::operator[] ( int  n)
inline

Definition at line 168 of file btAlignedObjectArray.h.

References btAssert, m_data, and btAlignedObjectArray< T >::size().

◆ operator[]() [2/2]

template<typename T >
SIMD_FORCE_INLINE const T& btAlignedObjectArray< T >::operator[] ( int  n) const
inline

Definition at line 161 of file btAlignedObjectArray.h.

References btAssert, m_data, and btAlignedObjectArray< T >::size().

◆ pop_back()

template<typename T >
SIMD_FORCE_INLINE void btAlignedObjectArray< T >::pop_back ( )
inline

◆ push_back()

template<typename T >
SIMD_FORCE_INLINE void btAlignedObjectArray< T >::push_back ( const T _Val)
inline

Definition at line 257 of file btAlignedObjectArray.h.

References btAlignedObjectArray< T >::allocSize(), btAlignedObjectArray< T >::capacity(), m_data, btAlignedObjectArray< T >::reserve(), btAlignedObjectArray< T >::size(), and T.

Referenced by btSimulationIslandManagerMt::addBodiesToIslands(), btGImpactCompoundShape::addChildShape(), btCollisionWorld::addCollisionObject(), btRigidBody::addConstraintRef(), btDeformableMultiBodyDynamicsWorld::addForce(), btTriangleMesh::addIndex(), addIndexedMesh(), addMaterialProperties(), btMultiBodyDynamicsWorld::addMultiBody(), btMultiBodyDynamicsWorld::addMultiBodyConstraint(), btCollisionWorld::AllHitsRayResultCallback::addSingleResult(), btDeformableMultiBodyDynamicsWorld::addSoftBody(), btSoftMultiBodyDynamicsWorld::addSoftBody(), btSoftRigidDynamicsWorld::addSoftBody(), btDeformableLagrangianForce::addSoftBody(), btRaycastVehicle::addWheel(), btDbvt::allocate(), btDefaultSerializer::allocate(), btSimulationIslandManagerMt::allocateIsland(), DeformableContactConstraint::append(), btSimulationIslandManagerMt::Island::append(), btSoftBody::appendAnchor(), btSoftBody::appendAngularJoint(), btSoftBody::appendFace(), btSoftBody::appendLinearJoint(), btSoftBody::appendLink(), btSoftBody::appendMaterial(), btSoftBody::appendNode(), btSoftBody::appendNote(), btSoftBody::appendTetra(), btGImpactBvh::boxQuery(), btGImpactQuantizedBvh::boxQuery(), btConstraintSolverPoolMt::btConstraintSolverPoolMt(), btSimulationIslandManager::buildIslands(), btGImpactMeshShape::buildMeshParts(), buildTreeBottomUp(), btPolyhedralContactClipping::clipFace(), btPolyhedralContactClipping::clipHullAgainstHull(), btDbvt::clone(), btDbvt::collideKDOP(), btDbvt::collideOCL(), btDbvt::collideTU(), btDbvt::collideTV(), btDbvt::collideTVNoStackAlloc(), btCollisionWorldImporter::createBoxShape(), btCollisionWorldImporter::createBvhTriangleMeshShape(), btCollisionWorldImporter::createCapsuleShapeX(), btCollisionWorldImporter::createCapsuleShapeY(), btCollisionWorldImporter::createCapsuleShapeZ(), btCollisionWorldImporter::createCollisionObject(), btCollisionWorldImporter::createCompoundShape(), btCollisionWorldImporter::createConeShapeX(), btCollisionWorldImporter::createConeShapeY(), btCollisionWorldImporter::createConeShapeZ(), btCollisionWorldImporter::createConvexHullShape(), btCollisionWorldImporter::createCylinderShapeX(), btCollisionWorldImporter::createCylinderShapeY(), btCollisionWorldImporter::createCylinderShapeZ(), btCollisionWorldImporter::createMeshInterface(), btCollisionWorldImporter::createMultiSphereShape(), btCollisionWorldImporter::createOptimizedBvh(), btCollisionWorldImporter::createPlaneShape(), createPredictiveContactsInternal(), btCollisionWorldImporter::createScaledTrangleMeshShape(), btCollisionWorldImporter::createSphereShape(), btCollisionWorldImporter::createStridingMeshInterfaceData(), btCollisionWorldImporter::createTriangleInfoMap(), btCollisionWorldImporter::createTriangleMeshContainer(), DeformableContactConstraint::DeformableContactConstraint(), btCollisionDispatcherMt::dispatchAllCollisionPairs(), btSoftColliders::CollideSDF_RS::DoNode(), btSoftBodyHelpers::duplicateFaces(), btCollisionWorldImporter::duplicateName(), btDbvt::extractLeaves(), btSoftBodyHelpers::extrapolateBarycentricWeights(), fetchleaves(), btLemkeAlgorithm::findLexicographicMinimum(), btTriangleMesh::findOrAddVertex(), btSoftBody::generateBendingConstraints(), btSoftBody::generateClusters(), btBox2dBox2dCollisionAlgorithm::getAllContactManifolds(), btBoxBoxCollisionAlgorithm::getAllContactManifolds(), btConvex2dConvex2dAlgorithm::getAllContactManifolds(), btConvexConvexAlgorithm::getAllContactManifolds(), btConvexPlaneCollisionAlgorithm::getAllContactManifolds(), btSphereBoxCollisionAlgorithm::getAllContactManifolds(), btSphereSphereCollisionAlgorithm::getAllContactManifolds(), btSphereTriangleCollisionAlgorithm::getAllContactManifolds(), btGImpactCollisionAlgorithm::getAllContactManifolds(), btSoftSoftCollisionAlgorithm::getAllContactManifolds(), btCollisionDispatcher::getNewManifold(), btCollisionDispatcherMt::getNewManifold(), btGeometryUtil::getPlaneEquationsFromVertices(), getVertexCopy(), btGeometryUtil::getVerticesFromPlaneEquations(), btGImpactCollisionAlgorithm::gimpact_vs_shape_find_pairs(), GrahamScanConvexHull2D(), btDefaultSerializer::initDNA(), btSoftBody::initializeFaceTree(), initializePolyhedralFeatures(), btSimulationIslandManagerMt::initIslandPools(), btHashMap< Key, Value >::insert(), btSoftBodyHelpers::interpolateBarycentricWeights(), btContactArray::merge_contacts(), btSoftColliders::CollideCL_SS::Process(), btSoftColliders::CollideCL_RS::Process(), btSoftColliders::CollideVF_SS::Process(), btDbvtNodeEnumerator::Process(), btCompoundCompoundCollisionAlgorithm::processCollision(), btConvexConvexAlgorithm::processCollision(), MultiBodyInplaceSolverIslandCallback::processConstraints(), DeformableBodyInplaceSolverIslandCallback::processConstraints(), InplaceSolverIslandCallback::processIsland(), MultiBodyInplaceSolverIslandCallback::processIsland(), btSimulationIslandManager::processIslands(), btTriangleBuffer::processTriangle(), btGImpactBvh::rayQuery(), btGImpactQuantizedBvh::rayQuery(), btSoftBody::rebuildNodeTree(), btSoftBody::refine(), MassPreconditioner::reinitialize(), btMatrixX< T >::rowComputeNonZeroElements(), btSoftBody::setCollisionQuadrature(), btDeformableContactProjection::setConstraints(), setIgnoreCollisionCheck(), btDeformableContactProjection::setLagrangeMultiplier(), btDeformableContactProjection::setProjection(), btSoftBody::setSolver(), setupSingleBatch(), btConvexHullInternal::shrink(), btReducedVector::simplify(), btLemkeAlgorithm::solve(), btMLCPSolver::solveGroupCacheFriendlySetup(), btMultiBodyMLCPConstraintSolver::solveGroupCacheFriendlySetup(), btReducedVector::sort(), btReducedVector::testAdd(), btDeformableLagrangianForce::testDerivative(), btReducedVector::testDot(), btDeformableLagrangianForce::testHessian(), btReducedVector::testMinus(), btReducedVector::testMultiply(), and btDeformableBackwardEulerObjective::updateId().

◆ quickSort()

template<typename T >
template<typename L >
void btAlignedObjectArray< T >::quickSort ( const L CompareFunc)
inline

◆ quickSortInternal()

template<typename T >
template<typename L >
void btAlignedObjectArray< T >::quickSortInternal ( const L CompareFunc,
int  lo,
int  hi 
)
inline

◆ remove()

template<typename T >
void btAlignedObjectArray< T >::remove ( const T key)
inline

◆ removeAtIndex()

template<typename T >
void btAlignedObjectArray< T >::removeAtIndex ( int  index)
inline

◆ reserve()

template<typename T >
SIMD_FORCE_INLINE void btAlignedObjectArray< T >::reserve ( int  _Count)
inline

◆ resize()

template<typename T >
SIMD_FORCE_INLINE void btAlignedObjectArray< T >::resize ( int  newsize,
const T fillData = T() 
)
inline

Definition at line 203 of file btAlignedObjectArray.h.

References m_data, btAlignedObjectArray< T >::reserve(), btAlignedObjectArray< T >::size(), and T.

Referenced by btDeformableBackwardEulerObjective::addLagrangeMultiplier(), btDeformableBackwardEulerObjective::addLagrangeMultiplierRHS(), btUnionFind::allocate(), allocateJacobiansMultiDof(), btSoftBody::applyClusters(), btDeformableMultiBodyDynamicsWorld::applyRigidBodyGravity(), btDeformableBodySolver::backupDv(), btAlignedObjectArray< T >::btAlignedObjectArray(), btCollisionDispatcherMt::btCollisionDispatcherMt(), btDbvtBroadphase::btDbvtBroadphase(), btLDLTAddTL(), btLDLTRemove(), btModifiedGramSchmidt< TV >::btModifiedGramSchmidt(), btMultiBodyFixedConstraint::btMultiBodyFixedConstraint(), btMultiBodyPoint2Point(), btMultiBodySliderConstraint::btMultiBodySliderConstraint(), btMultiSphereShape(), btReducedVector::btReducedVector(), btSoftBody::btSoftBody(), btSolveDantzigLCP(), btBvhTree::build_tree(), btQuantizedBvhTree::build_tree(), buildHull(), buildInternal(), btSimulationIslandManager::buildIslands(), btGImpactBvh::buildSet(), btGImpactQuantizedBvh::buildSet(), buildTreeBottomUp(), calcAccelerationDeltasMultiDof(), btAxisSweep3Internal< BP_FP_INT_TYPE >::calculateOverlappingPairs(), btSimpleBroadphase::calculateOverlappingPairs(), btPolyhedralContactClipping::clipFaceAgainstHull(), btPolyhedralContactClipping::clipHullAgainstHull(), btDbvt::collideTT(), btDbvt::collideTV(), btDbvt::collideTVNoStackAlloc(), btConvexHullInternal::compute(), convertBodies(), btCollisionWorldImporter::convertCollisionShape(), ConvexH::ConvexH(), btAlignedObjectArray< T >::copyFromArray(), HullLibrary::CreateConvexHull(), btSoftBodyHelpers::CreateEllipsoid(), btSoftBodyHelpers::CreateFromTriMesh(), btMLCPSolver::createMLCPFast(), btMultiBodyMLCPConstraintSolver::createMLCPFastRigidBody(), btTriangleInfoMap::deSerialize(), btSoftBodyHelpers::Draw(), btSoftBodyHelpers::extrapolateBarycentricWeights(), findJacobian(), btSoftBody::generateBendingConstraints(), btSoftBody::generateClusters(), getOrInitSolverBody(), getOrInitSolverBodyThreadsafe(), btHashMap< Key, Value >::growTables(), btSoftBody::initializeFaceTree(), initializePolyhedralFeatures(), btSimulationIslandManagerMt::initIslandPools(), btMultiBodyDynamicsWorld::integrateMultiBodyTransforms(), btSoftBodyHelpers::interpolateBarycentricWeights(), btMiniSDF::load(), btSimulationIslandManagerMt::mergeIslands(), MycollideTT(), btClosestNotMeConvexResultCallback::needsCollision(), btDbvtBroadphase::performDeferredRemoval(), btCompoundCollisionAlgorithm::preallocateChildAlgorithms(), btSoftBody::predictMotion(), btMultiBodyDynamicsWorld::predictMultiBodyTransforms(), btCompoundCollisionAlgorithm::processCollision(), btCompoundCompoundCollisionAlgorithm::processCollision(), btConvexConvexAlgorithm::processCollision(), InplaceSolverIslandCallback::processConstraints(), MultiBodyInplaceSolverIslandCallback::processConstraints(), DeformableBodyInplaceSolverIslandCallback::processConstraints(), btSimulationIslandManager::processIslands(), btSoftBody::PSolve_RContacts(), btDbvt::rayTest(), btDbvt::rayTestInternal(), btSoftBody::rebuildNodeTree(), recoverFromPenetration(), btSoftBody::refine(), btDeformableContactProjection::reinitialize(), KKTPreconditioner::reinitialize(), btDeformableBodySolver::reinitialize(), btConjugateGradient< MatrixX >::reinitialize(), btConjugateResidual< MatrixX >::reinitialize(), btMatrixX< T >::rowComputeNonZeroElements(), btDbvt::selfCollideT(), btDbvt::selfCollideTT(), btSoftBody::setPose(), InplaceSolverIslandCallback::setup(), MultiBodyInplaceSolverIslandCallback::setup(), setupMultiBodyContactConstraint(), setupMultiBodyTorsionalFrictionConstraint(), setupSingleBatch(), btSoftBody::setVolumeMass(), btReducedVector::simplify(), btModifiedGramSchmidt< TV >::solve(), btDeformableMultiBodyDynamicsWorld::solveContactConstraints(), btMultiBodyDynamicsWorld::solveExternalForces(), btMLCPSolver::solveGroupCacheFriendlySetup(), btMultiBodyMLCPConstraintSolver::solveGroupCacheFriendlySetup(), btMultiBodyDynamicsWorld::solveInternalConstraints(), btDantzigSolver::solveMLCP(), btDeformableMultiBodyDynamicsWorld::sortConstraints(), btDeformableLagrangianForce::testDerivative(), btDeformableLagrangianForce::testHessian(), btDeformableLinearElasticityForce::totalDampingEnergy(), btDeformableMassSpringForce::totalDampingEnergy(), btDeformableNeoHookeanForce::totalDampingEnergy(), btSoftBody::updateArea(), updateCollisionObjectInterpolationWorldTransforms(), updateCollisionObjectWorldTransforms(), btRaycastVehicle::updateFriction(), btBatchedConstraints::validate(), writeOutBatches(), and btSimulationIslandManagerMt::~btSimulationIslandManagerMt().

◆ resizeNoInitialize()

template<typename T >
SIMD_FORCE_INLINE void btAlignedObjectArray< T >::resizeNoInitialize ( int  newsize)
inline

resize changes the number of elements in the array. If the new size is larger, the new elements will be constructed using the optional second argument. when the new number of elements is smaller, the destructor will be called, but memory will not be freed, to reduce performance overhead of run-time memory (de)allocations.

Definition at line 194 of file btAlignedObjectArray.h.

References btAlignedObjectArray< T >::reserve(), and btAlignedObjectArray< T >::size().

Referenced by allocAllContactConstraints(), convertJoints(), btMLCPSolver::createMLCPFast(), btMultiBodyMLCPConstraintSolver::createMLCPFastRigidBody(), btCollisionDispatcherMt::dispatchAllCollisionPairs(), initBatchedBodyDynamicFlags(), initBatchedConstraintInfoArray(), setupSingleBatch(), setupSpatialGridBatchesMt(), solveGroupCacheFriendlyFinish(), btBatchedConstraints::validate(), writeGrainSizes(), and writeOutBatches().

◆ size()

template<typename T >
SIMD_FORCE_INLINE int btAlignedObjectArray< T >::size ( ) const
inline

return the number of elements in the array

Definition at line 142 of file btAlignedObjectArray.h.

Referenced by add(), btSoftBody::addAeroForceToNode(), btCollisionWorld::addCollisionObject(), btRigidBody::addConstraintRef(), btDeformableMultiBodyDynamicsWorld::addForce(), btSoftBody::addForce(), addIndexedMesh(), btDeformableBackwardEulerObjective::addLagrangeMultiplier(), btDeformableBackwardEulerObjective::addLagrangeMultiplierRHS(), addMaterialProperties(), btDeformableLinearElasticityForce::addScaledDampingForce(), btDeformableMassSpringForce::addScaledDampingForce(), btDeformableNeoHookeanForce::addScaledDampingForce(), btDeformableLinearElasticityForce::addScaledDampingForceDifferential(), btDeformableMassSpringForce::addScaledDampingForceDifferential(), btDeformableNeoHookeanForce::addScaledDampingForceDifferential(), btDeformableCorotatedForce::addScaledElasticForce(), btDeformableLinearElasticityForce::addScaledElasticForce(), btDeformableMassSpringForce::addScaledElasticForce(), btDeformableNeoHookeanForce::addScaledElasticForce(), btDeformableLinearElasticityForce::addScaledElasticForceDifferential(), btDeformableMassSpringForce::addScaledElasticForceDifferential(), btDeformableNeoHookeanForce::addScaledElasticForceDifferential(), btDeformableGravityForce::addScaledGravityForce(), btDeformableLinearElasticityForce::addScaledHessian(), btSoftBody::addVelocity(), btSoftBody::advanceDeformation(), btDbvt::allocate(), btAlignedObjectArray< T >::allocate(), btSimulationIslandManagerMt::allocateIsland(), btAlignedObjectArray< T >::allocSize(), btSimulationIslandManagerMt::Island::append(), btSoftBody::appendAnchor(), btSoftBody::appendFace(), btSoftBody::appendLink(), btSoftBody::appendMaterial(), btSoftBody::appendNode(), btSoftBody::appendTetra(), btSoftBody::applyClusters(), btDeformableContactProjection::applyDynamicFriction(), btDeformableBackwardEulerObjective::applyExplicitForce(), btDeformableBackwardEulerObjective::applyForce(), btSoftBody::applyForces(), btMultiBodyDynamicsWorld::applyGravity(), btDeformableMultiBodyDynamicsWorld::applyRepulsionForce(), btDeformableMultiBodyDynamicsWorld::applyRigidBodyGravity(), btGeometryUtil::areVerticesBehindPlane(), btAlignedObjectArray< T >::at(), average(), btDeformableBodySolver::backupDv(), btDeformableBodySolver::backupVelocity(), btGImpactBvh::boxQuery(), btGImpactQuantizedBvh::boxQuery(), btAlignedObjectArray< T >::btAlignedObjectArray(), btIsBodyInIsland(), btTriangleMesh::btTriangleMesh(), btBvhTree::build_tree(), btQuantizedBvhTree::build_tree(), btSimulationIslandManagerMt::buildAndProcessIslands(), btDeformableMassSpringForce::buildDampingForceDifferentialDiagonal(), KKTPreconditioner::buildDiagonalA(), KKTPreconditioner::buildDiagonalS(), buildInternal(), btGImpactBvh::buildSet(), btGImpactQuantizedBvh::buildSet(), buildTreeBottomUp(), btQuantizedBvhTree::calc_quantization(), calcBatchCost(), btGImpactMeshShape::calcLocalAABB(), btDeformableBackwardEulerObjective::calculateContactForce(), btAxisSweep3Internal< BP_FP_INT_TYPE >::calculateOverlappingPairs(), btSimpleBroadphase::calculateOverlappingPairs(), btMultiBodyDynamicsWorld::calculateSimulationIslands(), btCompoundCollisionAlgorithm::calculateTimeOfImpact(), checkCollideWithOverride(), btDeformableContactProjection::checkConstraints(), btSoftBody::checkDeformableFaceContact(), btSoftBody::checkFace(), btSoftBody::checkLink(), btGImpactCompoundShape::childrenHasTransform(), btSoftBody::cleanupClusters(), btAlignedObjectArray< T >::clear(), btSimpleDynamicsWorld::clearForces(), btDeformableMultiBodyDynamicsWorld::clearGravity(), btMultiBodyDynamicsWorld::clearMultiBodyConstraintForces(), btMultiBodyDynamicsWorld::clearMultiBodyForces(), btPolyhedralContactClipping::clipFace(), btPolyhedralContactClipping::clipFaceAgainstHull(), btPolyhedralContactClipping::clipHullAgainstHull(), btDbvt::clone(), btSoftBody::clusterCount(), btDbvtBroadphase::collide(), btDbvt::collideKDOP(), btDbvt::collideOCL(), btDbvt::collideTT(), btDbvt::collideTU(), btDbvt::collideTV(), btDbvt::collideTVNoStackAlloc(), btDeformableBodySolver::computeDescentStep(), btDeformableBackwardEulerObjective::computeNorm(), btDeformableBackwardEulerObjective::computeResidual(), convertContact(), convertMultiBodyContact(), btCollisionWorld::convexSweepTest(), btAlignedObjectArray< T >::copyFromArray(), btDefaultSoftBodySolver::copySoftBodyToVertexBuffer(), btSoftBodyHelpers::CreateEllipsoid(), btSoftBodyHelpers::CreateFromTetGenData(), btSoftBodyHelpers::CreateFromTriMesh(), btSoftBodyHelpers::CreateFromVtkFile(), btMLCPSolver::createMLCP(), btMLCPSolver::createMLCPFast(), btMultiBodyMLCPConstraintSolver::createMLCPFastMultiBody(), btMultiBodyMLCPConstraintSolver::createMLCPFastRigidBody(), btSoftBody::cutLink(), btSoftBody::dampClusters(), debugDrawAllBatches(), btCollisionWorld::debugDrawWorld(), btMultiBodyDynamicsWorld::debugDrawWorld(), btDeformableMultiBodyDynamicsWorld::debugDrawWorld(), btSoftMultiBodyDynamicsWorld::debugDrawWorld(), btSoftRigidDynamicsWorld::debugDrawWorld(), btSoftBody::defaultCollisionHandler(), btCollisionWorldImporter::deleteAllData(), btCollisionDispatcherMt::dispatchAllCollisionPairs(), btReducedVector::dot(), btSoftBodyHelpers::Draw(), btSoftBodyHelpers::DrawFrame(), btSoftBodyHelpers::DrawInfos(), btSoftBodyHelpers::duplicateFaces(), btSoftBody::evaluateCom(), btAlignedObjectArray< T >::expand(), btAlignedObjectArray< T >::expandNonInitializing(), btSoftBodyHelpers::extrapolateBarycentricWeights(), btAlignedObjectArray< T >::findBinarySearch(), btHashMap< Key, Value >::findIndex(), btLemkeAlgorithm::findLexicographicMinimum(), btAlignedObjectArray< T >::findLinearSearch(), btAlignedObjectArray< T >::findLinearSearch2(), btTriangleMesh::findOrAddVertex(), btHashedSimplePairCache::findPair(), btDefaultSerializer::finishSerialization(), btMultiBodyDynamicsWorld::forwardKinematics(), btSoftBody::generateBendingConstraints(), btSoftBodyHelpers::generateBoundaryFaces(), btSoftBody::generateClusters(), btSoftBody::geometricCollisionHandler(), btCompoundCollisionAlgorithm::getAllContactManifolds(), btCompoundCompoundCollisionAlgorithm::getAllContactManifolds(), btHashMap< Key, Value >::getAtIndex(), btSoftBody::getCenterOfMass(), btGImpactCompoundShape::getChildTransform(), GetCount(), btHashedSimplePairCache::GetCount(), btCollisionDispatcher::getInternalManifoldPointer(), btSimulationIslandManagerMt::getIsland(), btHashMap< Key, Value >::getKeyAtIndex(), btSoftBody::getLinearVelocity(), btCollisionDispatcher::getManifoldByIndexInternal(), btGImpactMeshShape::getMeshPartCount(), btCollisionDispatcher::getNewManifold(), btCollisionDispatcherMt::getNewManifold(), btCollisionWorldImporter::getNumBvhs(), getNumChildShapes(), btGImpactCompoundShape::getNumChildShapes(), btDefaultSerializer::getNumChunks(), btCollisionWorld::getNumCollisionObjects(), btCollisionWorldImporter::getNumCollisionShapes(), btRigidBody::getNumConstraintRefs(), btUnionFind::getNumElements(), btCollisionDispatcher::getNumManifolds(), btMultiBodyDynamicsWorld::getNumMultibodies(), btMultiBodyDynamicsWorld::getNumMultiBodyConstraints(), btDeformableLagrangianForce::getNumNodes(), getNumObjectsWithoutCollision(), getNumOverlappingObjects(), getNumOverlappingPairs(), btHashedSimplePairCache::getNumOverlappingPairs(), getNumPoints(), btCollisionWorldImporter::getNumRigidBodies(), getNumSubParts(), btCollisionWorldImporter::getNumTriangleInfoMaps(), btTriangleBuffer::getNumTriangles(), btTriangleMesh::getNumTriangles(), btRaycastVehicle::getNumWheels(), getOrInitSolverBody(), getOrInitSolverBodyThreadsafe(), btGeometryUtil::getPlaneEquationsFromVertices(), btSoftBody::getRigidTransform(), getSphereCount(), btSoftBody::getTotalMass(), getVertexCopy(), btGeometryUtil::getVerticesFromPlaneEquations(), btSoftBody::getVolume(), btGImpactCollisionAlgorithm::gimpact_vs_gimpact(), btGImpactCollisionAlgorithm::gimpact_vs_shape(), GrahamScanConvexHull2D(), btHashMap< Key, Value >::growTables(), btSoftBody::indicesToPointers(), initBatchedBodyDynamicFlags(), btDefaultSerializer::initDNA(), btDeformableBackwardEulerObjective::initialGuess(), btSoftBody::initializeClusters(), btSoftBody::initializeDmInverse(), btSoftBody::initializeFaceTree(), btAlignedObjectArray< T >::initializeFromBuffer(), initializePolyhedralFeatures(), btSimulationIslandManagerMt::initIslandPools(), btHashMap< Key, Value >::insert(), btMultiBodyDynamicsWorld::integrateMultiBodyTransforms(), btSimpleDynamicsWorld::integrateTransforms(), btDeformableMultiBodyDynamicsWorld::integrateTransforms(), internalConvertMultipleJoints(), btSoftMultiBodyDynamicsWorld::internalSingleStepSimulation(), btSoftRigidDynamicsWorld::internalSingleStepSimulation(), btSoftBodyHelpers::interpolateBarycentricWeights(), btSoftBody::interpolateRenderMesh(), btGeometryUtil::isPointInsidePlanes(), btDeformableBodySolver::kineticEnergy(), btMiniSDF::load(), btContactArray::merge_contacts(), btContactArray::merge_contacts_unique(), btSimulationIslandManagerMt::mergeIslands(), mul(), btDeformableBackwardEulerObjective::multiply(), MycollideTT(), btClosestNotMeConvexResultCallback::needsCollision(), notExist(), MassPreconditioner::operator()(), KKTPreconditioner::operator()(), btReducedVector::operator+(), btReducedVector::operator-(), btReducedVector::operator==(), btAlignedObjectArray< T >::operator[](), btDbvt::optimizeBottomUp(), optimizeConvexHull(), btDbvt::optimizeTopDown(), btSimulationIslandManagerMt::parallelIslandDispatch(), btDbvtBroadphase::performDeferredRemoval(), btDeformableMultiBodyDynamicsWorld::performDeformableCollisionDetection(), btDeformableMultiBodyDynamicsWorld::performGeometricCollisions(), plConvexHullNumFaces(), plConvexHullNumVertices(), btSoftBody::pointersToIndices(), btGImpactMeshShape::postUpdate(), btDeformableBodySolver::predictDeformableMotion(), btSoftBody::predictMotion(), btDefaultSoftBodySolver::predictMotion(), btDeformableBodySolver::predictMotion(), btMultiBodyDynamicsWorld::predictMultiBodyTransforms(), btSimpleDynamicsWorld::predictUnconstraintMotion(), btSoftBody::prepareClusters(), btReducedVector::print(), btSoftColliders::CollideCL_SS::Process(), btGImpactMeshShapePart::processAllTriangles(), btGImpactMeshShape::processAllTriangles(), btGImpactMeshShapePart::processAllTrianglesRay(), btGImpactMeshShape::processAllTrianglesRay(), btCompoundCollisionAlgorithm::processCollision(), btCompoundCompoundCollisionAlgorithm::processCollision(), btConvexConvexAlgorithm::processCollision(), btSoftRigidCollisionAlgorithm::processCollision(), InplaceSolverIslandCallback::processConstraints(), MultiBodyInplaceSolverIslandCallback::processConstraints(), DeformableBodyInplaceSolverIslandCallback::processConstraints(), InplaceSolverIslandCallback::processIsland(), MultiBodyInplaceSolverIslandCallback::processIsland(), btSimulationIslandManager::processIslands(), btDeformableContactProjection::project(), btSoftBody::PSolve_Anchors(), btSoftBody::PSolve_Links(), btSoftBody::PSolve_RContacts(), btSoftBody::PSolve_SContacts(), btAlignedObjectArray< T >::push_back(), btAlignedObjectArray< T >::quickSort(), randomizeBatchedConstraintOrdering(), btSoftBody::randomizeConstraints(), btSoftBody::rayFaceTest(), btGImpactBvh::rayQuery(), btGImpactQuantizedBvh::rayQuery(), btDbvt::rayTest(), btSoftBody::rayTest(), btDbvt::rayTestInternal(), RB_shape_new_convex_hull(), btSoftBody::rebuildNodeTree(), recoverFromPenetration(), btSoftBody::refine(), refitPartial(), btDeformableContactProjection::reinitialize(), MassPreconditioner::reinitialize(), KKTPreconditioner::reinitialize(), btDeformableBackwardEulerObjective::reinitialize(), btSoftBody::releaseClusters(), btCollisionDispatcher::releaseManifold(), btCollisionDispatcherMt::releaseManifold(), releasePredictiveContacts(), btHashMap< Key, Value >::remove(), btAlignedObjectArray< T >::removeAtIndex(), btCompoundCollisionAlgorithm::removeChildAlgorithms(), btCollisionWorld::removeCollisionObject(), btRigidBody::removeConstraintRef(), btDeformableMultiBodyDynamicsWorld::removeForce(), btHashedSimplePairCache::removeOverlappingPair(), btDeformableMultiBodyDynamicsWorld::removeSoftBodyForce(), btSoftBodyHelpers::ReoptimizeLinkOrder(), btAlignedObjectArray< T >::reserve(), btConstraintSolverPoolMt::reset(), btSoftBody::resetLinkRestLengths(), btRaycastVehicle::resetSuspension(), btAlignedObjectArray< T >::resize(), btAlignedObjectArray< T >::resizeNoInitialize(), resolveAllRollingFrictionConstraints(), resolveMultipleContactConstraintsInterleaved(), btDeformableBodySolver::revertDv(), btDeformableBodySolver::revertVelocity(), btSoftBody::scale(), btDbvt::selfCollideT(), btDbvt::selfCollideTT(), btSimulationIslandManagerMt::serialIslandDispatch(), btTriangleInfoMap::serialize(), btSoftBody::serialize(), btCollisionWorld::serializeCollisionObjects(), btMultiBodyDynamicsWorld::serializeMultiBodies(), serializeRigidBodies(), btSoftBody::setAngularVelocity(), btGImpactCompoundShape::setChildTransform(), btDeformableContactProjection::setConstraints(), btSimpleDynamicsWorld::setGravity(), setIgnoreCollisionCheck(), btDeformableContactProjection::setLagrangeMultiplier(), btSoftBody::setLinearVelocity(), btGImpactMeshShape::setLocalScaling(), btGImpactMeshShape::setMargin(), btSoftBody::setPose(), btDeformableContactProjection::setProjection(), btSoftBody::setRestLengthScale(), btSoftBody::setSpringStiffness(), btSoftBody::setTotalMass(), setupAllContactConstraints(), btDeformableMultiBodyDynamicsWorld::setupConstraints(), btDeformableBodySolver::setupDeformableSolve(), setupMultiBodyContactConstraint(), setupMultiBodyTorsionalFrictionConstraint(), setupSpatialGridBatchesMt(), btSoftBody::setVelocity(), btSoftBody::setVolumeDensity(), btSoftBody::setVolumeMass(), btSoftBody::setZeroVelocity(), btConvexHullInternal::shrink(), btReducedVector::simplify(), btHashMap< Key, Value >::size(), btDeformableMultiBodyDynamicsWorld::softBodySelfCollision(), btModifiedGramSchmidt< TV >::solve(), btLemkeAlgorithm::solve(), btSoftBody::solveClusters(), btSoftBody::solveConstraints(), btDefaultSoftBodySolver::solveConstraints(), btDeformableMultiBodyDynamicsWorld::solveContactConstraints(), btDeformableBodySolver::solveDeformableConstraints(), btMultiBodyDynamicsWorld::solveExternalForces(), btMultiBodyMLCPConstraintSolver::solveGroupCacheFriendlyIterations(), btMLCPSolver::solveGroupCacheFriendlyIterations(), btMLCPSolver::solveGroupCacheFriendlySetup(), btMultiBodyMLCPConstraintSolver::solveGroupCacheFriendlySetup(), solveGroupCacheFriendlySplitImpulseIterations(), btMultiBodyDynamicsWorld::solveInternalConstraints(), btSimulationIslandManagerMt::solveIsland(), solveSingleIteration(), btSoftMultiBodyDynamicsWorld::solveSoftBodiesConstraints(), btSoftRigidDynamicsWorld::solveSoftBodiesConstraints(), btDeformableContactProjection::solveSplitImpulse(), btReducedVector::sort(), btDeformableMultiBodyDynamicsWorld::sortConstraints(), btUnionFind::sortIslands(), SplitTest(), btSoftBody::staticSolve(), sum(), btSimpleDynamicsWorld::synchronizeMotionStates(), btModifiedGramSchmidt< TV >::test(), btDeformableLagrangianForce::testDerivative(), btDeformableLagrangianForce::testHessian(), btDeformableLinearElasticityForce::totalDampingEnergy(), btDeformableMassSpringForce::totalDampingEnergy(), btDeformableNeoHookeanForce::totalDampingEnergy(), btDeformableLinearElasticityForce::totalElasticEnergy(), btDeformableMassSpringForce::totalElasticEnergy(), btDeformableNeoHookeanForce::totalElasticEnergy(), btDeformableBackwardEulerObjective::totalEnergy(), btDeformableGravityForce::totalEnergy(), btSoftBody::transform(), btDeformableContactProjection::update(), btCollisionWorld::updateAabbs(), btSimpleDynamicsWorld::updateAabbs(), btSimulationIslandManager::updateActivationState(), btMultiBodyDynamicsWorld::updateActivationState(), btDeformableMultiBodyDynamicsWorld::updateActivationState(), btSoftBody::updateArea(), btSoftBody::updateBounds(), btSoftBody::updateClusters(), btSoftBody::updateDeformation(), btDeformableBodySolver::updateEnergy(), btDeformableBackwardEulerObjective::updateId(), btSoftBody::updateLinkConstants(), btDeformableBodySolver::updateNodes(), btSoftBody::updateNormals(), btSoftBody::updatePose(), btDefaultSoftBodySolver::updateSoftBodies(), btDeformableBodySolver::updateSoftBodies(), updateSubtreeHeaders(), btDeformableBodySolver::updateTempPosition(), btRaycastVehicle::updateVehicle(), btDeformableBodySolver::updateVelocity(), btDeformableBackwardEulerObjective::updateVelocity(), btBatchedConstraints::validate(), btLemkeAlgorithm::validBasis(), btSoftBody::VSolve_Links(), walkStacklessQuantizedTreeCacheFriendly(), btDbvt::write(), btSoftBodyHelpers::writeObj(), btCollisionWorld::~btCollisionWorld(), btConstraintSolverPoolMt::~btConstraintSolverPoolMt(), btGImpactMeshShape::~btGImpactMeshShape(), btRigidBody::~btRigidBody(), btSimulationIslandManagerMt::~btSimulationIslandManagerMt(), and btSoftBody::~btSoftBody().

◆ swap()

template<typename T >
void btAlignedObjectArray< T >::swap ( int  index0,
int  index1 
)
inline

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