A tab for configuring properties of a link. More...
#include <LinkConfig.hh>
Inherits QWidget.
Public Slots | |
void | RestoreOriginalData () |
Restore the widget's data to how it was when first opened. More... | |
Signals | |
void | Applied () |
Qt signal emitted to indicate that changes should be applied. More... | |
Public Member Functions | |
LinkConfig () | |
Constructor. More... | |
~LinkConfig () | |
Destructor. More... | |
msgs::Link * | GetData () const |
Get the msg containing all link data. More... | |
void | Init () |
Initialize widget. More... | |
const ConfigWidget * | LinkConfigWidget () const |
Get the config widget for the link. More... | |
void | SetInertialPose (const ignition::math::Pose3d &_pose) |
Set the inertial pose of the link. More... | |
void | SetInertiaMatrix (const double _ixx, const double _iyy, const double _izz, const double _ixy, const double _ixz, const double _iyz) |
Set the inertia matrix of the link. More... | |
void | SetMass (const double _mass) |
Set the mass of the link. More... | |
void | SetPose (const ignition::math::Pose3d &_pose) |
Set the pose of the link. More... | |
void | Update (ConstLinkPtr _linkMsg) |
Update the link config widget with a link msg. More... | |
A tab for configuring properties of a link.
LinkConfig | ( | ) |
Constructor.
~LinkConfig | ( | ) |
Destructor.
|
signal |
Qt signal emitted to indicate that changes should be applied.
msgs::Link* GetData | ( | ) | const |
Get the msg containing all link data.
void Init | ( | ) |
Initialize widget.
const ConfigWidget* LinkConfigWidget | ( | ) | const |
Get the config widget for the link.
|
slot |
Restore the widget's data to how it was when first opened.
void SetInertialPose | ( | const ignition::math::Pose3d & | _pose | ) |
Set the inertial pose of the link.
[in] | _pose | Inertial pose to set the link to. |
void SetInertiaMatrix | ( | const double | _ixx, |
const double | _iyy, | ||
const double | _izz, | ||
const double | _ixy, | ||
const double | _ixz, | ||
const double | _iyz | ||
) |
Set the inertia matrix of the link.
[in] | _ixx | X second moment of inertia (MOI) about x axis. |
[in] | _iyy | Y second moment of inertia about y axis. |
[in] | _izz | Z second moment of inertia about z axis. |
[in] | _ixy | XY inertia. |
[in] | _ixz | XZ inertia. |
[in] | _iyz | YZ inertia. |
void SetMass | ( | const double | _mass | ) |
Set the mass of the link.
[in] | _mass | Mass to set the link to. |
void SetPose | ( | const ignition::math::Pose3d & | _pose | ) |
Set the pose of the link.
[in] | _pose | Pose to set the link to. |
void Update | ( | ConstLinkPtr | _linkMsg | ) |
Update the link config widget with a link msg.
[in] | _linkMsg | Link message. |