#include <SIM_Force.h>

Public Member Functions | |
| SIM_PointForceCallback () | |
| virtual | ~SIM_PointForceCallback () |
| virtual void | forceCallback (int ptnum, const UT_Vector3 &force, const UT_Vector3 &torque)=0 |
Definition at line 31 of file SIM_Force.h.
| SIM_PointForceCallback::SIM_PointForceCallback | ( | ) | [inline] |
Definition at line 34 of file SIM_Force.h.
| virtual SIM_PointForceCallback::~SIM_PointForceCallback | ( | ) | [inline, virtual] |
Definition at line 36 of file SIM_Force.h.
| virtual void SIM_PointForceCallback::forceCallback | ( | int | ptnum, | |
| const UT_Vector3 & | force, | |||
| const UT_Vector3 & | torque | |||
| ) | [pure 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.
Implemented in HDK_Sample::SIM_HairForceCallback.
1.5.9