| Bullet Collision Detection & Physics Library
    | 
The btScaledBvhTriangleMeshShape allows to instance a scaled version of an existing btBvhTriangleMeshShape. More...
#include <btScaledBvhTriangleMeshShape.h>


| Public Member Functions | |
| BT_DECLARE_ALIGNED_ALLOCATOR () | |
| btScaledBvhTriangleMeshShape (btBvhTriangleMeshShape *childShape, const btVector3 &localScaling) | |
| virtual | ~btScaledBvhTriangleMeshShape () | 
| 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 | setLocalScaling (const btVector3 &scaling) | 
| virtual const btVector3 & | getLocalScaling () const | 
| virtual void | calculateLocalInertia (btScalar mass, btVector3 &inertia) const | 
| virtual void | processAllTriangles (btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const | 
| btBvhTriangleMeshShape * | getChildShape () | 
| const btBvhTriangleMeshShape * | getChildShape () const | 
| virtual const char * | getName () 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... | |
|  Public Member Functions inherited from btConcaveShape | |
| BT_DECLARE_ALIGNED_ALLOCATOR () | |
| btConcaveShape () | |
| virtual | ~btConcaveShape () | 
| virtual btScalar | getMargin () const | 
| virtual void | setMargin (btScalar collisionMargin) | 
|  Public Member Functions inherited from btCollisionShape | |
| 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 | 
| void | setUserIndex (int index) | 
| int | getUserIndex () const | 
| virtual void | serializeSingleShape (btSerializer *serializer) const | 
| Private Attributes | |
| btVector3 | m_localScaling | 
| btBvhTriangleMeshShape * | m_bvhTriMeshShape | 
| Additional Inherited Members | |
|  Protected Attributes inherited from btConcaveShape | |
| btScalar | m_collisionMargin | 
|  Protected Attributes inherited from btCollisionShape | |
| int | m_shapeType | 
| void * | m_userPointer | 
| int | m_userIndex | 
The btScaledBvhTriangleMeshShape allows to instance a scaled version of an existing btBvhTriangleMeshShape.
Note that each btBvhTriangleMeshShape still can have its own local scaling, independent from this btScaledBvhTriangleMeshShape 'localScaling'
Definition at line 24 of file btScaledBvhTriangleMeshShape.h.
| btScaledBvhTriangleMeshShape::btScaledBvhTriangleMeshShape | ( | btBvhTriangleMeshShape * | childShape, | 
| const btVector3 & | localScaling | ||
| ) | 
Definition at line 19 of file btScaledBvhTriangleMeshShape.cpp.
| 
 | virtual | 
Definition at line 25 of file btScaledBvhTriangleMeshShape.cpp.
| btScaledBvhTriangleMeshShape::BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) | 
| 
 | virtual | 
don't make this a movable object!
Implements btCollisionShape.
Definition at line 117 of file btScaledBvhTriangleMeshShape.cpp.
| 
 | inlinevirtual | 
Reimplemented from btCollisionShape.
Definition at line 78 of file btScaledBvhTriangleMeshShape.h.
| 
 | virtual | 
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
Implements btCollisionShape.
Definition at line 77 of file btScaledBvhTriangleMeshShape.cpp.
| 
 | inline | 
Definition at line 49 of file btScaledBvhTriangleMeshShape.h.
| 
 | inline | 
Definition at line 54 of file btScaledBvhTriangleMeshShape.h.
| 
 | virtual | 
Implements btCollisionShape.
Definition at line 112 of file btScaledBvhTriangleMeshShape.cpp.
| 
 | inlinevirtual | 
Implements btCollisionShape.
Definition at line 60 of file btScaledBvhTriangleMeshShape.h.
| 
 | virtual | 
support negative scaling
Implements btConcaveShape.
Definition at line 54 of file btScaledBvhTriangleMeshShape.cpp.
| 
 | inlinevirtual | 
fills the dataBuffer and returns the struct name (and 0 on failure)
Reimplemented from btCollisionShape.
Definition at line 85 of file btScaledBvhTriangleMeshShape.h.
| 
 | virtual | 
Implements btCollisionShape.
Definition at line 107 of file btScaledBvhTriangleMeshShape.cpp.
| 
 | private | 
Definition at line 30 of file btScaledBvhTriangleMeshShape.h.
| 
 | private | 
Definition at line 28 of file btScaledBvhTriangleMeshShape.h.
 1.8.11
 1.8.11