8 #ifndef __SIM_ForceDrag_h__
9 #define __SIM_ForceDrag_h__
75 getForceDragDopDescription());
virtual void getForceSubclass(const SIM_Object &object, const UT_Vector3 &position, const UT_Vector3 &velocity, const UT_Vector3 &angvel, const fpreal mass, UT_Vector3 &force, UT_Vector3 &torque) const
#define DECLARE_STANDARD_GETCASTTOTYPE()
A simple drag force that opposes velocities in the normal direction.
SIM_API const UT_StringHolder torque
#define SIM_NAME_ANGVELOCITY
#define GETSET_DATA_FUNCS_F(DataName, FuncName)
#define SIM_NAME_SAMPLEMODE
#define GETSET_DATA_FUNCS_V3(DataName, FuncName)
#define SIM_NAME_TORQUESCALE
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
virtual void getForceOnCircleSubclass(const SIM_Object &object, const UT_Vector3 &position, const UT_Vector3 &normal, const fpreal radius, const UT_Vector3 &velocity, const UT_Vector3 &angvel, const fpreal mass, UT_Vector3 &force, UT_Vector3 &torque) const
virtual SIM_ForceSample getOptimalForceSamplingSubclass() const
virtual SIM_ForceResolver * getForceResolverSubclass(const SIM_Object &object) const
#define GETSET_DATA_FUNCS_I(DataName, FuncName)
#define SIM_NAME_FORCESCALE
GA_API const UT_StringHolder mass
SIM_API const UT_StringHolder force
#define GET_DATA_FUNC_B(DataName, FuncName)
SIM_API const UT_StringHolder position
virtual void getForceJacobianSubclass(const SIM_Object &object, const UT_Vector3 &position, const UT_Vector3 &velocity, const UT_Vector3 &angvel, const fpreal mass, UT_Matrix &dFdX, UT_Matrix &dFdV) const
#define SIM_NAME_VELOCITY