| Bullet Collision Detection & Physics Library
    | 
Base class for gimpact shapes. More...
#include <btGImpactShape.h>


| Public Member Functions | |
| btGImpactShapeInterface () | |
| void | updateBound () | 
| performs refit operation  More... | |
| void | getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const | 
| If the Bounding box is not updated, then this class attemps to calculate it.  More... | |
| virtual void | postUpdate () | 
| Tells to this object that is needed to refit the box set.  More... | |
| const btAABB & | getLocalBox () | 
| Obtains the local box, which is the global calculated box of the total of subshapes.  More... | |
| virtual int | getShapeType () const | 
| virtual void | setLocalScaling (const btVector3 &scaling) | 
| virtual const btVector3 & | getLocalScaling () const | 
| virtual void | setMargin (btScalar margin) | 
| virtual void | rayTest (const btVector3 &rayFrom, const btVector3 &rayTo, btCollisionWorld::RayResultCallback &resultCallback) const | 
| virtual method for ray collision  More... | |
| virtual void | processAllTriangles (btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const | 
| Function for retrieve triangles.  More... | |
| virtual void | processAllTrianglesRay (btTriangleCallback *, const btVector3 &, const btVector3 &) const | 
| Function for retrieve triangles.  More... | |
| virtual eGIMPACT_SHAPE_TYPE | getGImpactShapeType () const =0 | 
| Subshape member functions.  More... | |
| const btGImpactBoxSet * | getBoxSet () const | 
| gets boxset  More... | |
| bool | hasBoxSet () const | 
| Determines if this class has a hierarchy structure for sorting its primitives.  More... | |
| virtual const btPrimitiveManagerBase * | getPrimitiveManager () const =0 | 
| Obtains the primitive manager.  More... | |
| virtual int | getNumChildShapes () const =0 | 
| Gets the number of children.  More... | |
| virtual bool | childrenHasTransform () const =0 | 
| if true, then its children must get transforms.  More... | |
| virtual bool | needsRetrieveTriangles () const =0 | 
| Determines if this shape has triangles.  More... | |
| virtual bool | needsRetrieveTetrahedrons () const =0 | 
| Determines if this shape has tetrahedrons.  More... | |
| virtual void | getBulletTriangle (int prim_index, btTriangleShapeEx &triangle) const =0 | 
| virtual void | getBulletTetrahedron (int prim_index, btTetrahedronShapeEx &tetrahedron) const =0 | 
| virtual void | lockChildShapes () const | 
| call when reading child shapes  More... | |
| virtual void | unlockChildShapes () const | 
| void | getPrimitiveTriangle (int index, btPrimitiveTriangle &triangle) const | 
| if this trimesh  More... | |
| virtual void | getChildAabb (int child_index, const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const | 
| Retrieves the bound from a child.  More... | |
| virtual btCollisionShape * | getChildShape (int index)=0 | 
| Gets the children.  More... | |
| virtual const btCollisionShape * | getChildShape (int index) const =0 | 
| Gets the child.  More... | |
| virtual btTransform | getChildTransform (int index) const =0 | 
| Gets the children transform.  More... | |
| virtual void | setChildTransform (int index, const btTransform &transform)=0 | 
| Sets the children transform.  More... | |
|  Public Member Functions inherited from btConcaveShape | |
| BT_DECLARE_ALIGNED_ALLOCATOR () | |
| btConcaveShape () | |
| virtual | ~btConcaveShape () | 
| virtual btScalar | getMargin () const | 
|  Public Member Functions inherited from btCollisionShape | |
| BT_DECLARE_ALIGNED_ALLOCATOR () | |
| btCollisionShape () | |
| virtual | ~btCollisionShape () | 
| virtual void | getBoundingSphere (btVector3 ¢er, btScalar &radius) const | 
| virtual btScalar | getAngularMotionDisc () const | 
| getAngularMotionDisc returns the maximum radius needed for Conservative Advancement to handle time-of-impact with rotations.  More... | |
| virtual btScalar | getContactBreakingThreshold (btScalar defaultContactThresholdFactor) const | 
| void | calculateTemporalAabb (const btTransform &curTrans, const btVector3 &linvel, const btVector3 &angvel, btScalar timeStep, btVector3 &temporalAabbMin, btVector3 &temporalAabbMax) const | 
| calculateTemporalAabb calculates the enclosing aabb for the moving object over interval [0..timeStep) result is conservative  More... | |
| bool | isPolyhedral () const | 
| bool | isConvex2d () const | 
| bool | isConvex () const | 
| bool | isNonMoving () const | 
| bool | isConcave () const | 
| bool | isCompound () const | 
| bool | isSoftBody () const | 
| bool | isInfinite () const | 
| isInfinite is used to catch simulation error (aabb check)  More... | |
| virtual void | calculateLocalInertia (btScalar mass, btVector3 &inertia) const =0 | 
| virtual const char * | getName () const =0 | 
| int | getShapeType () const | 
| virtual btVector3 | getAnisotropicRollingFrictionDirection () const | 
| the getAnisotropicRollingFrictionDirection can be used in combination with setAnisotropicFriction See Bullet/Demos/RollingFrictionDemo for an example  More... | |
| void | setUserPointer (void *userPtr) | 
| optional user data pointer  More... | |
| void * | getUserPointer () const | 
| void | setUserIndex (int index) | 
| int | getUserIndex () const | 
| virtual int | calculateSerializeBufferSize () const | 
| virtual const char * | serialize (void *dataBuffer, btSerializer *serializer) const | 
| fills the dataBuffer and returns the struct name (and 0 on failure)  More... | |
| virtual void | serializeSingleShape (btSerializer *serializer) const | 
| Protected Member Functions | |
| virtual void | calcLocalAABB () | 
| use this function for perfofm refit in bounding boxes  More... | |
| 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.
| 
 | inlineprotectedvirtual | 
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.
| 
 | pure virtual | 
if true, then its children must get transforms.
Implemented in btGImpactMeshShape, btGImpactMeshShapePart, and btGImpactCompoundShape.
| 
 | 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 btGImpactMeshShape, btGImpactMeshShapePart, and btGImpactCompoundShape.
| 
 | pure virtual | 
Implemented in btGImpactMeshShape, btGImpactMeshShapePart, and btGImpactCompoundShape.
| 
 | inlinevirtual | 
Retrieves the bound from a child.
Reimplemented in btGImpactMeshShape, and btGImpactCompoundShape.
Definition at line 249 of file btGImpactShape.h.
| 
 | pure virtual | 
Gets the children.
Implemented in btGImpactMeshShape, btGImpactMeshShapePart, and btGImpactCompoundShape.
| 
 | pure virtual | 
Gets the child.
Implemented in btGImpactMeshShape, btGImpactMeshShapePart, and btGImpactCompoundShape.
| 
 | pure virtual | 
Gets the children transform.
Implemented in btGImpactMeshShape, btGImpactMeshShapePart, and btGImpactCompoundShape.
| 
 | pure virtual | 
Subshape member functions.
Base method for determinig which kind of GIMPACT shape we get
Implemented in btGImpactMeshShape, btGImpactMeshShapePart, and btGImpactCompoundShape.
| 
 | inline | 
Obtains the local box, which is the global calculated box of the total of subshapes.
Definition at line 149 of file btGImpactShape.h.
| 
 | inlinevirtual | 
Implements btCollisionShape.
Reimplemented in btGImpactMeshShapePart.
Definition at line 169 of file btGImpactShape.h.
| 
 | pure virtual | 
Gets the number of children.
Implemented in btGImpactMeshShape, btGImpactMeshShapePart, and btGImpactCompoundShape.
| 
 | pure virtual | 
Obtains the primitive manager.
Implemented in btGImpactMeshShape, btGImpactMeshShapePart, and btGImpactCompoundShape.
| 
 | inline | 
if this trimesh
Definition at line 240 of file btGImpactShape.h.
| 
 | inlinevirtual | 
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.
| 
 | inlinevirtual | 
call when reading child shapes
Reimplemented in btGImpactMeshShape, and btGImpactMeshShapePart.
Definition at line 231 of file btGImpactShape.h.
| 
 | pure virtual | 
Determines if this shape has tetrahedrons.
Implemented in btGImpactMeshShape, btGImpactMeshShapePart, and btGImpactCompoundShape.
| 
 | pure virtual | 
Determines if this shape has triangles.
Implemented in btGImpactMeshShape, btGImpactMeshShapePart, and btGImpactCompoundShape.
| 
 | inlinevirtual | 
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 btGImpactMeshShape, and btGImpactMeshShapePart.
Definition at line 287 of file btGImpactShape.h.
| 
 | inlinevirtual | 
Function for retrieve triangles.
It gives the triangles in local space
Reimplemented in btGImpactMeshShape, and btGImpactMeshShapePart.
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 btGImpactMeshShape, btGImpactMeshShapePart, and btGImpactCompoundShape.
| 
 | inlinevirtual | 
Implements btCollisionShape.
Reimplemented in btGImpactMeshShape, and btGImpactMeshShapePart.
Definition at line 163 of file btGImpactShape.h.
| 
 | inlinevirtual | 
Reimplemented from btConcaveShape.
Reimplemented in btGImpactMeshShape, and btGImpactMeshShapePart.
Definition at line 175 of file btGImpactShape.h.
| 
 | inlinevirtual | 
Reimplemented in btGImpactMeshShape, and btGImpactMeshShapePart.
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.
 1.8.12
 1.8.12