Bullet Collision Detection & Physics Library
|
This class manages a mesh supplied by the btStridingMeshInterface interface. More...
#include <btGImpactShape.h>
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 |
![]() | |
btAABB | m_localAABB |
bool | m_needs_update |
btVector3 | localScaling |
btGImpactBoxSet | m_box_set |
![]() | |
btScalar | m_collisionMargin |
![]() | |
int | m_shapeType |
void * | m_userPointer |
int | m_userIndex |
int | m_userIndex2 |
Private Attributes | |
btStridingMeshInterface * | m_meshInterface |
This class manages a mesh supplied by the btStridingMeshInterface interface.
Set of btGImpactMeshShapePart parts
Definition at line 850 of file btGImpactShape.h.
|
inline |
Definition at line 878 of file btGImpactShape.h.
|
inlinevirtual |
Definition at line 884 of file btGImpactShape.h.
|
inlineprotected |
Definition at line 856 of file btGImpactShape.h.
use this function for perfofm refit in bounding boxes
Reimplemented from btGImpactShapeInterface.
Definition at line 866 of file btGImpactShape.h.
Implements btCollisionShape.
Definition at line 156 of file btGImpactShape.cpp.
|
inlinevirtual |
Reimplemented from btCollisionShape.
Definition at line 1110 of file btGImpactShape.h.
if true, then its children must get transforms.
Implements btGImpactShapeInterface.
Definition at line 978 of file btGImpactShape.h.
|
inlinevirtual |
Implements btGImpactShapeInterface.
Definition at line 1005 of file btGImpactShape.h.
|
inlinevirtual |
Implements btGImpactShapeInterface.
Definition at line 998 of file btGImpactShape.h.
|
inlinevirtual |
Retrieves the bound from a child.
Reimplemented from btGImpactShapeInterface.
Definition at line 1026 of file btGImpactShape.h.
|
inlinevirtual |
Gets the children.
Implements btGImpactShapeInterface.
Definition at line 1036 of file btGImpactShape.h.
|
inlinevirtual |
Gets the child.
Implements btGImpactShapeInterface.
Definition at line 1044 of file btGImpactShape.h.
|
inlinevirtual |
Gets the children transform.
Implements btGImpactShapeInterface.
Definition at line 1052 of file btGImpactShape.h.
|
inlinevirtual |
Subshape member functions.
Base method for determinig which kind of GIMPACT shape we get
Implements btGImpactShapeInterface.
Definition at line 1070 of file btGImpactShape.h.
|
inline |
Definition at line 895 of file btGImpactShape.h.
|
inline |
Definition at line 900 of file btGImpactShape.h.
|
inline |
Definition at line 910 of file btGImpactShape.h.
|
inline |
Definition at line 915 of file btGImpactShape.h.
|
inline |
Definition at line 905 of file btGImpactShape.h.
Implements btCollisionShape.
Definition at line 1075 of file btGImpactShape.h.
Gets the number of children.
Implements btGImpactShapeInterface.
Definition at line 971 of file btGImpactShape.h.
|
inlinevirtual |
Obtains the primitive manager.
Implements btGImpactShapeInterface.
Definition at line 964 of file btGImpactShape.h.
call when reading child shapes
Reimplemented from btGImpactShapeInterface.
Definition at line 1013 of file btGImpactShape.h.
Determines if this shape has tetrahedrons.
Implements btGImpactShapeInterface.
Definition at line 992 of file btGImpactShape.h.
Determines if this shape has triangles.
Implements btGImpactShapeInterface.
Definition at line 985 of file btGImpactShape.h.
Tells to this object that is needed to refit all the meshes.
Reimplemented from btGImpactShapeInterface.
Definition at line 949 of file btGImpactShape.h.
|
virtual |
Function for retrieve triangles.
It gives the triangles in local space
Reimplemented from btGImpactShapeInterface.
Definition at line 245 of file btGImpactShape.cpp.
|
virtual |
Function for retrieve triangles.
It gives the triangles in local space
Reimplemented from btGImpactShapeInterface.
Definition at line 254 of file btGImpactShape.cpp.
|
virtual |
virtual method for ray collision
Reimplemented from btGImpactShapeInterface.
Definition at line 188 of file btGImpactShape.cpp.
|
virtual |
fills the dataBuffer and returns the struct name (and 0 on failure)
Reimplemented from btCollisionShape.
Definition at line 264 of file btGImpactShape.cpp.
|
inlinevirtual |
Sets the children transform.
Implements btGImpactShapeInterface.
Definition at line 1063 of file btGImpactShape.h.
Reimplemented from btGImpactShapeInterface.
Definition at line 920 of file btGImpactShape.h.
Reimplemented from btGImpactShapeInterface.
Definition at line 934 of file btGImpactShape.h.
Reimplemented from btGImpactShapeInterface.
Definition at line 1018 of file btGImpactShape.h.
|
protected |
Definition at line 855 of file btGImpactShape.h.
|
private |
Definition at line 852 of file btGImpactShape.h.