
Public Member Functions | |
| SIM_HairForceCallback (GU_Detail &gdp, const SIM_Object &object, const UT_DMatrix4 &xform, fpreal timestep, const GB_AttributeRef &massoffset, const GB_AttributeRef &veloffset) | |
| virtual | ~SIM_HairForceCallback () |
| virtual void | callbackConst (const SIM_Data *data, const char *name) |
| virtual void | forceCallback (int ptnum, const UT_Vector3 &force, const UT_Vector3 &torque) |
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 GB_AttributeRef & | massoffset, | |||
| const GB_AttributeRef & | veloffset | |||
| ) |
| SIM_HairForceCallback::~SIM_HairForceCallback | ( | ) | [virtual] |
| void SIM_HairForceCallback::callbackConst | ( | const SIM_Data * | data, | |
| const char * | name | |||
| ) | [virtual] |
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 99 of file SIM_SolverHair.C.
| void SIM_HairForceCallback::forceCallback | ( | int | ptnum, | |
| const UT_Vector3 & | force, | |||
| const UT_Vector3 & | torque | |||
| ) | [virtual] |
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 109 of file SIM_SolverHair.C.
1.5.9