#include <vpSJoint.h>

Public Member Functions | |
| void | SetAxis (const Vec3 &axis) |
| void | SetAngle (const scalar &theta) |
| void | SetDisplacement (const scalar &x) |
| void | SetAngularVelocity (const scalar &w) |
| void | SetVelocity (const scalar &v) |
| void | SetAngularAcceleration (const scalar &dw) |
| void | SetAcceleration (const scalar &a) |
| void | SetTorque (const scalar &tau) |
| void | SetSlidingForce (const scalar &f) |
| void | AddTorque (const scalar &tau) |
| void | AddSlidingForce (const scalar &f) |
| void | SetInitialAngle (const scalar &theta_i) |
| void | SetInitialDisplacement (const scalar &x_i) |
| void | SetRotationalElasticity (const scalar &k) |
| void | SetSlidingElasticity (const scalar &k) |
| void | SetRotationalDamping (const scalar &c) |
| void | SetSlidingDamping (const scalar &c) |
| void | SetRotationalUpperLimit (const scalar &) |
| void | SetSlidingUpperLimit (const scalar &) |
| void | SetRotationalLowerLimit (const scalar &) |
| void | SetSlidingLowerLimit (const scalar &) |
| void | SetRotationalRestitution (const scalar &) |
| void | SetSlidingRestitution (const scalar &) |
| const Vec3 & | GetAxis (void) const |
| scalar | GetAngle (void) const |
| scalar | GetDisplacement (void) const |
| scalar | GetAngularVelocity (void) const |
| scalar | GetVelocity (void) const |
| scalar | GetAngularAcceleration (void) const |
| scalar | GetAcceleration (void) const |
| scalar | GetTorque (void) const |
| scalar | GetSlidingForce (void) const |
| scalar | GetInitialAngle (void) const |
| scalar | GetInitialDisplacement (void) const |
| scalar | GetRotationalElasticity (void) const |
| scalar | GetSlidingElasticity (void) const |
| scalar | GetRotationalDamping (void) const |
| scalar | GetSlidingDamping (void) const |
| scalar | GetRotationalUpperLimit (void) const |
| scalar | GetSlidingUpperLimit (void) const |
| scalar | GetRotationalLowerLimit (void) const |
| scalar | GetSlidingLowerLimit (void) const |
| void | DisableRotationalUpperLimit (void) |
| void | DisableSlidingUpperLimit (void) |
| void | DisableRotationalLowerLimit (void) |
| void | DisableSlidingLowerLimit (void) |
| bool | IsEnabledRotationalUpperLimit (void) const |
| bool | IsEnabledSlidingUpperLimit (void) const |
| bool | IsEnabledRotationalLowerLimit (void) const |
| bool | IsEnabledSlidingLowerLimit (void) const |
| virtual int | GetDOF (void) const |
| virtual scalar | GetNormalForce (void) const |
| virtual scalar | GetNormalTorque (void) const |
| VP_INLINE void vpSJoint::SetAxis | ( | const Vec3 & | axis | ) |
set a sliding axis
| VP_INLINE void vpSJoint::SetAngle | ( | const scalar & | theta | ) |
set a rotating angle
| VP_INLINE void vpSJoint::SetDisplacement | ( | const scalar & | x | ) |
set a sliding displacement
| VP_INLINE void vpSJoint::SetAngularVelocity | ( | const scalar & | w | ) |
set a rotating angular velocity
| VP_INLINE void vpSJoint::SetVelocity | ( | const scalar & | v | ) |
set a sliding velocity
| VP_INLINE void vpSJoint::SetAngularAcceleration | ( | const scalar & | dw | ) |
set a rotating angular acceleration
| VP_INLINE void vpSJoint::SetAcceleration | ( | const scalar & | a | ) |
set a sliding acceleration
| VP_INLINE void vpSJoint::SetTorque | ( | const scalar & | tau | ) |
set a rotating torque
| VP_INLINE void vpSJoint::SetSlidingForce | ( | const scalar & | f | ) |
set a sliding force
| VP_INLINE void vpSJoint::AddTorque | ( | const scalar & | tau | ) |
add a rotating torque
| VP_INLINE void vpSJoint::AddSlidingForce | ( | const scalar & | f | ) |
add a sliding force
| VP_INLINE void vpSJoint::SetInitialAngle | ( | const scalar & | theta_i | ) |
set an intial angle
| VP_INLINE void vpSJoint::SetInitialDisplacement | ( | const scalar & | x_i | ) |
set an intial displacement
| VP_INLINE void vpSJoint::SetRotationalElasticity | ( | const scalar & | k | ) |
set a rotational elasticity
| VP_INLINE void vpSJoint::SetSlidingElasticity | ( | const scalar & | k | ) |
set a linear elasticity
| VP_INLINE void vpSJoint::SetRotationalDamping | ( | const scalar & | c | ) |
set a rotational damping
| VP_INLINE void vpSJoint::SetSlidingDamping | ( | const scalar & | c | ) |
set a linear damping
| VP_INLINE void vpSJoint::SetRotationalUpperLimit | ( | const scalar & | x | ) |
set an upper joint limit for rotation
| VP_INLINE void vpSJoint::SetSlidingUpperLimit | ( | const scalar & | x | ) |
set an upper joint limit for sliding
| VP_INLINE void vpSJoint::SetRotationalLowerLimit | ( | const scalar & | x | ) |
set an lower joint limit for rotation
| VP_INLINE void vpSJoint::SetSlidingLowerLimit | ( | const scalar & | x | ) |
set an lower joint limit for sliding
| VP_INLINE void vpSJoint::SetRotationalRestitution | ( | const scalar & | e | ) |
set a restitution for rotation
| VP_INLINE void vpSJoint::SetSlidingRestitution | ( | const scalar & | e | ) |
set a restitution for sliding
| VP_INLINE const Vec3 & vpSJoint::GetAxis | ( | void | ) | const |
get a rotating axis
| VP_INLINE scalar vpSJoint::GetAngle | ( | void | ) | const |
get a rotating angle
| VP_INLINE scalar vpSJoint::GetDisplacement | ( | void | ) | const |
get a sliding displacement
| VP_INLINE scalar vpSJoint::GetAngularVelocity | ( | void | ) | const |
get an angular velocity
| VP_INLINE scalar vpSJoint::GetVelocity | ( | void | ) | const |
get an sliding velocity
| VP_INLINE scalar vpSJoint::GetAngularAcceleration | ( | void | ) | const |
get an angular acceleration
| VP_INLINE scalar vpSJoint::GetAcceleration | ( | void | ) | const |
get an sliding acceleration
| VP_INLINE scalar vpSJoint::GetTorque | ( | void | ) | const |
get a rotating torque
| VP_INLINE scalar vpSJoint::GetSlidingForce | ( | void | ) | const |
get a sliding force
| VP_INLINE scalar vpSJoint::GetInitialAngle | ( | void | ) | const |
get an intial rotating angle
| VP_INLINE scalar vpSJoint::GetInitialDisplacement | ( | void | ) | const |
get an intial displacement
| VP_INLINE scalar vpSJoint::GetRotationalElasticity | ( | void | ) | const |
get an rotational elasticity
| VP_INLINE scalar vpSJoint::GetSlidingElasticity | ( | void | ) | const |
get an sliding elasticity
| VP_INLINE scalar vpSJoint::GetRotationalDamping | ( | void | ) | const |
get a rotational damping coefficient
| VP_INLINE scalar vpSJoint::GetSlidingDamping | ( | void | ) | const |
get a sliding damping coefficient
| VP_INLINE scalar vpSJoint::GetRotationalUpperLimit | ( | void | ) | const |
get a rotational upper limit
| VP_INLINE scalar vpSJoint::GetSlidingUpperLimit | ( | void | ) | const |
get a sliding upper limit
| VP_INLINE scalar vpSJoint::GetRotationalLowerLimit | ( | void | ) | const |
get a rotational lower limit
| VP_INLINE scalar vpSJoint::GetSlidingLowerLimit | ( | void | ) | const |
get a sliding lower limit
| VP_INLINE void vpSJoint::DisableRotationalUpperLimit | ( | void | ) |
disable upper limit for rotation
| VP_INLINE void vpSJoint::DisableSlidingUpperLimit | ( | void | ) |
disable upper limit for sliding
| VP_INLINE void vpSJoint::DisableRotationalLowerLimit | ( | void | ) |
disable lower limit for rotation
| VP_INLINE void vpSJoint::DisableSlidingLowerLimit | ( | void | ) |
disable lower limit for rotation
| VP_INLINE bool vpSJoint::IsEnabledRotationalUpperLimit | ( | void | ) | const |
return whether this joint is set to have rotational upper limit
| VP_INLINE bool vpSJoint::IsEnabledSlidingUpperLimit | ( | void | ) | const |
return whether this joint is set to have sliding upper limit
| VP_INLINE bool vpSJoint::IsEnabledRotationalLowerLimit | ( | void | ) | const |
return whether this joint is set to have rotational lower limit
| VP_INLINE bool vpSJoint::IsEnabledSlidingLowerLimit | ( | void | ) | const |
return whether this joint is set to have sliding lower limit
| VP_INLINE int vpSJoint::GetDOF | ( | void | ) | const [virtual] |
return the degrees of freedom.
Implements vpJoint.
| VP_INLINE scalar vpSJoint::GetNormalForce | ( | void | ) | const [virtual] |
get a magnitude of normal force applied to the joint.
Implements vpJoint.
| VP_INLINE scalar vpSJoint::GetNormalTorque | ( | void | ) | const [virtual] |
get a magnitude of normal torque applied to the joint.
Implements vpJoint.
1.5.5