8 #ifndef __RBD_State_h__
9 #define __RBD_State_h__
38 ComputeInertialTensor);
40 ComputeInertialTensorType);
44 InertialTensorStiffness);
63 bool updatelinearvel);
100 static void projectRigidMotion(
130 void constrainAccordingToPositions(
182 bool updatelinearvel =
true);
186 void accumulateGlueImpulse(
fpreal impulse);
190 void decayGlueImpulse(
SIM_Time timestep);
220 void updateInertialTensor();
225 void calculateForceForces(
const RBD_Object *obj,
234 void calculateConstraintForces(
SIM_Object &
object,
243 void calculateImpactForces(
RBD_Object *
object,
247 const char *impactsdataname,
256 void computeCenterOfMassFromSDF(
UT_Vector3 &com,
258 void computeCenterOfMassFromGeometry(
UT_Vector3 &com,
261 void computeInertialTensorFromSDF(
UT_DMatrix3 &tensor,
264 void computeInertialTensorFromGeometry(
UT_DMatrix3 &tensor,
311 getStateDopDescription());
#define RBD_NAME_COMPUTEINERTIALTENSOR
#define DECLARE_STANDARD_GETCASTTOTYPE()
#define RBD_NAME_INHERITVELOCITY
#define GETSET_DATA_FUNCS_B(DataName, FuncName)
GT_API const UT_StringHolder time
#define GETSET_DATA_FUNCS_S(DataName, FuncName)
#define RBD_NAME_GLUEOBJECT
GA_API const UT_StringHolder com
void optionChangedSubclass(const char *name) override
#define GETSET_DATA_FUNCS_F(DataName, FuncName)
#define RBD_NAME_GLUETHRESHOLD
#define GETSET_DATA_FUNCS_M3(DataName, FuncName)
#define RBD_NAME_COMPUTEMASS
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
#define RBD_NAME_ITENSORLOCALINV
This is the default implementation for standard motion data.
#define RBD_NAME_GLUEIMPULSEHALFLIFE
Holds pointers to a number of SIM_Object objects.
#define RBD_NAME_GLUEIMPULSE
#define GETSET_DATA_FUNCS_I(DataName, FuncName)
GLuint const GLchar * name
GA_API const UT_StringHolder orient
#define RBD_NAME_COMPUTECOM
#define GET_DATA_FUNC_M3(DataName, FuncName)
#define GET_DATA_FUNC_F(DataName, FuncName)
GA_API const UT_StringHolder pivot
#define RBD_NAME_INERTIALTENSORSTIFFNESS
#define RBD_NAME_COMPUTEINERTIALTENSORTYPE