15 #ifndef ODEHINGEJOINT_H 16 #define ODEHINGEJOINT_H 39 INLINE
void set_anchor(dReal x, dReal y, dReal z);
40 INLINE
void set_anchor(
const LVecBase3f &anchor);
41 INLINE
void set_anchor_delta(dReal x, dReal y, dReal z, dReal ax, dReal ay, dReal az);
42 INLINE
void set_anchor_delta(
const LVecBase3f &anchor,
const LVecBase3f &vec);
43 INLINE
void set_axis(dReal x, dReal y, dReal z);
44 INLINE
void set_axis(
const LVecBase3f &axis);
45 INLINE
void add_torque(dReal torque);
47 INLINE LVecBase3f get_anchor()
const;
48 INLINE LVecBase3f get_anchor2()
const;
49 INLINE LVecBase3f get_axis()
const;
50 INLINE dReal get_angle()
const;
51 INLINE dReal get_angle_rate()
const;
53 INLINE
void set_param_lo_stop(dReal val);
54 INLINE
void set_param_hi_stop(dReal val);
55 INLINE
void set_param_vel(dReal val);
56 INLINE
void set_param_f_max(dReal val);
57 INLINE
void set_param_fudge_factor(dReal val);
58 INLINE
void set_param_bounce(dReal val);
59 INLINE
void set_param_CFM(dReal val);
60 INLINE
void set_param_stop_ERP(dReal val);
61 INLINE
void set_param_stop_CFM(dReal val);
63 INLINE dReal get_param_lo_stop()
const;
64 INLINE dReal get_param_hi_stop()
const;
65 INLINE dReal get_param_vel()
const;
66 INLINE dReal get_param_f_max()
const;
67 INLINE dReal get_param_fudge_factor()
const;
68 INLINE dReal get_param_bounce()
const;
69 INLINE dReal get_param_CFM()
const;
70 INLINE dReal get_param_stop_ERP()
const;
71 INLINE dReal get_param_stop_CFM()
const;
77 static void init_type() {
78 OdeJoint::init_type();
80 OdeJoint::get_class_type());
83 return get_class_type();
85 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.