Bullet Collision Detection & Physics Library
|
Go to the documentation of this file.
16 #ifndef BT_COLLISION_WORLD_IMPORTER_H
17 #define BT_COLLISION_WORLD_IMPORTER_H
28 struct ConstraintInput;
151 #ifdef SUPPORT_GIMPACT_SHAPE_IMPORT
153 #endif //SUPPORT_GIMPACT_SHAPE_IMPORT
169 #endif //BT_WORLD_IMPORTER_H
char * duplicateName(const char *name)
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
hinge constraint between two rigidbodies each with a pivotpoint that descibes the axis location in lo...
btCollisionObject can be used to manage collision detection objects.
btHashMap< btHashString, btCollisionObject * > m_nameColObjMap
btOptimizedBvh * getBvhByIndex(int index) const
virtual void deleteAllData()
delete all memory collision shapes, rigid bodies, constraints etc.
btCollisionShape * getCollisionShapeByIndex(int index)
virtual btBvhTriangleMeshShape * createBvhTriangleMeshShape(btStridingMeshInterface *trimesh, btOptimizedBvh *bvh)
virtual class btMultiSphereShape * createMultiSphereShape(const btVector3 *positions, const btScalar *radi, int numSpheres)
The btOptimizedBvh extends the btQuantizedBvh to create AABB tree for triangle meshes,...
virtual btCollisionShape * createCylinderShapeZ(btScalar radius, btScalar height)
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
btCollisionShape * getCollisionShapeByName(const char *name)
btHashMap< btHashPtr, btOptimizedBvh * > m_bvhMap
The btBvhTriangleMeshShape is a static-triangle mesh shape, it can only be used for fixed/non-moving ...
btTriangleInfoMap * getTriangleInfoMapByIndex(int index) const
virtual btCollisionShape * createCylinderShapeX(btScalar radius, btScalar height)
btHashMap< btHashPtr, btTriangleInfoMap * > m_timMap
virtual class btTriangleIndexVertexArray * createTriangleMeshContainer()
btHashMap< btHashPtr, btCollisionShape * > m_shapeMap
bool convertAllObjects(btBulletSerializedArrays *arrays)
virtual btTriangleInfoMap * createTriangleInfoMap()
btAlignedObjectArray< btCollisionObject * > m_allocatedRigidBodies
btAlignedObjectArray< int * > m_indexArrays
virtual btOptimizedBvh * createOptimizedBvh()
acceleration and connectivity structures
btHashMap< btHashString, btCollisionShape * > m_nameShapeMap
virtual btCollisionShape * createSphereShape(btScalar radius)
This class manages a mesh supplied by the btStridingMeshInterface interface.
btGeneric6DofConstraint between two rigidbodies each with a pivotpoint that descibes the axis locatio...
virtual class btConvexHullShape * createConvexHullShape()
btHashMap< btHashPtr, btCollisionObject * > m_bodyMap
btAlignedObjectArray< btStridingMeshInterfaceData * > m_allocatedbtStridingMeshInterfaceDatas
virtual btCollisionShape * createConeShapeZ(btScalar radius, btScalar height)
virtual btTriangleIndexVertexArray * createMeshInterface(btStridingMeshInterfaceData &meshData)
The btStridingMeshInterface is the interface class for high performance generic access to triangle me...
point to point constraint between two rigidbodies each with a pivotpoint that descibes the 'ballsocke...
The btCollisionShape class provides an interface for collision shapes that can be shared among btColl...
btAlignedObjectArray< btOptimizedBvh * > m_allocatedBvhs
The btMultiSphereShape represents the convex hull of a collection of spheres.
Generic 6 DOF constraint that allows to set spring motors to any translational and rotational DOF.
btCollisionWorld * m_collisionWorld
virtual ~btCollisionWorldImporter()
btCollisionObject * getCollisionObjectByName(const char *name)
btAlignedObjectArray< btVector3DoubleData * > m_doubleVertexArrays
The btTriangleInfoMap stores edge angle information for some triangles. You can compute this informat...
virtual btCollisionShape * createConvexTriangleMeshShape(btStridingMeshInterface *trimesh)
virtual btCollisionShape * createCylinderShapeY(btScalar radius, btScalar height)
The btGeatConstraint will couple the angular velocity for two bodies around given local axis and rati...
btConeTwistConstraint can be used to simulate ragdoll joints (upper arm, leg etc)
int getVerboseMode() const
virtual btCollisionShape * createConeShapeY(btScalar radius, btScalar height)
virtual btCollisionShape * createCapsuleShapeZ(btScalar radius, btScalar height)
btVector3 can be used to represent 3D points and vectors.
virtual btCollisionShape * createPlaneShape(const btVector3 &planeNormal, btScalar planeConstant)
shapes
btAlignedObjectArray< unsigned char * > m_charIndexArrays
const char * getNameForPointer(const void *ptr) const
void setVerboseMode(int verboseMode)
virtual btCollisionShape * createConeShapeX(btScalar radius, btScalar height)
btAlignedObjectArray< btTriangleIndexVertexArray * > m_allocatedTriangleIndexArrays
virtual btCollisionShape * createCapsuleShapeY(btScalar radius, btScalar height)
int getNumCollisionShapes() const
btAlignedObjectArray< char * > m_allocatedNames
The btCompoundShape allows to store multiple other btCollisionShapes This allows for moving concave c...
The btConvexHullShape implements an implicit convex hull of an array of vertices.
int getNumTriangleInfoMaps() const
btAlignedObjectArray< btTriangleInfoMap * > m_allocatedTriangleInfoMaps
btCollisionObject * getRigidBodyByIndex(int index) const
virtual btCollisionShape * createCapsuleShapeX(btScalar radius, btScalar height)
virtual btStridingMeshInterfaceData * createStridingMeshInterfaceData(btStridingMeshInterfaceData *interfaceData)
btHashMap< btHashPtr, const char * > m_objectNameMap
virtual btCollisionShape * createBoxShape(const btVector3 &halfExtents)
CollisionWorld is interface and container for the collision detection.
virtual class btCompoundShape * createCompoundShape()
btAlignedObjectArray< short int * > m_shortIndexArrays
int getNumRigidBodies() const
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
The btTriangleIndexVertexArray allows to access multiple triangle meshes, by indexing into existing t...
btAlignedObjectArray< btCollisionObject * > m_allocatedCollisionObjects
btCollisionShape * convertCollisionShape(btCollisionShapeData *shapeData)
btCollisionWorldImporter(btCollisionWorld *world)
btAlignedObjectArray< btVector3FloatData * > m_floatVertexArrays
The btScaledBvhTriangleMeshShape allows to instance a scaled version of an existing btBvhTriangleMesh...
virtual btCollisionObject * createCollisionObject(const btTransform &startTransform, btCollisionShape *shape, const char *bodyName)
those virtuals are called by load and can be overridden by the user
virtual class btScaledBvhTriangleMeshShape * createScaledTrangleMeshShape(btBvhTriangleMeshShape *meshShape, const btVector3 &localScalingbtBvhTriangleMeshShape)
btAlignedObjectArray< btCollisionShape * > m_allocatedCollisionShapes