18#ifndef _GAZEBO_LINK_CONFIG_HH_
19#define _GAZEBO_LINK_CONFIG_HH_
23#include <ignition/math/Pose3.hh>
51 public:
void Update(ConstLinkPtr _linkMsg);
59 public:
void SetPose(
const ignition::math::Pose3d &_pose);
67 public:
double Mass()
const;
85 const double _izz,
const double _ixy,
const double _ixz,
115 private slots:
void OnDensityValueChanged(
const double _value);
119 private slots:
void OnMassValueChanged(
const double _value);
125 private slots:
void OnPoseChanged(
const QString &_name,
126 const ignition::math::Pose3d &_value);
133 private: msgs::Link originalDataMsg;
gui
Definition KeyEventHandler.hh:29
A tab for configuring properties of a link.
Definition LinkConfig.hh:40
void Init()
Initialize widget.
void SetDensity(const double _density)
Set the density of the link.
void Applied()
Qt signal emitted to indicate that changes should be applied.
virtual ~LinkConfig()
Destructor.
void SetInertialPose(const ignition::math::Pose3d &_pose)
Set the inertial pose of the link.
void Update(ConstLinkPtr _linkMsg)
Update the link config widget with a link msg.
double Density() const
Retrieve current density value.
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 RestoreOriginalData()
Restore the widget's data to how it was when first opened.
void MassValueChanged(const double _value)
Signal emitted when mass changes.
const ConfigWidget * LinkConfigWidget() const
Get the config widget for the link.
void SetMass(const double _mass)
Set the mass of the link.
double Mass() const
Retrieve current mass value.
msgs::Link * GetData() const
Get the msg containing all link data.
void DensityValueChanged(const double _value)
Signal emitted when density changes.
void SetPose(const ignition::math::Pose3d &_pose)
Set the pose of the link.
Forward declarations for the common classes.
Definition Animation.hh:27