Public Member Functions | Protected Attributes

btHinge2Constraint Class Reference

#include <btHinge2Constraint.h>

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

List of all members.

Public Member Functions

 BT_DECLARE_ALIGNED_ALLOCATOR ()
 btHinge2Constraint (btRigidBody &rbA, btRigidBody &rbB, btVector3 &anchor, btVector3 &axis1, btVector3 &axis2)
const btVector3getAnchor ()
const btVector3getAnchor2 ()
const btVector3getAxis1 ()
const btVector3getAxis2 ()
btScalar getAngle1 ()
btScalar getAngle2 ()
void setUpperLimit (btScalar ang1max)
void setLowerLimit (btScalar ang1min)

Protected Attributes

btVector3 m_anchor
btVector3 m_axis1
btVector3 m_axis2

Detailed Description

Definition at line 32 of file btHinge2Constraint.h.


Constructor & Destructor Documentation

btHinge2Constraint::btHinge2Constraint ( btRigidBody rbA,
btRigidBody rbB,
btVector3 anchor,
btVector3 axis1,
btVector3 axis2 
)

Definition at line 27 of file btHinge2Constraint.cpp.


Member Function Documentation

btHinge2Constraint::BT_DECLARE_ALIGNED_ALLOCATOR (  ) 

Reimplemented from btGeneric6DofSpringConstraint.

const btVector3& btHinge2Constraint::getAnchor (  )  [inline]

Definition at line 46 of file btHinge2Constraint.h.

const btVector3& btHinge2Constraint::getAnchor2 (  )  [inline]

Definition at line 47 of file btHinge2Constraint.h.

btScalar btHinge2Constraint::getAngle1 (  )  [inline]

Definition at line 50 of file btHinge2Constraint.h.

btScalar btHinge2Constraint::getAngle2 (  )  [inline]

Definition at line 51 of file btHinge2Constraint.h.

const btVector3& btHinge2Constraint::getAxis1 (  )  [inline]

Definition at line 48 of file btHinge2Constraint.h.

const btVector3& btHinge2Constraint::getAxis2 (  )  [inline]

Definition at line 49 of file btHinge2Constraint.h.

void btHinge2Constraint::setLowerLimit ( btScalar  ang1min  )  [inline]

Definition at line 54 of file btHinge2Constraint.h.

void btHinge2Constraint::setUpperLimit ( btScalar  ang1max  )  [inline]

Definition at line 53 of file btHinge2Constraint.h.


Member Data Documentation

Definition at line 35 of file btHinge2Constraint.h.

Definition at line 36 of file btHinge2Constraint.h.

Definition at line 37 of file btHinge2Constraint.h.


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