A tab for configuring properties of a link.
More...
#include <LinkConfig.hh>
Inherits QWidget.
|
| void | Applied () |
| | Qt signal emitted to indicate that changes should be applied.
|
| void | DensityValueChanged (const double _value) |
| | Signal emitted when density changes.
|
| void | MassValueChanged (const double _value) |
| | Signal emitted when mass changes.
|
|
| | LinkConfig () |
| | Constructor.
|
| virtual | ~LinkConfig () |
| | Destructor.
|
| double | Density () const |
| | Retrieve current density value.
|
| 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.
|
| double | Mass () const |
| | Retrieve current mass value.
|
| void | SetDensity (const double _density) |
| | Set the density of the link.
|
| void | SetInertialPose (const ignition::math::Pose3d &_pose) |
| | Set the inertial pose of the link.
|
| 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.
|
| void | SetMass (const double _mass) |
| | Set the mass of the link.
|
| void | SetPose (const ignition::math::Pose3d &_pose) |
| | Set the pose of the link.
|
| void | Update (ConstLinkPtr _linkMsg) |
| | Update the link config widget with a link msg.
|
A tab for configuring properties of a link.
◆ LinkConfig()
◆ ~LinkConfig()
◆ Applied
Qt signal emitted to indicate that changes should be applied.
◆ Density()
Retrieve current density value.
- Returns
- The current density.
◆ DensityValueChanged
| void DensityValueChanged |
( |
const double | _value | ) |
|
|
signal |
Signal emitted when density changes.
- Parameters
-
| [in] | _value | The new density. |
◆ GetData()
| msgs::Link * GetData |
( |
| ) |
const |
Get the msg containing all link data.
- Returns
- Link msg.
◆ Init()
◆ LinkConfigWidget()
Get the config widget for the link.
- Returns
- Config widget for the link.
◆ Mass()
Retrieve current mass value.
- Returns
- The current mass.
◆ MassValueChanged
| void MassValueChanged |
( |
const double | _value | ) |
|
|
signal |
Signal emitted when mass changes.
- Parameters
-
◆ RestoreOriginalData
| void RestoreOriginalData |
( |
| ) |
|
|
slot |
Restore the widget's data to how it was when first opened.
◆ SetDensity()
| void SetDensity |
( |
const double | _density | ) |
|
Set the density of the link.
- Parameters
-
| [in] | _density | Density to set the link to. |
◆ SetInertialPose()
| void SetInertialPose |
( |
const ignition::math::Pose3d & | _pose | ) |
|
Set the inertial pose of the link.
- Parameters
-
| [in] | _pose | Inertial pose to set the link to. |
◆ SetInertiaMatrix()
| 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.
- Parameters
-
| [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. |
◆ SetMass()
| void SetMass |
( |
const double | _mass | ) |
|
Set the mass of the link.
- Parameters
-
| [in] | _mass | Mass to set the link to. |
◆ SetPose()
| void SetPose |
( |
const ignition::math::Pose3d & | _pose | ) |
|
Set the pose of the link.
- Parameters
-
| [in] | _pose | Pose to set the link to. |
◆ Update()
| void Update |
( |
ConstLinkPtr | _linkMsg | ) |
|
Update the link config widget with a link msg.
- Parameters
-
| [in] | _linkMsg | Link message. |
The documentation for this class was generated from the following file: