#include <btGImpactShape.h>
Inheritance diagram for btGImpactMeshShapePart:
Public Member Functions | |
btGImpactMeshShapePart () | |
btGImpactMeshShapePart (const btGImpactMeshShapePart &meshpart) | |
btGImpactMeshShapePart (btStridingMeshInterface *meshInterface, int part) | |
virtual | ~btGImpactMeshShapePart () |
SIMD_FORCE_INLINE const TrimeshPrimitiveManager & | getPrimitiveManager () const |
SIMD_FORCE_INLINE void | lock () const |
SIMD_FORCE_INLINE void | unlock () const |
virtual void | calculateLocalInertia (btScalar mass, btVector3 &inertia) |
SIMD_FORCE_INLINE 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. | |
SIMD_FORCE_INLINE GUINT | getTriangleCount () const |
SIMD_FORCE_INLINE void | getTriangle (GUINT triangle_index, GIM_TRIANGLE &triangle) const |
SIMD_FORCE_INLINE void | getBulletTriangle (GUINT prim_index, btTriangleShapeEx &triangle) const |
SIMD_FORCE_INLINE GUINT | getVertexCount () const |
SIMD_FORCE_INLINE void | getVertex (GUINT vertex_index, btVector3 &vertex) const |
SIMD_FORCE_INLINE void | setMargin (btScalar margin) |
SIMD_FORCE_INLINE btScalar | getMargin () const |
virtual void | setLocalScaling (const btVector3 &scaling) |
virtual const btVector3 & | getLocalScaling () const |
SIMD_FORCE_INLINE GUINT | getPart () 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 | |
virtual void | calcLocalAABB () |
use this function for perfofm refit in bounding boxes | |
Protected Attributes | |
BoxSetClass | m_box_set |
Classes | |
class | BoxSetClass |
class | TrimeshPrimitiveManager |
Trimesh primitive manager. More... |
btGImpactMeshShapePart::btGImpactMeshShapePart | ( | ) | [inline] |
btGImpactMeshShapePart::btGImpactMeshShapePart | ( | const btGImpactMeshShapePart & | meshpart | ) | [inline] |
btGImpactMeshShapePart::btGImpactMeshShapePart | ( | btStridingMeshInterface * | meshInterface, | |
int | part | |||
) | [inline] |
virtual btGImpactMeshShapePart::~btGImpactMeshShapePart | ( | ) | [inline, virtual] |
virtual void btGImpactMeshShapePart::calcLocalAABB | ( | ) | [inline, protected, virtual] |
SIMD_FORCE_INLINE const TrimeshPrimitiveManager& btGImpactMeshShapePart::getPrimitiveManager | ( | ) | const [inline] |
SIMD_FORCE_INLINE void btGImpactMeshShapePart::lock | ( | ) | const [inline] |
SIMD_FORCE_INLINE void btGImpactMeshShapePart::unlock | ( | ) | const [inline] |
virtual void btGImpactMeshShapePart::calculateLocalInertia | ( | btScalar | mass, | |
btVector3 & | inertia | |||
) | [virtual] |
SIMD_FORCE_INLINE BoxSetClass* btGImpactMeshShapePart::getBoxSet | ( | ) | [inline] |
virtual char* btGImpactMeshShapePart::getName | ( | ) | const [inline, virtual] |
virtual eGIMPACT_SHAPE_TYPE btGImpactMeshShapePart::getGImpactShapeType | ( | ) | [inline, virtual] |
virtual bool btGImpactMeshShapePart::hasBoxSet | ( | ) | const [inline, virtual] |
Determines if this class has a hierarchy structure for sorting its primitives.
Implements btGImpactShapeInterface.
SIMD_FORCE_INLINE GUINT btGImpactMeshShapePart::getTriangleCount | ( | ) | const [inline] |
SIMD_FORCE_INLINE void btGImpactMeshShapePart::getTriangle | ( | GUINT | triangle_index, | |
GIM_TRIANGLE & | triangle | |||
) | const [inline] |
SIMD_FORCE_INLINE void btGImpactMeshShapePart::getBulletTriangle | ( | GUINT | prim_index, | |
btTriangleShapeEx & | triangle | |||
) | const [inline] |
SIMD_FORCE_INLINE GUINT btGImpactMeshShapePart::getVertexCount | ( | ) | const [inline] |
SIMD_FORCE_INLINE void btGImpactMeshShapePart::getVertex | ( | GUINT | vertex_index, | |
btVector3 & | vertex | |||
) | const [inline] |
SIMD_FORCE_INLINE void btGImpactMeshShapePart::setMargin | ( | btScalar | margin | ) | [inline] |
SIMD_FORCE_INLINE btScalar btGImpactMeshShapePart::getMargin | ( | ) | const [inline] |
virtual void btGImpactMeshShapePart::setLocalScaling | ( | const btVector3 & | scaling | ) | [inline, virtual] |
Reimplemented from btGImpactShapeInterface.
virtual const btVector3& btGImpactMeshShapePart::getLocalScaling | ( | ) | const [inline, virtual] |
Reimplemented from btGImpactShapeInterface.
SIMD_FORCE_INLINE GUINT btGImpactMeshShapePart::getPart | ( | ) | const [inline] |
virtual void btGImpactMeshShapePart::rayTest | ( | const btVector3 & | rayFrom, | |
const btVector3 & | rayTo, | |||
btCollisionWorld::RayResultCallback & | resultCallback | |||
) | const [virtual] |
virtual void btGImpactMeshShapePart::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.
BoxSetClass btGImpactMeshShapePart::m_box_set [protected] |