18 #ifndef _GAZEBO_GUI_LINK_INSPECTOR_HH_
19 #define _GAZEBO_GUI_LINK_INSPECTOR_HH_
24 #include <ignition/math/Vector3.hh>
33 class CollisionConfig;
38 class LinkInspectorPrivate;
53 public:
void SetName(
const std::string &_name);
57 public: std::string Name()
const;
73 public:
void SetLinkId(
const std::string &_id);
80 protected:
virtual void enterEvent(QEvent *_event);
84 private:
double ComputeVolume()
const;
89 private: ignition::math::Vector3d ComputeInertia(
90 const double _mass)
const;
97 Q_SIGNALS:
void Applied();
101 Q_SIGNALS:
void Accepted();
104 private slots:
void OnRemove();
107 private slots:
void OnCancel();
110 private slots:
void OnOK();
113 private slots:
void OnConfigApplied();
117 private slots:
void OnDensityValueChanged(
const double _value);
121 private slots:
void OnMassValueChanged(
const double _value);
126 private slots:
void OnCollisionChanged(
const std::string &_name,
127 const std::string &_type);
130 private slots:
void RestoreOriginalData();
134 private:
void keyPressEvent(QKeyEvent *_event);
138 private:
void closeEvent(QCloseEvent *_event);
142 private: std::unique_ptr<LinkInspectorPrivate> dataPtr;
Definition: LinkInspector.hh:40
A tab for configuring visual properties of a link.
Definition: VisualConfig.hh:68
A tab for configuring properties of a link.
Definition: LinkConfig.hh:38
A tab for configuring collision properties of a link.
Definition: CollisionConfig.hh:77