|
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 | |
Protected Attributes | |
| btAABB | m_localAABB |
| bool | m_needs_update |
| btVector3 | localScaling |
| btGImpactBoxSet | m_box_set |
Protected Attributes inherited from btConcaveShape | |
| btScalar | m_collisionMargin |
Protected Attributes inherited from btCollisionShape | |
| int | m_shapeType |
| void * | m_userPointer |
| int | m_userIndex |
Base class for gimpact shapes.
Definition at line 79 of file btGImpactShape.h.
|
inline |
Definition at line 107 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 89 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 134 of file btGImpactShape.h.
|
inline |
gets boxset
Definition at line 196 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 249 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 149 of file btGImpactShape.h.
Implements btCollisionShape.
Reimplemented in btGImpactMeshShapePart.
Definition at line 169 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 240 of file btGImpactShape.h.
Definition at line 155 of file btGImpactShape.h.
|
inline |
Determines if this class has a hierarchy structure for sorting its primitives.
Definition at line 202 of file btGImpactShape.h.
call when reading child shapes
Reimplemented in btGImpactMeshShapePart, and btGImpactMeshShape.
Definition at line 231 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 143 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 287 of file btGImpactShape.h.
|
inlinevirtual |
Function for retrieve triangles.
It gives the triangles in local space
Reimplemented in btGImpactMeshShapePart, and btGImpactMeshShape.
Definition at line 296 of file btGImpactShape.h.
|
inlinevirtual |
virtual method for ray collision
Reimplemented in btGImpactMeshShape.
Definition at line 278 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 163 of file btGImpactShape.h.
Reimplemented from btConcaveShape.
Reimplemented in btGImpactMeshShapePart, and btGImpactMeshShape.
Definition at line 175 of file btGImpactShape.h.
Reimplemented in btGImpactMeshShapePart, and btGImpactMeshShape.
Definition at line 235 of file btGImpactShape.h.
|
inline |
performs refit operation
Updates the entire Box set of this shape.
Definition at line 123 of file btGImpactShape.h.
|
protected |
Definition at line 84 of file btGImpactShape.h.
|
protected |
Definition at line 85 of file btGImpactShape.h.
|
protected |
Definition at line 82 of file btGImpactShape.h.
|
protected |
Definition at line 83 of file btGImpactShape.h.