Blender V2.61 - r43446
Public Member Functions | Protected Attributes

btHinge2Constraint Class Reference

#include <btHinge2Constraint.h>

Inheritance diagram for btHinge2Constraint:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 btHinge2Constraint (btRigidBody &rbA, btRigidBody &rbB, btVector3 &anchor, btVector3 &axis1, btVector3 &axis2)
const btVector3 & getAnchor ()
const btVector3 & getAnchor2 ()
const btVector3 & getAxis1 ()
const btVector3 & getAxis2 ()
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 
)

Member Function Documentation

const btVector3& btHinge2Constraint::getAnchor ( ) [inline]
const btVector3& btHinge2Constraint::getAnchor2 ( ) [inline]
btScalar btHinge2Constraint::getAngle1 ( ) [inline]

Definition at line 48 of file btHinge2Constraint.h.

References btGeneric6DofConstraint::getAngle().

btScalar btHinge2Constraint::getAngle2 ( ) [inline]

Definition at line 49 of file btHinge2Constraint.h.

References btGeneric6DofConstraint::getAngle().

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

Definition at line 46 of file btHinge2Constraint.h.

References m_axis1.

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

Definition at line 47 of file btHinge2Constraint.h.

References m_axis2.

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

Member Data Documentation

btVector3 btHinge2Constraint::m_anchor [protected]

Definition at line 35 of file btHinge2Constraint.h.

btVector3 btHinge2Constraint::m_axis1 [protected]

Definition at line 36 of file btHinge2Constraint.h.

Referenced by getAxis1().

btVector3 btHinge2Constraint::m_axis2 [protected]

Definition at line 37 of file btHinge2Constraint.h.

Referenced by getAxis2().


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