Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
btBridgedManifoldResult Struct Reference
Inheritance diagram for btBridgedManifoldResult:
Inheritance graph
[legend]
Collaboration diagram for btBridgedManifoldResult:
Collaboration graph
[legend]

Public Member Functions

 btBridgedManifoldResult (const btCollisionObjectWrapper *obj0Wrap, const btCollisionObjectWrapper *obj1Wrap, btCollisionWorld::ContactResultCallback &resultCallback)
 
virtual void addContactPoint (const btVector3 &normalOnBInWorld, const btVector3 &pointInWorld, btScalar depth)
 
- Public Member Functions inherited from btManifoldResult
 btManifoldResult ()
 
 btManifoldResult (const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap)
 
virtual ~btManifoldResult ()
 
void setPersistentManifold (btPersistentManifold *manifoldPtr)
 
const btPersistentManifoldgetPersistentManifold () const
 
btPersistentManifoldgetPersistentManifold ()
 
virtual void setShapeIdentifiersA (int partId0, int index0)
 setShapeIdentifiersA/B provides experimental support for per-triangle material / custom material combiner More...
 
virtual void setShapeIdentifiersB (int partId1, int index1)
 
void refreshContactPoints ()
 
const btCollisionObjectWrappergetBody0Wrap () const
 
const btCollisionObjectWrappergetBody1Wrap () const
 
void setBody0Wrap (const btCollisionObjectWrapper *obj0Wrap)
 
void setBody1Wrap (const btCollisionObjectWrapper *obj1Wrap)
 
const btCollisionObjectgetBody0Internal () const
 
const btCollisionObjectgetBody1Internal () const
 
- Public Member Functions inherited from btDiscreteCollisionDetectorInterface::Result
virtual ~Result ()
 

Public Attributes

btCollisionWorld::ContactResultCallbackm_resultCallback
 

Additional Inherited Members

- Static Public Member Functions inherited from btManifoldResult
static btScalar calculateCombinedRestitution (const btCollisionObject *body0, const btCollisionObject *body1)
 in the future we can let the user override the methods to combine restitution and friction More...
 
static btScalar calculateCombinedFriction (const btCollisionObject *body0, const btCollisionObject *body1)
 User can override this material combiner by implementing gContactAddedCallback and setting body0->m_collisionFlags |= btCollisionObject::customMaterialCallback;. More...
 
- Protected Attributes inherited from btManifoldResult
btPersistentManifoldm_manifoldPtr
 
const btCollisionObjectWrapperm_body0Wrap
 
const btCollisionObjectWrapperm_body1Wrap
 
int m_partId0
 
int m_partId1
 
int m_index0
 
int m_index1
 

Detailed Description

Definition at line 1070 of file btCollisionWorld.cpp.

Constructor & Destructor Documentation

btBridgedManifoldResult::btBridgedManifoldResult ( const btCollisionObjectWrapper obj0Wrap,
const btCollisionObjectWrapper obj1Wrap,
btCollisionWorld::ContactResultCallback resultCallback 
)
inline

Definition at line 1075 of file btCollisionWorld.cpp.

Member Function Documentation

virtual void btBridgedManifoldResult::addContactPoint ( const btVector3 normalOnBInWorld,
const btVector3 pointInWorld,
btScalar  depth 
)
inlinevirtual

Reimplemented from btManifoldResult.

Definition at line 1081 of file btCollisionWorld.cpp.

Member Data Documentation

btCollisionWorld::ContactResultCallback& btBridgedManifoldResult::m_resultCallback

Definition at line 1073 of file btCollisionWorld.cpp.


The documentation for this struct was generated from the following file: