15 #ifndef ODESLIDERJOINT_H 16 #define ODESLIDERJOINT_H 39 INLINE
void set_axis(dReal x, dReal y, dReal z);
40 INLINE
void set_axis(
const LVecBase3f &axis);
41 INLINE
void set_axis_delta(dReal x, dReal y, dReal z, dReal ax, dReal ay, dReal az);
42 INLINE
void set_axis_delta(
const LVecBase3f &axis,
const LVecBase3f &vec);
43 INLINE
void add_force(dReal force);
45 INLINE dReal get_position()
const;
46 INLINE dReal get_position_rate()
const;
47 INLINE LVecBase3f get_axis()
const;
49 INLINE
void set_param_lo_stop(dReal val);
50 INLINE
void set_param_hi_stop(dReal val);
51 INLINE
void set_param_vel(dReal val);
52 INLINE
void set_param_f_max(dReal val);
53 INLINE
void set_param_fudge_factor(dReal val);
54 INLINE
void set_param_bounce(dReal val);
55 INLINE
void set_param_CFM(dReal val);
56 INLINE
void set_param_stop_ERP(dReal val);
57 INLINE
void set_param_stop_CFM(dReal val);
59 INLINE dReal get_param_lo_stop()
const;
60 INLINE dReal get_param_hi_stop()
const;
61 INLINE dReal get_param_vel()
const;
62 INLINE dReal get_param_f_max()
const;
63 INLINE dReal get_param_fudge_factor()
const;
64 INLINE dReal get_param_bounce()
const;
65 INLINE dReal get_param_CFM()
const;
66 INLINE dReal get_param_stop_ERP()
const;
67 INLINE dReal get_param_stop_CFM()
const;
73 static void init_type() {
74 OdeJoint::init_type();
76 OdeJoint::get_class_type());
79 return get_class_type();
81 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.