All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SIM_PointForceCallback Class Referenceabstract

This class is used for callbacks from SIM_Force::getPointForces(). More...

#include <SIM_Force.h>

+ Inheritance diagram for SIM_PointForceCallback:

Public Member Functions

 SIM_PointForceCallback ()
virtual ~SIM_PointForceCallback ()
virtual void forceCallbackOffset (GA_Offset ptoff, const UT_Vector3 &force, const UT_Vector3 &torque)=0

Detailed Description

This class is used for callbacks from SIM_Force::getPointForces().


Definition at line 25 of file SIM_Force.h.

Constructor & Destructor Documentation

SIM_PointForceCallback::SIM_PointForceCallback ( )

Definition at line 28 of file SIM_Force.h.

virtual SIM_PointForceCallback::~SIM_PointForceCallback ( )

Definition at line 30 of file SIM_Force.h.

Member Function Documentation

virtual void SIM_PointForceCallback::forceCallbackOffset ( GA_Offset  ptoff,
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.

The documentation for this class was generated from the following file: