Bullet Collision Detection & Physics Library
|
Go to the documentation of this file.
16 #ifndef BT_BVH_TRIANGLE_MESH_SHAPE_H
17 #define BT_BVH_TRIANGLE_MESH_SHAPE_H
43 bool m_pad[11] __attribute__((unused));
74 virtual const char*
getName()
const {
return "BVHTRIANGLEMESH"; }
76 virtual void setLocalScaling(
const btVector3& scaling);
85 void buildOptimizedBvh();
89 return m_useQuantizedAabbCompression;
94 m_triangleInfoMap = triangleInfoMap;
99 return m_triangleInfoMap;
104 return m_triangleInfoMap;
107 virtual int calculateSerializeBufferSize()
const;
110 virtual const char* serialize(
void* dataBuffer,
btSerializer* serializer)
const;
112 virtual void serializeSingleBvh(
btSerializer * serializer)
const;
114 virtual void serializeSingleTriangleInfoMap(
btSerializer * serializer)
const;
144 #endif //BT_BVH_TRIANGLE_MESH_SHAPE_H
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
The btTriangleMeshShape is an internal concave triangle mesh interface. Don't use this class directly...
The btOptimizedBvh extends the btQuantizedBvh to create AABB tree for triangle meshes,...
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
The btBvhTriangleMeshShape is a static-triangle mesh shape, it can only be used for fixed/non-moving ...
btTriangleInfoMap * m_triangleInfoMap
bool usesQuantizedAabbCompression() const
btStridingMeshInterfaceData m_meshInterface
The btStridingMeshInterface is the interface class for high performance generic access to triangle me...
btTriangleInfoMapData * m_triangleInfoMap
virtual const char * getName() const
The btTriangleInfoMap stores edge angle information for some triangles. You can compute this informat...
The btTriangleCallback provides a callback for each overlapping triangle when calling processAllTrian...
btQuantizedBvhDoubleData * m_quantizedDoubleBvh
#define BT_DECLARE_ALIGNED_ALLOCATOR()
bool m_useQuantizedAabbCompression
btVector3 can be used to represent 3D points and vectors.
#define ATTRIBUTE_ALIGNED16(a)
void setTriangleInfoMap(btTriangleInfoMap *triangleInfoMap)
#define SIMD_FORCE_INLINE
btQuantizedBvhFloatData * m_quantizedFloatBvh
btCollisionShapeData m_collisionShapeData
btTriangleInfoMap * getTriangleInfoMap()
const btTriangleInfoMap * getTriangleInfoMap() const
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
btOptimizedBvh * getOptimizedBvh()
virtual int calculateSerializeBufferSize() const