Bullet Collision Detection & Physics Library
|
Base class for gimpact shapes. More...
#include <btGImpactShape.h>
Protected Member Functions | |
virtual void | calcLocalAABB () |
use this function for perfofm refit in bounding boxes use this function for perfofm refit in bounding boxes | |
Protected Attributes | |
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 |
Base class for gimpact shapes.
Definition at line 73 of file btGImpactShape.h.
|
inline |
Definition at line 100 of file btGImpactShape.h.
use this function for perfofm refit in bounding boxes use this function for perfofm refit in bounding boxes
Reimplemented in btGImpactMeshShape.
Definition at line 83 of file btGImpactShape.h.
if true, then its children must get transforms.
Implemented in btGImpactCompoundShape, btGImpactMeshShapePart, and btGImpactMeshShape.
|
inlinevirtual |
If the Bounding box is not updated, then this class attemps to calculate it.
Implements btCollisionShape.
Definition at line 126 of file btGImpactShape.h.
|
inline |
gets boxset
Definition at line 185 of file btGImpactShape.h.
|
pure virtual |
Implemented in btGImpactCompoundShape, btGImpactMeshShapePart, and btGImpactMeshShape.
|
pure virtual |
Implemented in btGImpactCompoundShape, btGImpactMeshShapePart, and btGImpactMeshShape.
|
inlinevirtual |
Retrieves the bound from a child.
Reimplemented in btGImpactCompoundShape, and btGImpactMeshShape.
Definition at line 234 of file btGImpactShape.h.
|
pure virtual |
Gets the child.
Implemented in btGImpactCompoundShape, btGImpactMeshShapePart, and btGImpactMeshShape.
|
pure virtual |
Gets the children.
Implemented in btGImpactCompoundShape, btGImpactMeshShapePart, and btGImpactMeshShape.
|
pure virtual |
Gets the children transform.
Implemented in btGImpactCompoundShape, btGImpactMeshShapePart, and btGImpactMeshShape.
|
pure virtual |
Subshape member functions.
Base method for determinig which kind of GIMPACT shape we get
Implemented in btGImpactCompoundShape, btGImpactMeshShapePart, and btGImpactMeshShape.
Obtains the local box, which is the global calculated box of the total of subshapes.
Definition at line 141 of file btGImpactShape.h.
Implements btCollisionShape.
Reimplemented in btGImpactMeshShapePart.
Definition at line 160 of file btGImpactShape.h.
Gets the number of children.
Implemented in btGImpactCompoundShape, btGImpactMeshShapePart, and btGImpactMeshShape.
|
pure virtual |
Obtains the primitive manager.
Implemented in btGImpactCompoundShape, btGImpactMeshShapePart, and btGImpactMeshShape.
|
inline |
if this trimesh
Definition at line 226 of file btGImpactShape.h.
Definition at line 146 of file btGImpactShape.h.
|
inline |
Determines if this class has a hierarchy structure for sorting its primitives.
Definition at line 191 of file btGImpactShape.h.
call when reading child shapes
Reimplemented in btGImpactMeshShapePart, and btGImpactMeshShape.
Definition at line 217 of file btGImpactShape.h.
Determines if this shape has tetrahedrons.
Implemented in btGImpactCompoundShape, btGImpactMeshShapePart, and btGImpactMeshShape.
Determines if this shape has triangles.
Implemented in btGImpactCompoundShape, btGImpactMeshShapePart, and btGImpactMeshShape.
Tells to this object that is needed to refit the box set.
Reimplemented in btGImpactMeshShape.
Definition at line 135 of file btGImpactShape.h.
|
inlinevirtual |
Function for retrieve triangles.
It gives the triangles in local space
Implements btConcaveShape.
Reimplemented in btGImpactMeshShapePart, and btGImpactMeshShape.
Definition at line 272 of file btGImpactShape.h.
|
inlinevirtual |
Function for retrieve triangles.
It gives the triangles in local space
Reimplemented in btGImpactMeshShapePart, and btGImpactMeshShape.
Definition at line 283 of file btGImpactShape.h.
|
inlinevirtual |
virtual method for ray collision
Reimplemented in btGImpactMeshShape.
Definition at line 261 of file btGImpactShape.h.
|
pure virtual |
Sets the children transform.
Implemented in btGImpactCompoundShape, btGImpactMeshShapePart, and btGImpactMeshShape.
Implements btCollisionShape.
Reimplemented in btGImpactMeshShapePart, and btGImpactMeshShape.
Definition at line 154 of file btGImpactShape.h.
Reimplemented from btConcaveShape.
Reimplemented in btGImpactMeshShapePart, and btGImpactMeshShape.
Definition at line 165 of file btGImpactShape.h.
Reimplemented in btGImpactMeshShapePart, and btGImpactMeshShape.
Definition at line 221 of file btGImpactShape.h.
|
inline |
performs refit operation
Updates the entire Box set of this shape.
Definition at line 115 of file btGImpactShape.h.
|
protected |
Definition at line 78 of file btGImpactShape.h.
|
protected |
Definition at line 79 of file btGImpactShape.h.
|
protected |
Definition at line 76 of file btGImpactShape.h.
|
protected |
Definition at line 77 of file btGImpactShape.h.