Classes | Defines | Enumerations | Functions

btTypedConstraint.h File Reference

#include "LinearMath/btScalar.h"
#include "btSolverConstraint.h"
#include "BulletDynamics/Dynamics/btRigidBody.h"
Include dependency graph for btTypedConstraint.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  btJointFeedback
class  btTypedConstraint
 TypedConstraint is the baseclass for Bullet constraints and vehicles. More...
struct  btTypedConstraint::btConstraintInfo1
struct  btTypedConstraint::btConstraintInfo2
struct  btTypedConstraintData
 do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 More...
class  btAngularLimit

Defines

#define btAssertConstrParams(_par)   btAssert(_par)

Enumerations

enum  btTypedConstraintType {
  POINT2POINT_CONSTRAINT_TYPE = 3,
  HINGE_CONSTRAINT_TYPE,
  CONETWIST_CONSTRAINT_TYPE,
  D6_CONSTRAINT_TYPE,
  SLIDER_CONSTRAINT_TYPE,
  CONTACT_CONSTRAINT_TYPE,
  D6_SPRING_CONSTRAINT_TYPE,
  GEAR_CONSTRAINT_TYPE,
  MAX_CONSTRAINT_TYPE
}
enum  btConstraintParams {
  BT_CONSTRAINT_ERP = 1,
  BT_CONSTRAINT_STOP_ERP,
  BT_CONSTRAINT_CFM,
  BT_CONSTRAINT_STOP_CFM
}

Functions

btScalar btAdjustAngleToLimits (btScalar angleInRadians, btScalar angleLowerLimitInRadians, btScalar angleUpperLimitInRadians)

Define Documentation

#define btAssertConstrParams (   _par  )     btAssert(_par)

Definition at line 50 of file btTypedConstraint.h.


Enumeration Type Documentation

Enumerator:
BT_CONSTRAINT_ERP 
BT_CONSTRAINT_STOP_ERP 
BT_CONSTRAINT_CFM 
BT_CONSTRAINT_STOP_CFM 

Definition at line 41 of file btTypedConstraint.h.

Enumerator:
POINT2POINT_CONSTRAINT_TYPE 
HINGE_CONSTRAINT_TYPE 
CONETWIST_CONSTRAINT_TYPE 
D6_CONSTRAINT_TYPE 
SLIDER_CONSTRAINT_TYPE 
CONTACT_CONSTRAINT_TYPE 
D6_SPRING_CONSTRAINT_TYPE 
GEAR_CONSTRAINT_TYPE 
MAX_CONSTRAINT_TYPE 

Definition at line 27 of file btTypedConstraint.h.


Function Documentation

btScalar btAdjustAngleToLimits ( btScalar  angleInRadians,
btScalar  angleLowerLimitInRadians,
btScalar  angleUpperLimitInRadians 
) [inline]

Definition at line 334 of file btTypedConstraint.h.