1 #ifndef ODEAMOTORJOINT_H 2 #define ODEAMOTORJOINT_H 5 #include "typedObject.h" 8 #include "ode_includes.h" 27 INLINE
void set_num_axes(
int num);
28 INLINE
void set_axis(
int anum,
int rel, dReal x, dReal y, dReal z);
29 INLINE
void set_axis(
int anum,
int rel,
const LVecBase3f &axis);
30 INLINE
void set_angle(
int anum, dReal angle);
31 INLINE
void set_mode(
int mode);
32 INLINE
void add_torques(dReal torque1, dReal torque2, dReal torque3);
34 INLINE
int get_num_axes()
const;
36 MAKE_SEQ(get_axes, get_num_axes, get_axis);
37 INLINE
int get_axis_rel(
int anum)
const;
38 INLINE dReal get_angle(
int anum)
const;
39 INLINE dReal get_angle_rate(
int anum)
const;
40 INLINE
int get_mode()
const;
42 INLINE
void set_param_lo_stop(
int axis, dReal val);
43 INLINE
void set_param_hi_stop(
int axis, dReal val);
44 INLINE
void set_param_vel(
int axis, dReal val);
45 INLINE
void set_param_f_max(
int axis, dReal val);
46 INLINE
void set_param_fudge_factor(
int axis, dReal val);
47 INLINE
void set_param_bounce(
int axis, dReal val);
48 INLINE
void set_param_CFM(
int axis, dReal val);
49 INLINE
void set_param_stop_ERP(
int axis, dReal val);
50 INLINE
void set_param_stop_CFM(
int axis, dReal val);
52 INLINE dReal get_param_lo_stop(
int axis)
const;
53 INLINE dReal get_param_hi_stop(
int axis)
const;
54 INLINE dReal get_param_vel(
int axis)
const;
55 INLINE dReal get_param_f_max(
int axis)
const;
56 INLINE dReal get_param_fudge_factor(
int axis)
const;
57 INLINE dReal get_param_bounce(
int axis)
const;
58 INLINE dReal get_param_CFM(
int axis)
const;
59 INLINE dReal get_param_stop_ERP(
int axis)
const;
60 INLINE dReal get_param_stop_CFM(
int axis)
const;
67 static void init_type() {
68 OdeJoint::init_type();
69 register_type(_type_handle,
"OdeAMotorJoint",
70 OdeJoint::get_class_type());
73 return get_class_type();
75 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
81 #include "odeAMotorJoint.I"
This is the base class for all three-component vectors and points.
TypeHandle is the identifier used to differentiate C++ class types.