#include <btGImpactShape.h>
Inheritance diagram for btGImpactCompoundShape:

Public Member Functions | |
| btGImpactCompoundShape () | |
| virtual | ~btGImpactCompoundShape () |
| SIMD_FORCE_INLINE const CompoundPrimitiveManager & | getPrimitiveManager () const |
| Obtains the primitive manager. | |
| void | addChildShape (const btTransform &localTransform, btCollisionShape *shape) |
| Use this method for adding children. | |
| int | getNumChildShapes () const |
| Gets the number of children. | |
| btCollisionShape * | getChildShape (int index) |
| Gets the children. | |
| const btCollisionShape * | getChildShape (int index) const |
| Gets the children. | |
| btTransform | getChildTransform (int index) const |
| Gets the children transform. | |
| void | setChildTransform (int index, const btTransform &transform) |
| Sets the children transform. | |
| virtual void | calculateLocalInertia (btScalar mass, btVector3 &inertia) |
| Calculates the exact inertia tensor for this shape. | |
| BoxSetClass * | getBoxSet () |
| virtual char * | getName () const |
| virtual eGIMPACT_SHAPE_TYPE | getGImpactShapeType () |
| Base method for determinig which kind of GIMPACT shape we get. | |
| virtual bool | hasBoxSet () const |
| Determines if this class has a hierarchy structure for sorting its primitives. | |
| virtual void | rayTest (const btVector3 &rayFrom, const btVector3 &rayTo, btCollisionWorld::RayResultCallback &resultCallback) const |
| virtual method for ray collision | |
Protected Member Functions | |
| virtual void | calcLocalAABB () |
| use this function for perfofm refit in bounding boxes | |
Protected Attributes | |
| BoxSetClass | m_box_set |
| btAlignedObjectArray< btTransform > | m_childTransforms |
| btAlignedObjectArray< btCollisionShape * > | m_childShapes |
Classes | |
| class | BoxSetClass |
| class | CompoundPrimitiveManager |
| compound primitive manager More... | |
This allows for concave collision objects. This is more general then the Static Concave btTriangleMeshShape.
| btGImpactCompoundShape::btGImpactCompoundShape | ( | ) | [inline] |
| virtual btGImpactCompoundShape::~btGImpactCompoundShape | ( | ) | [inline, virtual] |
| virtual void btGImpactCompoundShape::calcLocalAABB | ( | ) | [inline, protected, virtual] |
| SIMD_FORCE_INLINE const CompoundPrimitiveManager& btGImpactCompoundShape::getPrimitiveManager | ( | ) | const [inline] |
Obtains the primitive manager.
| void btGImpactCompoundShape::addChildShape | ( | const btTransform & | localTransform, | |
| btCollisionShape * | shape | |||
| ) | [inline] |
Use this method for adding children.
| int btGImpactCompoundShape::getNumChildShapes | ( | ) | const [inline] |
Gets the number of children.
| btCollisionShape* btGImpactCompoundShape::getChildShape | ( | int | index | ) | [inline] |
Gets the children.
| const btCollisionShape* btGImpactCompoundShape::getChildShape | ( | int | index | ) | const [inline] |
Gets the children.
| btTransform btGImpactCompoundShape::getChildTransform | ( | int | index | ) | const [inline] |
Gets the children transform.
| void btGImpactCompoundShape::setChildTransform | ( | int | index, | |
| const btTransform & | transform | |||
| ) | [inline] |
| virtual void btGImpactCompoundShape::calculateLocalInertia | ( | btScalar | mass, | |
| btVector3 & | inertia | |||
| ) | [virtual] |
Calculates the exact inertia tensor for this shape.
| BoxSetClass* btGImpactCompoundShape::getBoxSet | ( | ) | [inline] |
| virtual char* btGImpactCompoundShape::getName | ( | ) | const [inline, virtual] |
| virtual eGIMPACT_SHAPE_TYPE btGImpactCompoundShape::getGImpactShapeType | ( | ) | [inline, virtual] |
| virtual bool btGImpactCompoundShape::hasBoxSet | ( | ) | const [inline, virtual] |
Determines if this class has a hierarchy structure for sorting its primitives.
Implements btGImpactShapeInterface.
| virtual void btGImpactCompoundShape::rayTest | ( | const btVector3 & | rayFrom, | |
| const btVector3 & | rayTo, | |||
| btCollisionWorld::RayResultCallback & | resultCallback | |||
| ) | const [virtual] |
BoxSetClass btGImpactCompoundShape::m_box_set [protected] |
btAlignedObjectArray<btTransform> btGImpactCompoundShape::m_childTransforms [protected] |
btAlignedObjectArray<btCollisionShape*> btGImpactCompoundShape::m_childShapes [protected] |
1.5.2