SIM_PointForceCallback Class Reference

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

#include <SIM_Force.h>

Inheritance diagram for SIM_PointForceCallback:

HDK_Sample::SIM_HairForceCallback

List of all members.

Public Member Functions

 SIM_PointForceCallback ()
virtual ~SIM_PointForceCallback ()
virtual void forceCallback (int ptnum, const UT_Vector3 &force, const UT_Vector3 &torque)=0


Detailed Description

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

SIM/SIM_SolverHair.C.

Definition at line 31 of file SIM_Force.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


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

Generated on Mon Jan 28 00:48:53 2013 for HDK by  doxygen 1.5.9