Public Member Functions | |
OdeHinge2Joint (dJointID id) | |
OdeHinge2Joint (OdeWorld &world, OdeJointGroup &joint_group) | |
OdeHinge2Joint (OdeWorld &world) | |
void | add_torques (dReal torque1, dReal torque2) |
virtual TypeHandle | force_init_type () |
LVecBase3f | get_anchor () const |
LVecBase3f | get_anchor2 () const |
dReal | get_angle1 () const |
dReal | get_angle1_rate () const |
dReal | get_angle2_rate () const |
LVecBase3f | get_axis1 () const |
LVecBase3f | get_axis2 () const |
dReal | get_param_bounce (int axis) const |
dReal | get_param_CFM (int axis) const |
dReal | get_param_f_max (int axis) const |
dReal | get_param_fudge_factor (int axis) const |
dReal | get_param_hi_stop (int axis) const |
dReal | get_param_lo_stop (int axis) const |
dReal | get_param_stop_CFM (int axis) const |
dReal | get_param_stop_ERP (int axis) const |
dReal | get_param_suspension_CFM (int axis) const |
dReal | get_param_suspension_ERP (int axis) const |
dReal | get_param_vel (int axis) const |
virtual TypeHandle | get_type () const |
void | set_anchor (dReal x, dReal y, dReal z) |
void | set_anchor (const LVecBase3f &anchor) |
void | set_axis1 (dReal x, dReal y, dReal z) |
void | set_axis1 (const LVecBase3f &axis) |
void | set_axis2 (dReal x, dReal y, dReal z) |
void | set_axis2 (const LVecBase3f &axis) |
void | set_param_bounce (int axis, dReal val) |
void | set_param_CFM (int axis, dReal val) |
void | set_param_f_max (int axis, dReal val) |
void | set_param_fudge_factor (int axis, dReal val) |
void | set_param_hi_stop (int axis, dReal val) |
void | set_param_lo_stop (int axis, dReal val) |
void | set_param_stop_CFM (int axis, dReal val) |
void | set_param_stop_ERP (int axis, dReal val) |
void | set_param_suspension_CFM (int axis, dReal val) |
void | set_param_suspension_ERP (int axis, dReal val) |
void | set_param_vel (int axis, dReal val) |
![]() | |
OdeJoint (dJointID id) | |
void | attach_bodies (const OdeBody &body1, const OdeBody &body2) |
Attaches two OdeBody objects to this joint. More... | |
void | attach_body (const OdeBody &body, int index) |
Attaches a single OdeBody to this joint at the specified index (0 or 1). More... | |
int | compare_to (const OdeJoint &other) const |
OdeAMotorJoint | convert_to_a_motor () const |
OdeBallJoint | convert_to_ball () const |
OdeContactJoint | convert_to_contact () const |
OdeFixedJoint | convert_to_fixed () const |
OdeHingeJoint | convert_to_hinge () const |
OdeHinge2Joint | convert_to_hinge2 () const |
OdeLMotorJoint | convert_to_l_motor () const |
OdeNullJoint | convert_to_null () const |
OdePlane2dJoint | convert_to_plane2d () const |
OdeSliderJoint | convert_to_slider () const |
OdeUniversalJoint | convert_to_universal () const |
void | destroy () |
void | detach () |
OdeBody | get_body (int index) const |
OdeJointFeedback * | get_feedback () |
dJointID | get_id () const |
Returns the underlying dJointID. More... | |
int | get_joint_type () const |
bool | is_empty () const |
Returns true if the ID is 0, meaning the OdeJoint does not point to a valid joint. More... | |
operator bool () const | |
bool | operator== (const OdeJoint &other) const |
void | set_feedback (OdeJointFeedback *) |
void | set_feedback (bool flag=true) |
virtual void | write (std::ostream &out=std::cout, unsigned int indent=0) const |
![]() | |
TypedObject (const TypedObject ©)=default | |
TypedObject * | as_typed_object () |
Returns the object, upcast (if necessary) to a TypedObject pointer. More... | |
const TypedObject * | as_typed_object () const |
Returns the object, upcast (if necessary) to a TypedObject pointer. More... | |
int | get_best_parent_from_Set (const std::set< int > &) const |
int | get_type_index () const |
Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More... | |
bool | is_exact_type (TypeHandle handle) const |
Returns true if the current object is the indicated type exactly. More... | |
bool | is_of_type (TypeHandle handle) const |
Returns true if the current object is or derives from the indicated type. More... | |
TypedObject & | operator= (const TypedObject ©)=default |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
![]() | |
static TypeHandle | get_class_type () |
static void | init_type () |
![]() | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. More... | |
Friends | |
class | OdeJoint |
Additional Inherited Members | |
![]() | |
enum | JointType { JT_none = 0, JT_ball, JT_hinge, JT_slider, JT_contact, JT_universal, JT_hinge2, JT_fixed, JT_null, JT_a_motor, JT_l_motor, JT_plane2d } |
![]() | |
get_type | |
Definition at line 28 of file odeHinge2Joint.h.