16 #ifndef BT_BVH_TRIANGLE_MESH_SHAPE_H
17 #define BT_BVH_TRIANGLE_MESH_SHAPE_H
74 virtual const char*
getName()
const {
return "BVHTRIANGLEMESH"; }
struct AtomicSpinLock __attribute__((aligned(32))) AtomicSpinLock
virtual void serializeSingleBvh(btSerializer *serializer) const
virtual void setLocalScaling(const btVector3 &scaling)
BT_DECLARE_ALIGNED_ALLOCATOR()
void setTriangleInfoMap(btTriangleInfoMap *triangleInfoMap)
void refitTree(const btVector3 &aabbMin, const btVector3 &aabbMax)
virtual ~btBvhTriangleMeshShape()
virtual const char * getName() const
virtual int calculateSerializeBufferSize() const
void setOptimizedBvh(btOptimizedBvh *bvh, const btVector3 &localScaling=btVector3(1, 1, 1))
void performRaycast(btTriangleCallback *callback, const btVector3 &raySource, const btVector3 &rayTarget)
const btTriangleInfoMap * getTriangleInfoMap() const
bool usesQuantizedAabbCompression() const
void partialRefitTree(const btVector3 &aabbMin, const btVector3 &aabbMax)
for a fast incremental refit of parts of the tree. Note: the entire AABB of the tree will become more...
void performConvexcast(btTriangleCallback *callback, const btVector3 &boxSource, const btVector3 &boxTarget, const btVector3 &boxMin, const btVector3 &boxMax)
virtual void processAllTriangles(btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const
virtual void serializeSingleTriangleInfoMap(btSerializer *serializer) const
btTriangleInfoMap * m_triangleInfoMap
bool m_useQuantizedAabbCompression
btOptimizedBvh * getOptimizedBvh()
btBvhTriangleMeshShape(btStridingMeshInterface *meshInterface, bool useQuantizedAabbCompression, bool buildBvh=true)
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
#define ATTRIBUTE_ALIGNED16(a)
#define SIMD_FORCE_INLINE
btTriangleMeshShape(btStridingMeshInterface *meshInterface)
btVector3
btVector3 can be used to represent 3D points and vectors. It has an un-used w component to suit 16-by...
DEGForeachIDComponentCallback callback
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
The btTriangleInfoMap stores edge angle information for some triangles. You can compute this informat...
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
btStridingMeshInterfaceData m_meshInterface
btQuantizedBvhDoubleData * m_quantizedDoubleBvh
btQuantizedBvhFloatData * m_quantizedFloatBvh
btCollisionShapeData m_collisionShapeData
btTriangleInfoMapData * m_triangleInfoMap