8 #ifndef __SIM_ForceField_h__
9 #define __SIM_ForceField_h__
106 void getAttribOffsets(
const GU_Detail *gdp,
107 const char *forceattribname,
109 const char *torqueattribname,
111 void getPositionTransform(
UT_DMatrix4 &xform)
const;
112 void getPositionInverseTransform(
UT_DMatrix4 &ixform)
const;
120 getForceFieldDopDescription());
122 friend class SIM_ForceResolverField;
#define SIM_NAME_TORQUEATTRIBNAME
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()
#define GETSET_DATA_FUNCS_B(DataName, FuncName)
#define SIM_NAME_MAXDISTANCE
#define GETSET_DATA_FUNCS_S(DataName, FuncName)
SIM_API const UT_StringHolder torque
#define GETSET_DATA_FUNCS_F(DataName, FuncName)
#define SIM_NAME_SAMPLEMODE
virtual void buildGuideGeometrySubclass(const SIM_RootData &root, const SIM_Options &options, const GU_DetailHandle &gdh, UT_DMatrix4 *xform, const SIM_Time &t) const
#define SIM_NAME_TORQUESCALE
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
GA_API const UT_StringHolder scale
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_USEMAXDISTANCE
#define SIM_NAME_FORCESCALE
GA_API const UT_StringHolder mass
#define SIM_NAME_FORCEATTRIBNAME
SIM_API const UT_StringHolder force
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_TREATASWIND
virtual SIM_Guide * createGuideObjectSubclass() const