Bullet Collision Detection & Physics Library
|
The btTriangleIndexVertexArray allows to access multiple triangle meshes, by indexing into existing triangle/index arrays. More...
#include <btTriangleIndexVertexArray.h>
Protected Attributes | |
IndexedMeshArray | m_indexedMeshes |
int | m_pad [2] |
int | m_hasAabb |
btVector3 | m_aabbMin |
btVector3 | m_aabbMax |
![]() | |
btVector3 | m_scaling |
The btTriangleIndexVertexArray allows to access multiple triangle meshes, by indexing into existing triangle/index arrays.
Additional meshes can be added using addIndexedMesh No duplicate is made of the vertex/index data, it only indexes into external vertex/index arrays. So keep those arrays around during the lifetime of this btTriangleIndexVertexArray.
Definition at line 65 of file btTriangleIndexVertexArray.h.
|
inline |
Definition at line 78 of file btTriangleIndexVertexArray.h.
|
virtual |
Definition at line 33 of file btTriangleIndexVertexArray.cpp.
btTriangleIndexVertexArray::btTriangleIndexVertexArray | ( | int | numTriangles, |
int * | triangleIndexBase, | ||
int | triangleIndexStride, | ||
int | numVertices, | ||
btScalar * | vertexBase, | ||
int | vertexStride | ||
) |
Definition at line 18 of file btTriangleIndexVertexArray.cpp.
|
inline |
Definition at line 87 of file btTriangleIndexVertexArray.h.
btTriangleIndexVertexArray::BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
|
inline |
Definition at line 110 of file btTriangleIndexVertexArray.h.
|
inline |
Definition at line 115 of file btTriangleIndexVertexArray.h.
|
virtual |
Implements btStridingMeshInterface.
Definition at line 57 of file btTriangleIndexVertexArray.cpp.
|
virtual |
get read and write access to a subpart of a triangle mesh this subpart has a continuous array of vertices and indices in this way the mesh can be handled as chunks of memory with striding very similar to OpenGL vertexarray support make a call to unLockVertexBase when the read and write access is finished
Implements btStridingMeshInterface.
Definition at line 37 of file btTriangleIndexVertexArray.cpp.
getNumSubParts returns the number of separate subparts each subpart has a continuous array of vertices and indices
Implements btStridingMeshInterface.
Definition at line 105 of file btTriangleIndexVertexArray.h.
|
virtual |
Reimplemented from btStridingMeshInterface.
Definition at line 86 of file btTriangleIndexVertexArray.cpp.
|
virtual |
Reimplemented from btStridingMeshInterface.
Definition at line 74 of file btTriangleIndexVertexArray.cpp.
Implements btStridingMeshInterface.
Reimplemented in btTriangleMesh.
Definition at line 121 of file btTriangleIndexVertexArray.h.
Implements btStridingMeshInterface.
Reimplemented in btTriangleMesh.
Definition at line 120 of file btTriangleIndexVertexArray.h.
|
virtual |
Reimplemented from btStridingMeshInterface.
Definition at line 79 of file btTriangleIndexVertexArray.cpp.
|
inlinevirtual |
Implements btStridingMeshInterface.
Definition at line 101 of file btTriangleIndexVertexArray.h.
unLockVertexBase finishes the access to a subpart of the triangle mesh make a call to unLockVertexBase when the read and write access (using getLockedVertexIndexBase) is finished
Implements btStridingMeshInterface.
Definition at line 99 of file btTriangleIndexVertexArray.h.
|
mutableprotected |
Definition at line 73 of file btTriangleIndexVertexArray.h.
|
mutableprotected |
Definition at line 72 of file btTriangleIndexVertexArray.h.
|
mutableprotected |
Definition at line 71 of file btTriangleIndexVertexArray.h.
|
protected |
Definition at line 69 of file btTriangleIndexVertexArray.h.
|
protected |
Definition at line 70 of file btTriangleIndexVertexArray.h.