Logo Search packages:      
Sourcecode: blender version File versions  Download package

btTypedConstraint Class Reference

#include <btTypedConstraint.h>

Inheritance diagram for btTypedConstraint:

btConeTwistConstraint btGeneric6DofConstraint btHingeConstraint btPoint2PointConstraint btGeneric6DofSpringConstraint

List of all members.

Detailed Description

TypedConstraint is the baseclass for Bullet constraints and vehicles.

Definition at line 37 of file btTypedConstraint.h.

Public Member Functions

 btTypedConstraint (btTypedConstraintType type, btRigidBody &rbA, btRigidBody &rbB)
 btTypedConstraint (btTypedConstraintType type, btRigidBody &rbA)
 btTypedConstraint (btTypedConstraintType type)
virtual void buildJacobian ()=0
btScalar getAppliedImpulse () const
btTypedConstraintType getConstraintType () const
btScalar getDbgDrawSize ()
virtual void getInfo1 (btConstraintInfo1 *info)=0
virtual void getInfo2 (btConstraintInfo2 *info)=0
btScalar getMotorFactor (btScalar pos, btScalar lowLim, btScalar uppLim, btScalar vel, btScalar timeFact)
btRigidBodygetRigidBodyA ()
const btRigidBodygetRigidBodyA () const
btRigidBodygetRigidBodyB ()
const btRigidBodygetRigidBodyB () const
int getUid () const
int getUserConstraintId () const
int getUserConstraintType () const
void setDbgDrawSize (btScalar dbgDrawSize)
virtual void setupSolverConstraint (btConstraintArray &ca, int solverBodyA, int solverBodyB, btScalar timeStep)
void setUserConstraintId (int uid)
void setUserConstraintType (int userConstraintType)
virtual void solveConstraintObsolete (btSolverBody &bodyA, btSolverBody &bodyB, btScalar timeStep)=0

Protected Attributes

btScalar m_appliedImpulse
btScalar m_dbgDrawSize

Private Member Functions

btTypedConstraintoperator= (btTypedConstraint &other)

Private Attributes

btTypedConstraintType m_constraintType
int m_userConstraintId
int m_userConstraintType


struct  btConstraintInfo1
struct  btConstraintInfo2

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

Generated by  Doxygen 1.6.0   Back to index