Go to the source code of this file.
|
| | BT_DECLARE_ALIGNED_ALLOCATOR () |
| |
| | btTriangleIndexVertexArray () |
| |
| virtual | ~btTriangleIndexVertexArray () |
| |
| | btTriangleIndexVertexArray (int numTriangles, int *triangleIndexBase, int triangleIndexStride, int numVertices, btScalar *vertexBase, int vertexStride) |
| |
| void | addIndexedMesh (const btIndexedMesh &mesh, PHY_ScalarType indexType=PHY_INTEGER) |
| |
| virtual void | getLockedVertexIndexBase (unsigned char **vertexbase, int &numverts, PHY_ScalarType &type, int &vertexStride, unsigned char **indexbase, int &indexstride, int &numfaces, PHY_ScalarType &indicestype, int subpart=0) |
| |
| virtual void | getLockedReadOnlyVertexIndexBase (const unsigned char **vertexbase, int &numverts, PHY_ScalarType &type, int &vertexStride, const unsigned char **indexbase, int &indexstride, int &numfaces, PHY_ScalarType &indicestype, int subpart=0) const |
| |
| virtual void | unLockVertexBase (int subpart) |
| |
| virtual void | unLockReadOnlyVertexBase (int subpart) const |
| |
| virtual int | getNumSubParts () const |
| |
| IndexedMeshArray & | getIndexedMeshArray () |
| |
| virtual void | preallocateVertices (int numverts) |
| |
| virtual void | preallocateIndices (int numindices) |
| |
| virtual bool | hasPremadeAabb () const |
| |
| virtual void | setPremadeAabb (const btVector3 &aabbMin, const btVector3 &aabbMax) const |
| |
| virtual void | getPremadeAabb (btVector3 *aabbMin, btVector3 *aabbMax) const |
| |
◆ IndexedMeshArray
◆ addIndexedMesh()
◆ BT_DECLARE_ALIGNED_ALLOCATOR()
| BT_DECLARE_ALIGNED_ALLOCATOR |
( |
| ) |
|
◆ btTriangleIndexVertexArray() [1/2]
| btTriangleIndexVertexArray |
( |
| ) |
|
◆ btTriangleIndexVertexArray() [2/2]
| btTriangleIndexVertexArray::btTriangleIndexVertexArray |
( |
int | numTriangles, |
|
|
int * | triangleIndexBase, |
|
|
int | triangleIndexStride, |
|
|
int | numVertices, |
|
|
btScalar * | vertexBase, |
|
|
int | vertexStride ) |
◆ getIndexedMeshArray()
◆ getLockedReadOnlyVertexIndexBase()
| virtual void getLockedReadOnlyVertexIndexBase |
( |
const unsigned char ** | vertexbase, |
|
|
int & | numverts, |
|
|
PHY_ScalarType & | type, |
|
|
int & | vertexStride, |
|
|
const unsigned char ** | indexbase, |
|
|
int & | indexstride, |
|
|
int & | numfaces, |
|
|
PHY_ScalarType & | indicestype, |
|
|
int | subpart = 0 ) const |
|
virtual |
◆ getLockedVertexIndexBase()
| virtual void getLockedVertexIndexBase |
( |
unsigned char ** | vertexbase, |
|
|
int & | numverts, |
|
|
PHY_ScalarType & | type, |
|
|
int & | vertexStride, |
|
|
unsigned char ** | indexbase, |
|
|
int & | indexstride, |
|
|
int & | numfaces, |
|
|
PHY_ScalarType & | indicestype, |
|
|
int | subpart = 0 ) |
|
virtual |
◆ getNumSubParts()
| virtual int getNumSubParts |
( |
| ) |
const |
|
virtual |
◆ getPremadeAabb()
◆ hasPremadeAabb()
| virtual bool hasPremadeAabb |
( |
| ) |
const |
|
virtual |
◆ preallocateIndices()
| virtual void preallocateIndices |
( |
int | numindices | ) |
|
|
virtual |
◆ preallocateVertices()
| virtual void preallocateVertices |
( |
int | numverts | ) |
|
|
virtual |
◆ setPremadeAabb()
| virtual void setPremadeAabb |
( |
const btVector3 & | aabbMin, |
|
|
const btVector3 & | aabbMax ) const |
|
virtual |
◆ unLockReadOnlyVertexBase()
| virtual void unLockReadOnlyVertexBase |
( |
int | subpart | ) |
const |
|
virtual |
◆ unLockVertexBase()
| virtual void unLockVertexBase |
( |
int | subpart | ) |
|
|
virtual |
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
Definition at line 99 of file btTriangleIndexVertexArray.h.
◆ ~btTriangleIndexVertexArray()
| btTriangleIndexVertexArray::~btTriangleIndexVertexArray |
( |
| ) |
|
|
virtual |
◆ __pad0__
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 66 of file btTriangleIndexVertexArray.h.
◆ btIndexedMesh
◆ m_aabbMax
◆ m_aabbMin
◆ m_hasAabb
◆ m_indexType
◆ m_numTriangles
◆ m_numVertices
◆ m_pad
◆ m_triangleIndexBase
| const unsigned char* m_triangleIndexBase |
◆ m_triangleIndexStride
| int m_triangleIndexStride |
◆ m_vertexBase
| const unsigned char* m_vertexBase |
◆ m_vertexStride
◆ m_vertexType