16 #ifndef BT_BVH_TRIANGLE_MESH_SHAPE_H
17 #define BT_BVH_TRIANGLE_MESH_SHAPE_H
74 virtual const char*
getName()
const {
return "BVHTRIANGLEMESH";}
77 virtual void setLocalScaling(
const btVector3& scaling);
86 void buildOptimizedBvh();
90 return m_useQuantizedAabbCompression;
95 m_triangleInfoMap = triangleInfoMap;
100 return m_triangleInfoMap;
105 return m_triangleInfoMap;
108 virtual int calculateSerializeBufferSize()
const;
111 virtual const char* serialize(
void* dataBuffer,
btSerializer* serializer)
const;
113 virtual void serializeSingleBvh(
btSerializer* serializer)
const;
115 virtual void serializeSingleTriangleInfoMap(
btSerializer* serializer)
const;
145 #endif //BT_BVH_TRIANGLE_MESH_SHAPE_H
bool usesQuantizedAabbCompression() const
const btTriangleInfoMap * getTriangleInfoMap() const
btCollisionShapeData m_collisionShapeData
#define SIMD_FORCE_INLINE
btStridingMeshInterfaceData m_meshInterface
btTriangleInfoMapData * m_triangleInfoMap
The btTriangleMeshShape is an internal concave triangle mesh interface. Don't use this class directly...
The btBvhTriangleMeshShape is a static-triangle mesh shape, it can only be used for fixed/non-moving ...
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 ...
btTriangleInfoMap * m_triangleInfoMap
The btTriangleCallback provides a callback for each overlapping triangle when calling processAllTrian...
virtual int calculateSerializeBufferSize() const
The btOptimizedBvh extends the btQuantizedBvh to create AABB tree for triangle meshes, through the btStridingMeshInterface.
btQuantizedBvhDoubleData * m_quantizedDoubleBvh
btVector3 can be used to represent 3D points and vectors.
#define ATTRIBUTE_ALIGNED16(a)
bool m_useQuantizedAabbCompression
The btStridingMeshInterface is the interface class for high performance generic access to triangle me...
virtual const char * getName() const
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 ...
#define BT_DECLARE_ALIGNED_ALLOCATOR()
void setTriangleInfoMap(btTriangleInfoMap *triangleInfoMap)
The btTriangleInfoMap stores edge angle information for some triangles. You can compute this informat...
btQuantizedBvhFloatData * m_quantizedFloatBvh
btOptimizedBvh * getOptimizedBvh()
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 ...
btTriangleInfoMap * getTriangleInfoMap()