btBvhTriangleMeshShape.h File Reference

#include "btTriangleMeshShape.h"
#include "btOptimizedBvh.h"
#include "LinearMath/btVector3.h"
#include "LinearMath/btAlignedAllocator.h"
#include "LinearMath/btAlignedObjectArray.h"
#include "btTriangleInfoMap.h"
Include dependency graph for btBvhTriangleMeshShape.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  btTriangleMeshShapeData
 do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 More...

Functions

 ATTRIBUTE_ALIGNED16 (class) btBvhTriangleMeshShape

Function Documentation

ATTRIBUTE_ALIGNED16 ( class   ) 

The btBvhTriangleMeshShape is a static-triangle mesh shape with several optimizations, such as bounding volume hierarchy and cache friendly traversal for PlayStation 3 Cell SPU. It is recommended to enable useQuantizedAabbCompression for better memory usage. It takes a triangle mesh as input, for example a btTriangleMesh or btTriangleIndexVertexArray. The btBvhTriangleMeshShape class allows for triangle mesh deformations by a refit or partialRefit method. Instead of building the bounding volume hierarchy acceleration structure, it is also possible to serialize (save) and deserialize (load) the structure from disk. See Demos\ConcaveDemo\ConcavePhysicsDemo.cpp for an example.

optionally pass in a larger bvh aabb, used for quantization. This allows for deformations within this aabb

for a fast incremental refit of parts of the tree. Note: the entire AABB of the tree will become more conservative, it never shrinks

fills the dataBuffer and returns the struct name (and 0 on failure)

Definition at line 28 of file btBvhTriangleMeshShape.h.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Fri Jan 11 10:10:17 2013