16 #ifndef BT_TRIANGLE_INDEX_VERTEX_ARRAY_H    17 #define BT_TRIANGLE_INDEX_VERTEX_ARRAY_H    51 #ifdef BT_USE_DOUBLE_PRECISION
    93                 m_indexedMeshes[m_indexedMeshes.
size()-1].m_indexType = indexType;
    97         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);
    99         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;
   110                 return (
int)m_indexedMeshes.
size();
   115                 return m_indexedMeshes;
   120                 return m_indexedMeshes;
   126         virtual bool    hasPremadeAabb() 
const;
   127         virtual void    setPremadeAabb(
const btVector3& aabbMin, 
const btVector3& aabbMax ) 
const;
   133 #endif //BT_TRIANGLE_INDEX_VERTEX_ARRAY_H 
void push_back(const T &_Val)
virtual void unLockVertexBase(int subpart)
unLockVertexBase finishes the access to a subpart of the triangle mesh make a call to unLockVertexBas...
The btIndexedMesh indexes a single vertex and index array. 
virtual void preallocateVertices(int numverts)
btTriangleIndexVertexArray()
const IndexedMeshArray & getIndexedMeshArray() const 
PHY_ScalarType m_indexType
The btTriangleIndexVertexArray allows to access multiple triangle meshes, by indexing into existing t...
IndexedMeshArray m_indexedMeshes
int size() const 
return the number of elements in the array 
void addIndexedMesh(const btIndexedMesh &mesh, PHY_ScalarType indexType=PHY_INTEGER)
int m_triangleIndexStride
IndexedMeshArray & getIndexedMeshArray()
const unsigned char * m_triangleIndexBase
btVector3 can be used to represent 3D points and vectors. 
#define ATTRIBUTE_ALIGNED16(a)
The btStridingMeshInterface is the interface class for high performance generic access to triangle me...
btAlignedObjectArray< btIndexedMesh > IndexedMeshArray
virtual void preallocateIndices(int numindices)
#define BT_DECLARE_ALIGNED_ALLOCATOR()
virtual int getNumSubParts() const 
getNumSubParts returns the number of seperate subparts each subpart has a continuous array of vertice...
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
PHY_ScalarType m_vertexType
PHY_ScalarType
PHY_ScalarType enumerates possible scalar types. 
const unsigned char * m_vertexBase
virtual void unLockReadOnlyVertexBase(int subpart) const