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

Public Member Functions

 btPerturbedContactResult (btManifoldResult *originalResult, const btTransform &transformA, const btTransform &transformB, const btTransform &unPerturbedTransform, bool perturbA, btIDebugDraw *debugDrawer)
 
virtual ~btPerturbedContactResult ()
 
virtual void addContactPoint (const btVector3 &normalOnBInWorld, const btVector3 &pointInWorld, btScalar orgDepth)
 
- 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

btManifoldResultm_originalManifoldResult
 
btTransform m_transformA
 
btTransform m_transformB
 
btTransform m_unPerturbedTransform
 
bool m_perturbA
 
btIDebugDrawm_debugDrawer
 

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 230 of file btConvexConvexAlgorithm.cpp.

Constructor & Destructor Documentation

btPerturbedContactResult::btPerturbedContactResult ( btManifoldResult originalResult,
const btTransform transformA,
const btTransform transformB,
const btTransform unPerturbedTransform,
bool  perturbA,
btIDebugDraw debugDrawer 
)
inline

Definition at line 240 of file btConvexConvexAlgorithm.cpp.

virtual btPerturbedContactResult::~btPerturbedContactResult ( )
inlinevirtual

Definition at line 249 of file btConvexConvexAlgorithm.cpp.

Member Function Documentation

virtual void btPerturbedContactResult::addContactPoint ( const btVector3 normalOnBInWorld,
const btVector3 pointInWorld,
btScalar  orgDepth 
)
inlinevirtual

Reimplemented from btManifoldResult.

Definition at line 253 of file btConvexConvexAlgorithm.cpp.

Member Data Documentation

btIDebugDraw* btPerturbedContactResult::m_debugDrawer

Definition at line 237 of file btConvexConvexAlgorithm.cpp.

btManifoldResult* btPerturbedContactResult::m_originalManifoldResult

Definition at line 232 of file btConvexConvexAlgorithm.cpp.

bool btPerturbedContactResult::m_perturbA

Definition at line 236 of file btConvexConvexAlgorithm.cpp.

btTransform btPerturbedContactResult::m_transformA

Definition at line 233 of file btConvexConvexAlgorithm.cpp.

btTransform btPerturbedContactResult::m_transformB

Definition at line 234 of file btConvexConvexAlgorithm.cpp.

btTransform btPerturbedContactResult::m_unPerturbedTransform

Definition at line 235 of file btConvexConvexAlgorithm.cpp.


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