#include <SIM_Force.h>

Public Member Functions | |
| SIM_ForceResolverGeneric (const SIM_Force *force, const SIM_Object *object) | |
| virtual SIM_ForceResolver * | copy () const |
| virtual bool | threadsafe () const |
| virtual void | getForce (const UT_Vector3 &position, const UT_Vector3 &velocity, const UT_Vector3 &angvel, const fpreal mass, UT_Vector3 &force, UT_Vector3 &torque) |
| virtual bool | hasJacobian () const |
| virtual void | getForceJacobian (const UT_Vector3 &position, const UT_Vector3 &velocity, const UT_Vector3 &angvel, const fpreal mass, UT_Matrix &dFdX, UT_Matrix &dFdV) |
Protected Attributes | |
| const SIM_Force * | myForce |
| const SIM_Object * | myObject |
Definition at line 305 of file SIM_Force.h.
| SIM_ForceResolverGeneric::SIM_ForceResolverGeneric | ( | const SIM_Force * | force, | |
| const SIM_Object * | object | |||
| ) | [inline] |
Definition at line 308 of file SIM_Force.h.
| virtual SIM_ForceResolver* SIM_ForceResolverGeneric::copy | ( | void | ) | const [inline, virtual] |
| virtual void SIM_ForceResolverGeneric::getForce | ( | const UT_Vector3 & | position, | |
| const UT_Vector3 & | velocity, | |||
| const UT_Vector3 & | angvel, | |||
| const fpreal | mass, | |||
| UT_Vector3 & | force, | |||
| UT_Vector3 & | torque | |||
| ) | [inline, virtual] |
| virtual void SIM_ForceResolverGeneric::getForceJacobian | ( | const UT_Vector3 & | position, | |
| const UT_Vector3 & | velocity, | |||
| const UT_Vector3 & | angvel, | |||
| const fpreal | mass, | |||
| UT_Matrix & | dFdX, | |||
| UT_Matrix & | dFdV | |||
| ) | [inline, virtual] |
| virtual bool SIM_ForceResolverGeneric::hasJacobian | ( | ) | const [inline, virtual] |
Whether the getForceJacobian returns non-zero values. The default implementation is to always return a 0 jacobian, hence hasJacobian of false.
Reimplemented from SIM_ForceResolver.
Definition at line 332 of file SIM_Force.h.
| virtual bool SIM_ForceResolverGeneric::threadsafe | ( | ) | const [inline, virtual] |
Defaults to the resolver being threadsafe provided all of the noise resolvers are threadsafe.
Reimplemented from SIM_ForceResolver.
Definition at line 320 of file SIM_Force.h.
const SIM_Force* SIM_ForceResolverGeneric::myForce [protected] |
Definition at line 346 of file SIM_Force.h.
const SIM_Object* SIM_ForceResolverGeneric::myObject [protected] |
Definition at line 347 of file SIM_Force.h.
1.5.9