ScummVM API documentation
dgConstraint Class Referenceabstract
Inheritance diagram for dgConstraint:
dgBilateralConstraint dgContact dgBallConstraint dgCorkscrewConstraint dgHingeConstraint dgSlidingConstraint dgUniversalConstraint dgUpVectorConstraint dgUserConstraint NewtonUserJoint

Classes

class  dgPointParam
 

Public Member Functions

dgUnsigned32 GetId () const
 
dgBodyGetBody0 () const
 
dgBodyGetBody1 () const
 
dgBodyMasterListRow::dgListNode * GetLink0 () const
 
dgBodyMasterListRow::dgListNode * GetLink1 () const
 
void * GetUserData () const
 
bool IsCollidable () const
 
dgInt32 GetMaxDOF () const
 
void SetUserData (void *userData)
 
void SetCollidable (bool state)
 
virtual void SetDestructorCallback (OnConstraintDestroy destructor)=0
 
virtual dgFloat32 GetStiffness () const
 
virtual void SetStiffness (dgFloat32 stiffness)
 
virtual void GetInfo (dgConstraintInfo *const info) const
 

Protected Member Functions

virtual bool IsBilateral () const
 
virtual dgUnsigned32 JacobianDerivative (dgContraintDescritor &params)=0
 
virtual void JointAccelerations (const dgJointAccelerationDecriptor &params)=0
 
virtual void JointAccelerationsSimd (const dgJointAccelerationDecriptor &params)=0
 
virtual void JointVelocityCorrection (const dgJointAccelerationDecriptor &params)=0
 
void SetUpdateFeedbackFunction (ConstraintsForceFeedback function)
 
void InitPointParam (dgPointParam &param, dgFloat32 stiffness, const dgVector &p0Global, const dgVector &p1Global) const
 
void InitInfo (dgConstraintInfo *const info) const
 

Protected Attributes

void * m_userData
 
dgBodym_body0
 
dgBodym_body1
 
dgBodyMasterListRow::dgListNode * m_link0
 
dgBodyMasterListRow::dgListNode * m_link1
 
ConstraintsForceFeedback m_updaFeedbackCallback
 
dgUnsigned32 m_dynamicsLru
 
dgUnsigned32 m_index: 16
 
dgUnsigned32 m_maxDOF: 6
 
dgUnsigned32 m_constId: 6
 
dgUnsigned32 m_enableCollision: 1
 
dgUnsigned32 m_isUnilateral: 1
 

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