Back to index

supertuxkart  0.5+dfsg1
Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes
btTypedConstraint Class Reference

TypedConstraint is the baseclass for Bullet constraints and vehicles. More...

#include <btTypedConstraint.h>

Inheritance diagram for btTypedConstraint:
Inheritance graph
[legend]
Collaboration diagram for btTypedConstraint:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 btTypedConstraint (btTypedConstraintType type)
virtual ~btTypedConstraint ()
 btTypedConstraint (btTypedConstraintType type, btRigidBody &rbA)
 btTypedConstraint (btTypedConstraintType type, btRigidBody &rbA, btRigidBody &rbB)
virtual void buildJacobian ()=0
virtual void solveConstraint (btScalar timeStep)=0
const btRigidBodygetRigidBodyA () const
const btRigidBodygetRigidBodyB () const
btRigidBodygetRigidBodyA ()
btRigidBodygetRigidBodyB ()
int getUserConstraintType () const
void setUserConstraintType (int userConstraintType)
void setUserConstraintId (int uid)
int getUserConstraintId () const
int getUid () const
btScalar getAppliedImpulse () const
btTypedConstraintType getConstraintType () const

Protected Attributes

btRigidBodym_rbA
btRigidBodym_rbB
btScalar m_appliedImpulse

Private Member Functions

btTypedConstraintoperator= (btTypedConstraint &other)

Private Attributes

int m_userConstraintType
int m_userConstraintId
btTypedConstraintType m_constraintType

Detailed Description

TypedConstraint is the baseclass for Bullet constraints and vehicles.

Definition at line 33 of file btTypedConstraint.h.


Constructor & Destructor Documentation

Definition at line 22 of file btTypedConstraint.cpp.

Here is the call graph for this function:

virtual btTypedConstraint::~btTypedConstraint ( ) [inline, virtual]

Definition at line 56 of file btTypedConstraint.h.

{};

Definition at line 32 of file btTypedConstraint.cpp.

Here is the call graph for this function:

Definition at line 45 of file btTypedConstraint.cpp.

Here is the call graph for this function:


Member Function Documentation

virtual void btTypedConstraint::buildJacobian ( ) [pure virtual]

Definition at line 108 of file btTypedConstraint.h.

       {
              return m_appliedImpulse;
       }

Definition at line 113 of file btTypedConstraint.h.

       {
              return m_constraintType;
       }

Here is the caller graph for this function:

const btRigidBody& btTypedConstraint::getRigidBodyA ( ) const [inline]

Reimplemented in btGeneric6DofConstraint, btSliderConstraint, btConeTwistConstraint, and btHingeConstraint.

Definition at line 65 of file btTypedConstraint.h.

       {
              return m_rbA;
       }

Here is the caller graph for this function:

Definition at line 74 of file btTypedConstraint.h.

       {
              return m_rbA;
       }
const btRigidBody& btTypedConstraint::getRigidBodyB ( ) const [inline]

Reimplemented in btGeneric6DofConstraint, btSliderConstraint, btConeTwistConstraint, and btHingeConstraint.

Definition at line 69 of file btTypedConstraint.h.

       {
              return m_rbB;
       }

Here is the caller graph for this function:

Definition at line 78 of file btTypedConstraint.h.

       {
              return m_rbB;
       }
int btTypedConstraint::getUid ( ) const [inline]

Definition at line 103 of file btTypedConstraint.h.

       {
              return m_userConstraintId;   
       } 

Definition at line 98 of file btTypedConstraint.h.

       {
              return m_userConstraintId;
       }

Definition at line 83 of file btTypedConstraint.h.

       {
              return m_userConstraintType ;
       }
btTypedConstraint& btTypedConstraint::operator= ( btTypedConstraint other) [inline, private]

Definition at line 40 of file btTypedConstraint.h.

       {
              btAssert(0);
              (void) other;
              return *this;
       }
void btTypedConstraint::setUserConstraintId ( int  uid) [inline]

Definition at line 93 of file btTypedConstraint.h.

       {
              m_userConstraintId = uid;
       }
void btTypedConstraint::setUserConstraintType ( int  userConstraintType) [inline]

Definition at line 88 of file btTypedConstraint.h.

       {
              m_userConstraintType = userConstraintType;
       };
virtual void btTypedConstraint::solveConstraint ( btScalar  timeStep) [pure virtual]

Member Data Documentation

Definition at line 50 of file btTypedConstraint.h.

Definition at line 38 of file btTypedConstraint.h.

Definition at line 48 of file btTypedConstraint.h.

Definition at line 49 of file btTypedConstraint.h.

Definition at line 36 of file btTypedConstraint.h.

Definition at line 35 of file btTypedConstraint.h.


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