HDK
|
Public Member Functions | |
SIM_HairForceCallback (GU_Detail &gdp, const SIM_Object &object, const UT_DMatrix4 &xform, fpreal timestep, const GA_RWHandleF &masshandle, const GA_RWHandleV3 &velhandle) | |
~SIM_HairForceCallback () override | |
void | callbackConst (const SIM_Data *data, const char *name) override |
void | forceCallbackOffset (GA_Offset ptoff, const UT_Vector3 &force, const UT_Vector3 &torque) override |
Public Member Functions inherited from SIM_PointForceCallback | |
SIM_PointForceCallback () | |
virtual | ~SIM_PointForceCallback () |
Public Member Functions inherited from SIM_EachDataCallback | |
SIM_EachDataCallback () | |
virtual | ~SIM_EachDataCallback () |
virtual bool | callbackNeedsName () const |
virtual void | callback (SIM_Data *data, const char *name) |
Definition at line 50 of file SIM_SolverHair.C.
SIM_HairForceCallback::SIM_HairForceCallback | ( | GU_Detail & | gdp, |
const SIM_Object & | object, | ||
const UT_DMatrix4 & | xform, | ||
fpreal | timestep, | ||
const GA_RWHandleF & | masshandle, | ||
const GA_RWHandleV3 & | velhandle | ||
) |
Definition at line 88 of file SIM_SolverHair.C.
|
override |
Definition at line 103 of file SIM_SolverHair.C.
|
overridevirtual |
This is the callback function that is called for each data found by SIM_Data::forEachConstSubData(). The name parameter is the relative path to the data item from the starting data item for the search (the startfrom parameter to SIM_Data::forEachConstSubData()).
Implements SIM_EachDataCallback.
Definition at line 108 of file SIM_SolverHair.C.
|
overridevirtual |
This callback is called for each point in a geometry. This callback is executed by SIM_Force::getPointForces(). The returned force and torque are in either geometry space or world space depnding on the value of the forcesinworldspace flag passed to the getPointForces function.
Implements SIM_PointForceCallback.
Definition at line 118 of file SIM_SolverHair.C.