DeactivationProfile Class Reference

#include <rimPhysicsDeactivationProfile.h>

List of all members.

Public Member Functions

 DeactivationProfile ()
 Create a new deactivation profile with default deactivation values.
Real getLinearDamping () const
void setLinearDamping (Real newLinearDamping)
Real getAngularDamping () const
void setAngularDamping (Real newAngularDamping)
Real getLinearDampingThreshold () const
void setLinearDampingThreshold (Real newLinearDampingThreshold)
Real getAngularDampingThreshold () const
void setAngularDampingThreshold (Real newAngularDampingThreshold)
Real getLinearDeactivationDamping () const
void setLinearDeactivationDamping (Real newLinearDeactivationDamping)
Real getAngularDeactivationDamping () const
void setAngularDeactivationDamping (Real newAngularDeactivationDamping)
Real getLinearDeactivationThreshold () const
void setLinearDeactivationThreshold (Real newLinearDeactivationThreshold)
Real getAngularDeactivationThreshold () const
void setAngularDeactivationThreshold (Real newAngularDeactivationThreshold)
Real getLinearReactivationThreshold () const
void setLinearReactivationThreshold (Real newLinearReactivationThreshold)
Real getAngularReactivationThreshold () const
void setAngularReactivationThreshold (Real newAngularReactivationThreshold)
Real getVelocityAgeLimit () const
void setVelocityAgeLimit (Real newVelocityAgeLimit)
Real getTimeInactiveThreshold () const
void setTimeInactiveThreshold (Real newTimeInactiveThreshold)

Private Attributes

Real linearDamping
 The linear velocity damping factor.
Real angularDamping
 The angular velocity damping factor.
Real linearDampingThreshold
 The speed below which an object's linear motion is damped.
Real angularDampingThreshold
 The speed below which an object's angular motion is damped.
Real linearDeactivationDamping
 The damping that is applied when an object is marked as inactive.
Real angularDeactivationDamping
Real linearDeactivationThreshold
 The velocity thresholds at which an object is marked as inactive.
Real angularDeactivationThreshold
Real linearReactivationThreshold
 The velocity thresholds at which an object is marked as active.
Real angularReactivationThreshold
Real velocityAgeLimit
 The time interval between refreshes of an object's average velocities.
Real timeInactiveThreshold
 The time an object must be considered inactive before it is marked as such.

Friends

class DeactivatorStandard


Constructor & Destructor Documentation

DeactivationProfile::DeactivationProfile (  )  [inline]

Create a new deactivation profile with default deactivation values.


Member Function Documentation

Real DeactivationProfile::getLinearDamping (  )  const [inline]

void DeactivationProfile::setLinearDamping ( Real  newLinearDamping  )  [inline]

Real DeactivationProfile::getAngularDamping (  )  const [inline]

void DeactivationProfile::setAngularDamping ( Real  newAngularDamping  )  [inline]

Real DeactivationProfile::getLinearDampingThreshold (  )  const [inline]

void DeactivationProfile::setLinearDampingThreshold ( Real  newLinearDampingThreshold  )  [inline]

Real DeactivationProfile::getAngularDampingThreshold (  )  const [inline]

void DeactivationProfile::setAngularDampingThreshold ( Real  newAngularDampingThreshold  )  [inline]

Real DeactivationProfile::getLinearDeactivationDamping (  )  const [inline]

void DeactivationProfile::setLinearDeactivationDamping ( Real  newLinearDeactivationDamping  )  [inline]

Real DeactivationProfile::getAngularDeactivationDamping (  )  const [inline]

void DeactivationProfile::setAngularDeactivationDamping ( Real  newAngularDeactivationDamping  )  [inline]

Real DeactivationProfile::getLinearDeactivationThreshold (  )  const [inline]

void DeactivationProfile::setLinearDeactivationThreshold ( Real  newLinearDeactivationThreshold  )  [inline]

Real DeactivationProfile::getAngularDeactivationThreshold (  )  const [inline]

void DeactivationProfile::setAngularDeactivationThreshold ( Real  newAngularDeactivationThreshold  )  [inline]

Real DeactivationProfile::getLinearReactivationThreshold (  )  const [inline]

void DeactivationProfile::setLinearReactivationThreshold ( Real  newLinearReactivationThreshold  )  [inline]

Real DeactivationProfile::getAngularReactivationThreshold (  )  const [inline]

void DeactivationProfile::setAngularReactivationThreshold ( Real  newAngularReactivationThreshold  )  [inline]

Real DeactivationProfile::getVelocityAgeLimit (  )  const [inline]

void DeactivationProfile::setVelocityAgeLimit ( Real  newVelocityAgeLimit  )  [inline]

Real DeactivationProfile::getTimeInactiveThreshold (  )  const [inline]

void DeactivationProfile::setTimeInactiveThreshold ( Real  newTimeInactiveThreshold  )  [inline]


Friends And Related Function Documentation

friend class DeactivatorStandard [friend]


Member Data Documentation

Real DeactivationProfile::linearDamping [private]

The linear velocity damping factor.

This is the factor by which all three dimensions of an object's linear velocity is multiplied every simulation time step where the magnitude of it's average linear velocity is below the linearDampingThreshold amount. Therefore, a value less than one is prefered, and the smaller the value, the more the object's motion will be damped once it has passed the damping threshold. This quantity is unitless. The purpose of this damping parameter is to slow an object's motion once it is slower than a certain amount, so that it is more likely that it will be correctly deactivated.

Real DeactivationProfile::angularDamping [private]

The angular velocity damping factor.

This is the factor by which all three dimensions of an object's angular velocity is multiplied every simulation time step where the magnitude of it's average angular velocity is below the angularDampingThreshold amount. Therefore, a value less than one is prefered, and the smaller the value, the more the object's motion will be damped once it has passed the damping threshold. This quantity is unitless. The purpose of this damping parameter is to slow an object's motion once it is slower than a certain amount, so that it is more likely that it will be correctly deactivated.

Real DeactivationProfile::linearDampingThreshold [private]

The speed below which an object's linear motion is damped.

Real DeactivationProfile::angularDampingThreshold [private]

The speed below which an object's angular motion is damped.

Real DeactivationProfile::linearDeactivationDamping [private]

The damping that is applied when an object is marked as inactive.

Real DeactivationProfile::angularDeactivationDamping [private]

Real DeactivationProfile::linearDeactivationThreshold [private]

The velocity thresholds at which an object is marked as inactive.

Real DeactivationProfile::angularDeactivationThreshold [private]

Real DeactivationProfile::linearReactivationThreshold [private]

The velocity thresholds at which an object is marked as active.

Real DeactivationProfile::angularReactivationThreshold [private]

Real DeactivationProfile::velocityAgeLimit [private]

The time interval between refreshes of an object's average velocities.

Real DeactivationProfile::timeInactiveThreshold [private]

The time an object must be considered inactive before it is marked as such.


The documentation for this class was generated from the following file:
Generated on Tue Aug 26 00:03:20 2008 for Rim Physics by  doxygen 1.5.4