1 #ifndef ODEHINGEJOINT_H 2 #define ODEHINGEJOINT_H 7 #include "ode_includes.h" 26 INLINE
void set_anchor(dReal x, dReal y, dReal z);
27 INLINE
void set_anchor(
const LVecBase3f &anchor);
28 INLINE
void set_anchor_delta(dReal x, dReal y, dReal z, dReal ax, dReal ay, dReal az);
30 INLINE
void set_axis(dReal x, dReal y, dReal z);
32 INLINE
void add_torque(dReal torque);
37 INLINE dReal get_angle()
const;
38 INLINE dReal get_angle_rate()
const;
40 INLINE
void set_param_lo_stop(dReal val);
41 INLINE
void set_param_hi_stop(dReal val);
42 INLINE
void set_param_vel(dReal val);
43 INLINE
void set_param_f_max(dReal val);
44 INLINE
void set_param_fudge_factor(dReal val);
45 INLINE
void set_param_bounce(dReal val);
46 INLINE
void set_param_CFM(dReal val);
47 INLINE
void set_param_stop_ERP(dReal val);
48 INLINE
void set_param_stop_CFM(dReal val);
50 INLINE dReal get_param_lo_stop()
const;
51 INLINE dReal get_param_hi_stop()
const;
52 INLINE dReal get_param_vel()
const;
53 INLINE dReal get_param_f_max()
const;
54 INLINE dReal get_param_fudge_factor()
const;
55 INLINE dReal get_param_bounce()
const;
56 INLINE dReal get_param_CFM()
const;
57 INLINE dReal get_param_stop_ERP()
const;
58 INLINE dReal get_param_stop_CFM()
const;
64 static void init_type() {
65 OdeJoint::init_type();
66 register_type(_type_handle,
"OdeHingeJoint",
67 OdeJoint::get_class_type());
70 return get_class_type();
72 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
78 #include "odeHingeJoint.I"
This is the base class for all three-component vectors and points.
TypeHandle is the identifier used to differentiate C++ class types.