Bullet Collision Detection & Physics Library
|
The btTriangleMeshShape is an internal concave triangle mesh interface. Don't use this class directly, use btBvhTriangleMeshShape instead. More...
#include <btTriangleMeshShape.h>
Public Member Functions | |
BT_DECLARE_ALIGNED_ALLOCATOR () | |
virtual | ~btTriangleMeshShape () |
virtual btVector3 | localGetSupportingVertex (const btVector3 &vec) const |
virtual btVector3 | localGetSupportingVertexWithoutMargin (const btVector3 &vec) const |
void | recalcLocalAabb () |
virtual void | getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const |
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t. More... | |
virtual void | processAllTriangles (btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const |
virtual void | calculateLocalInertia (btScalar mass, btVector3 &inertia) const |
virtual void | setLocalScaling (const btVector3 &scaling) |
virtual const btVector3 & | getLocalScaling () const |
btStridingMeshInterface * | getMeshInterface () |
const btStridingMeshInterface * | getMeshInterface () const |
const btVector3 & | getLocalAabbMin () const |
const btVector3 & | getLocalAabbMax () const |
virtual const char * | getName () const |
![]() | |
BT_DECLARE_ALIGNED_ALLOCATOR () | |
btConcaveShape () | |
virtual | ~btConcaveShape () |
virtual btScalar | getMargin () const |
virtual void | setMargin (btScalar collisionMargin) |
![]() | |
BT_DECLARE_ALIGNED_ALLOCATOR () | |
btCollisionShape () | |
virtual | ~btCollisionShape () |
virtual void | getBoundingSphere (btVector3 ¢er, btScalar &radius) const |
virtual btScalar | getAngularMotionDisc () const |
getAngularMotionDisc returns the maximus radius needed for Conservative Advancement to handle time-of-impact with rotations. More... | |
virtual btScalar | getContactBreakingThreshold (btScalar defaultContactThresholdFactor) const |
void | calculateTemporalAabb (const btTransform &curTrans, const btVector3 &linvel, const btVector3 &angvel, btScalar timeStep, btVector3 &temporalAabbMin, btVector3 &temporalAabbMax) const |
calculateTemporalAabb calculates the enclosing aabb for the moving object over interval [0..timeStep) result is conservative More... | |
bool | isPolyhedral () const |
bool | isConvex2d () const |
bool | isConvex () const |
bool | isNonMoving () const |
bool | isConcave () const |
bool | isCompound () const |
bool | isSoftBody () const |
bool | isInfinite () const |
isInfinite is used to catch simulation error (aabb check) More... | |
int | getShapeType () const |
virtual btVector3 | getAnisotropicRollingFrictionDirection () const |
the getAnisotropicRollingFrictionDirection can be used in combination with setAnisotropicFriction See Bullet/Demos/RollingFrictionDemo for an example More... | |
void | setUserPointer (void *userPtr) |
optional user data pointer More... | |
void * | getUserPointer () const |
virtual int | calculateSerializeBufferSize () const |
virtual const char * | serialize (void *dataBuffer, btSerializer *serializer) const |
fills the dataBuffer and returns the struct name (and 0 on failure) More... | |
virtual void | serializeSingleShape (btSerializer *serializer) const |
Protected Member Functions | |
btTriangleMeshShape (btStridingMeshInterface *meshInterface) | |
btTriangleMeshShape constructor has been disabled/protected, so that users will not mistakenly use this class. More... | |
Protected Attributes | |
btVector3 | m_localAabbMin |
btVector3 | m_localAabbMax |
btStridingMeshInterface * | m_meshInterface |
![]() | |
btScalar | m_collisionMargin |
![]() | |
int | m_shapeType |
void * | m_userPointer |
The btTriangleMeshShape is an internal concave triangle mesh interface. Don't use this class directly, use btBvhTriangleMeshShape instead.
Definition at line 24 of file btTriangleMeshShape.h.
|
protected |
btTriangleMeshShape constructor has been disabled/protected, so that users will not mistakenly use this class.
Don't use btTriangleMeshShape but use btBvhTriangleMeshShape instead!
Definition at line 24 of file btTriangleMeshShape.cpp.
|
virtual |
Definition at line 39 of file btTriangleMeshShape.cpp.
btTriangleMeshShape::BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
|
virtual |
Implements btCollisionShape.
Definition at line 180 of file btTriangleMeshShape.cpp.
|
virtual |
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
Implements btCollisionShape.
Definition at line 47 of file btTriangleMeshShape.cpp.
|
inline |
Definition at line 73 of file btTriangleMeshShape.h.
|
inline |
Definition at line 69 of file btTriangleMeshShape.h.
|
virtual |
Implements btCollisionShape.
Definition at line 130 of file btTriangleMeshShape.cpp.
|
inline |
Definition at line 59 of file btTriangleMeshShape.h.
|
inline |
Definition at line 64 of file btTriangleMeshShape.h.
|
inlinevirtual |
Implements btCollisionShape.
Reimplemented in btMultimaterialTriangleMeshShape, and btBvhTriangleMeshShape.
Definition at line 81 of file btTriangleMeshShape.h.
Definition at line 189 of file btTriangleMeshShape.cpp.
|
inlinevirtual |
Definition at line 42 of file btTriangleMeshShape.h.
|
virtual |
Implements btConcaveShape.
Reimplemented in btBvhTriangleMeshShape.
Definition at line 144 of file btTriangleMeshShape.cpp.
void btTriangleMeshShape::recalcLocalAabb | ( | ) |
Definition at line 63 of file btTriangleMeshShape.cpp.
|
virtual |
Implements btCollisionShape.
Reimplemented in btBvhTriangleMeshShape.
Definition at line 124 of file btTriangleMeshShape.cpp.
|
protected |
Definition at line 28 of file btTriangleMeshShape.h.
|
protected |
Definition at line 27 of file btTriangleMeshShape.h.
|
protected |
Definition at line 29 of file btTriangleMeshShape.h.