Blender V2.61 - r43446
Public Member Functions | Public Attributes

btManifoldPoint Class Reference

#include <btManifoldPoint.h>

List of all members.

Public Member Functions

 btManifoldPoint ()
 btManifoldPoint (const btVector3 &pointA, const btVector3 &pointB, const btVector3 &normal, btScalar distance)
btScalar getDistance () const
int getLifeTime () const
const btVector3 & getPositionWorldOnA () const
const btVector3 & getPositionWorldOnB () const
void setDistance (btScalar dist)
btScalar getAppliedImpulse () const
 this returns the most recent applied impulse, to satisfy contact constraints by the constraint solver

Public Attributes

btVector3 m_localPointA
btVector3 m_localPointB
btVector3 m_positionWorldOnB
btVector3 m_positionWorldOnA
 m_positionWorldOnA is redundant information, see getPositionWorldOnA(), but for clarity
btVector3 m_normalWorldOnB
btScalar m_distance1
btScalar m_combinedFriction
btScalar m_combinedRestitution
int m_partId0
int m_partId1
int m_index0
int m_index1
void * m_userPersistentData
btScalar m_appliedImpulse
bool m_lateralFrictionInitialized
btScalar m_appliedImpulseLateral1
btScalar m_appliedImpulseLateral2
btScalar m_contactMotion1
btScalar m_contactMotion2
btScalar m_contactCFM1
btScalar m_contactCFM2
int m_lifeTime
btVector3 m_lateralFrictionDir1
btVector3 m_lateralFrictionDir2
btConstraintRow mConstraintRow [3]

Detailed Description

ManifoldContactPoint collects and maintains persistent contactpoints. used to improve stability and performance of rigidbody dynamics response.

Definition at line 42 of file btManifoldPoint.h.


Constructor & Destructor Documentation

btManifoldPoint::btManifoldPoint ( ) [inline]

Definition at line 45 of file btManifoldPoint.h.

btManifoldPoint::btManifoldPoint ( const btVector3 &  pointA,
const btVector3 &  pointB,
const btVector3 &  normal,
btScalar  distance 
) [inline]

Definition at line 59 of file btManifoldPoint.h.

References mConstraintRow.


Member Function Documentation

btScalar btManifoldPoint::getAppliedImpulse ( ) const [inline]

this returns the most recent applied impulse, to satisfy contact constraints by the constraint solver

Definition at line 149 of file btManifoldPoint.h.

References m_appliedImpulse.

btScalar btManifoldPoint::getDistance ( ) const [inline]
int btManifoldPoint::getLifeTime ( ) const [inline]
const btVector3& btManifoldPoint::getPositionWorldOnA ( ) const [inline]
const btVector3& btManifoldPoint::getPositionWorldOnB ( ) const [inline]
void btManifoldPoint::setDistance ( btScalar  dist) [inline]

Definition at line 143 of file btManifoldPoint.h.

References m_distance1.


Member Data Documentation

Definition at line 86 of file btManifoldPoint.h.

Definition at line 87 of file btManifoldPoint.h.

Referenced by btAdjustInternalEdgeContacts().

m_positionWorldOnA is redundant information, see getPositionWorldOnA(), but for clarity

Definition at line 90 of file btManifoldPoint.h.

Referenced by btBridgedManifoldResult::addContactPoint(), btManifoldResult::addContactPoint(), btAdjustInternalEdgeContacts(), and getPositionWorldOnA().

Definition at line 103 of file btManifoldPoint.h.

Referenced by ATTRIBUTE_ALIGNED128().

btConstraintRow btManifoldPoint::mConstraintRow[3]

Definition at line 121 of file btManifoldPoint.h.

Referenced by ATTRIBUTE_ALIGNED128(), and btManifoldPoint().


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