HDK
|
This class is used for callbacks from SIM_Force::getPointForces(). More...
#include <SIM_Force.h>
Public Member Functions | |
SIM_PointForceCallback () | |
virtual | ~SIM_PointForceCallback () |
virtual void | forceCallbackOffset (GA_Offset ptoff, const UT_Vector3 &force, const UT_Vector3 &torque)=0 |
This class is used for callbacks from SIM_Force::getPointForces().
Definition at line 25 of file SIM_Force.h.
|
inline |
Definition at line 28 of file SIM_Force.h.
|
inlinevirtual |
Definition at line 30 of file SIM_Force.h.
|
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.