#include <component2.h>
Inheritance diagram for UniversalMotorComponent:
a motor wrapper.
must be attached to one of the 2 axis of a universal joint
Definition at line 263 of file component2.h.
Public Member Functions | |
UniversalMotorComponent (dJointID _joint_id, char _axis) | |
void | set_angular_velocity (dReal angular_velocity) |
dReal | get_angular_velocity () const |
unsigned | expose_wires (WireContainer &out_r_wire_container) |
void | draw () const |
bool | collision_callback (OdeHandle *p_ode_handle, dGeomID geom_id_0, dGeomID geom_id_1) const |
virtual paramlist | getParamList () const |
virtual paramval | getParam (const paramkey &key) const |
virtual bool | setParam (const paramkey &key, paramval val) |
Protected Attributes | |
char | axis |
MotorWire | wire |
bool | param_show_axis |
|
Definition at line 244 of file component.cpp. |
|
Definition at line 408 of file component.cpp. |
|
Definition at line 333 of file component.cpp. |
|
Reimplemented from AbstractComponent. Definition at line 323 of file component.cpp. |
|
Implements AbstractMotorComponent. Definition at line 309 of file component.cpp. |
|
Reimplemented from AbstractComponent. Definition at line 271 of file component.cpp. |
|
Reimplemented from AbstractComponent. Definition at line 260 of file component.cpp. |
|
Implements AbstractMotorComponent. Definition at line 292 of file component.cpp. |
|
Reimplemented from AbstractComponent. Definition at line 280 of file component.cpp. |
|
Definition at line 265 of file component2.h. |
|
Definition at line 269 of file component2.h. |
|
Definition at line 267 of file component2.h. |