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

Public Member Functions | |
| btGImpactMeshShape (btStridingMeshInterface *meshInterface) | |
| virtual | ~btGImpactMeshShape () |
| int | getMeshPartCount () |
| btGImpactMeshShapePart * | getMeshPart (int index) |
| const btGImpactMeshShapePart * | getMeshPart (int index) const |
| virtual void | setLocalScaling (const btVector3 &scaling) |
| virtual void | postUpdate () |
| Tells to this object that is needed to refit all the meshes. | |
| virtual void | calculateLocalInertia (btScalar mass, btVector3 &inertia) |
| 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 char * | getName () const |
| virtual void | rayTest (const btVector3 &rayFrom, const btVector3 &rayTo, btCollisionWorld::RayResultCallback &resultCallback) const |
| virtual method for ray collision | |
| virtual void | processAllTriangles (btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const |
| Function for retrieve triangles. | |
Protected Member Functions | |
| void | buildMeshParts (btStridingMeshInterface *meshInterface) |
| virtual void | calcLocalAABB () |
| use this function for perfofm refit in bounding boxes | |
Protected Attributes | |
| btAlignedObjectArray< btGImpactMeshShapePart * > | m_mesh_parts |
Set of btGImpactMeshShapePart parts
| btGImpactMeshShape::btGImpactMeshShape | ( | btStridingMeshInterface * | meshInterface | ) | [inline] |
| virtual btGImpactMeshShape::~btGImpactMeshShape | ( | ) | [inline, virtual] |
| void btGImpactMeshShape::buildMeshParts | ( | btStridingMeshInterface * | meshInterface | ) | [inline, protected] |
| virtual void btGImpactMeshShape::calcLocalAABB | ( | ) | [inline, protected, virtual] |
| int btGImpactMeshShape::getMeshPartCount | ( | ) | [inline] |
| btGImpactMeshShapePart* btGImpactMeshShape::getMeshPart | ( | int | index | ) | [inline] |
| const btGImpactMeshShapePart* btGImpactMeshShape::getMeshPart | ( | int | index | ) | const [inline] |
| virtual void btGImpactMeshShape::setLocalScaling | ( | const btVector3 & | scaling | ) | [inline, virtual] |
Reimplemented from btGImpactShapeInterface.
| virtual void btGImpactMeshShape::postUpdate | ( | ) | [inline, virtual] |
Tells to this object that is needed to refit all the meshes.
Reimplemented from btGImpactShapeInterface.
| virtual void btGImpactMeshShape::calculateLocalInertia | ( | btScalar | mass, | |
| btVector3 & | inertia | |||
| ) | [virtual] |
| virtual eGIMPACT_SHAPE_TYPE btGImpactMeshShape::getGImpactShapeType | ( | ) | [inline, virtual] |
| virtual bool btGImpactMeshShape::hasBoxSet | ( | ) | const [inline, virtual] |
Determines if this class has a hierarchy structure for sorting its primitives.
Implements btGImpactShapeInterface.
| virtual char* btGImpactMeshShape::getName | ( | ) | const [inline, virtual] |
| virtual void btGImpactMeshShape::rayTest | ( | const btVector3 & | rayFrom, | |
| const btVector3 & | rayTo, | |||
| btCollisionWorld::RayResultCallback & | resultCallback | |||
| ) | const [virtual] |
| virtual void btGImpactMeshShape::processAllTriangles | ( | btTriangleCallback * | callback, | |
| const btVector3 & | aabbMin, | |||
| const btVector3 & | aabbMax | |||
| ) | const [virtual] |
Function for retrieve triangles.
It gives the triangles in local space
Reimplemented from btGImpactShapeInterface.
btAlignedObjectArray<btGImpactMeshShapePart*> btGImpactMeshShape::m_mesh_parts [protected] |
1.5.2