15 #ifndef ODELMOTORJOINT_H 16 #define ODELMOTORJOINT_H 39 INLINE
void set_num_axes(
int num);
40 INLINE
void set_axis(
int anum,
int rel, dReal x, dReal y, dReal z);
41 INLINE
void set_axis(
int anum,
int rel,
const LVecBase3f &axis);
42 INLINE
void set_param(
int parameter, dReal value);
44 INLINE
int get_num_axes()
const;
45 INLINE LVecBase3f get_axis(
int anum)
const;
46 MAKE_SEQ(get_axes, get_num_axes, get_axis);
47 INLINE dReal get_param(
int parameter)
const;
53 static void init_type() {
54 OdeJoint::init_type();
56 OdeJoint::get_class_type());
59 return get_class_type();
61 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.