1 #ifndef ODESLIDERJOINT_H 2 #define ODESLIDERJOINT_H 7 #include "ode_includes.h" 26 INLINE
void set_axis(dReal x, dReal y, dReal z);
28 INLINE
void set_axis_delta(dReal x, dReal y, dReal z, dReal ax, dReal ay, dReal az);
30 INLINE
void add_force(dReal force);
32 INLINE dReal get_position()
const;
33 INLINE dReal get_position_rate()
const;
36 INLINE
void set_param_lo_stop(dReal val);
37 INLINE
void set_param_hi_stop(dReal val);
38 INLINE
void set_param_vel(dReal val);
39 INLINE
void set_param_f_max(dReal val);
40 INLINE
void set_param_fudge_factor(dReal val);
41 INLINE
void set_param_bounce(dReal val);
42 INLINE
void set_param_CFM(dReal val);
43 INLINE
void set_param_stop_ERP(dReal val);
44 INLINE
void set_param_stop_CFM(dReal val);
46 INLINE dReal get_param_lo_stop()
const;
47 INLINE dReal get_param_hi_stop()
const;
48 INLINE dReal get_param_vel()
const;
49 INLINE dReal get_param_f_max()
const;
50 INLINE dReal get_param_fudge_factor()
const;
51 INLINE dReal get_param_bounce()
const;
52 INLINE dReal get_param_CFM()
const;
53 INLINE dReal get_param_stop_ERP()
const;
54 INLINE dReal get_param_stop_CFM()
const;
60 static void init_type() {
61 OdeJoint::init_type();
62 register_type(_type_handle,
"OdeSliderJoint",
63 OdeJoint::get_class_type());
66 return get_class_type();
68 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
74 #include "odeSliderJoint.I"
This is the base class for all three-component vectors and points.
TypeHandle is the identifier used to differentiate C++ class types.