opal::JointLimits Struct Reference

A data structure describing the limits for a single Joint axis. More...

#include <JointData.h>

List of all members.

Public Member Functions

 JointLimits ()

Public Attributes

real low
real high
real hardness
real bounciness


Detailed Description

A data structure describing the limits for a single Joint axis.

Definition at line 36 of file JointData.h.


Constructor & Destructor Documentation

opal::JointLimits::JointLimits  )  [inline]
 

Definition at line 38 of file JointData.h.

References bounciness, hardness, high, opal::defaults::joint::highLimit, opal::defaults::joint::limitBounciness, opal::defaults::joint::limitHardness, low, and opal::defaults::joint::lowLimit.


Member Data Documentation

real opal::JointLimits::bounciness
 

Bounciness (i.e. restitution) how much the Joint will bounce when it hits a limit.

Definition at line 58 of file JointData.h.

Referenced by opal::Joint::getLimitBounciness(), JointLimits(), and opal::Joint::setLimitBounciness().

real opal::JointLimits::hardness
 

Determines how far a Joint can exceed its limits. This must be between 0 and 1.

Definition at line 54 of file JointData.h.

Referenced by opal::Joint::getLimitHardness(), JointLimits(), and opal::Joint::setLimitHardness().

real opal::JointLimits::high
 

The limit angle or distance with the higher value.

Definition at line 50 of file JointData.h.

Referenced by opal::Joint::getHighLimit(), JointLimits(), opal::Joint::setLimitRange(), and opal::ODEJoint::setLimitsEnabled().

real opal::JointLimits::low
 

The limit angle or distance with the smaller value.

Definition at line 47 of file JointData.h.

Referenced by opal::Joint::getLowLimit(), JointLimits(), opal::Joint::setLimitRange(), and opal::ODEJoint::setLimitsEnabled().


The documentation for this struct was generated from the following file:
Generated on Tue May 16 17:49:56 2006 for OPAL by  doxygen 1.4.6-NO