HDK
|
#include <SIM_Force.h>
Public Member Functions | |
SIM_ForceResolverGeneric (const SIM_Force *force, const SIM_Object *object) | |
SIM_ForceResolver * | copy () const override |
bool | threadsafe () const override |
void | getForce (const UT_Vector3 &position, const UT_Vector3 &velocity, const UT_Vector3 &angvel, const fpreal mass, UT_Vector3 &force, UT_Vector3 &torque) override |
bool | hasJacobian () const override |
void | getForceJacobian (const UT_Vector3 &position, const UT_Vector3 &velocity, const UT_Vector3 &angvel, const fpreal mass, UT_Matrix &dFdX, UT_Matrix &dFdV) override |
Public Member Functions inherited from SIM_ForceResolver | |
SIM_ForceResolver () | |
SIM_ForceResolver (const SIM_Force *force, const SIM_Object *obj) | |
SIM_ForceResolver (const SIM_ForceResolver &src) | |
virtual | ~SIM_ForceResolver () |
SIM_ForceResolver & | operator= (const SIM_ForceResolver &src) |
void | applyNoise (const UT_Vector3 &pos, UT_Vector3 &forceortorque) |
void | applyNoise (const UT_Vector3 &pos, UT_Vector3 &force, UT_Vector3 &torque) |
void | applyNoiseJacobian (const UT_Vector3 &pos, UT_Matrix &dFdX, UT_Matrix &dFdV) |
Protected Attributes | |
const SIM_Force * | myForce |
const SIM_Object * | myObject |
Protected Attributes inherited from SIM_ForceResolver | |
UT_ValArray < SIM_PropertyResolver * > | myNoiseResolvers |
Definition at line 297 of file SIM_Force.h.
|
inline |
Definition at line 300 of file SIM_Force.h.
|
inlineoverridevirtual |
Implements SIM_ForceResolver.
Definition at line 307 of file SIM_Force.h.
|
inlineoverridevirtual |
Implements SIM_ForceResolver.
Definition at line 314 of file SIM_Force.h.
|
inlineoverridevirtual |
Reimplemented from SIM_ForceResolver.
Definition at line 325 of file SIM_Force.h.
|
inlineoverridevirtual |
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 324 of file SIM_Force.h.
|
inlineoverridevirtual |
Defaults to the resolver being threadsafe provided all of the noise resolvers are threadsafe.
Reimplemented from SIM_ForceResolver.
Definition at line 312 of file SIM_Force.h.
|
protected |
Definition at line 338 of file SIM_Force.h.
|
protected |
Definition at line 339 of file SIM_Force.h.