18 #ifndef _GAZEBO_GUI_JOINT_INSPECTOR_HH_
19 #define _GAZEBO_GUI_JOINT_INSPECTOR_HH_
24 #include <ignition/math/Pose3.hh>
25 #include <ignition/math/Vector3.hh>
38 class JointInspectorPrivate;
56 public:
void Update(ConstJointPtr _jointMsg);
60 public: msgs::Joint *Data()
const;
64 public:
void SetPose(
const ignition::math::Pose3d &_pose);
72 public:
void SetJointId(
const std::string &_id);
76 protected:
virtual void enterEvent(QEvent *_event);
82 private slots:
void OnEnumChanged(
const QString &_name,
83 const QString &_value);
89 private slots:
void OnPoseChanged(
const QString &_name,
90 const ignition::math::Pose3d &_value);
96 private slots:
void OnVector3dChanged(
const QString &_name,
97 const ignition::math::Vector3d &_value);
103 private slots:
void OnStringChanged(
const QString &_name,
104 const std::string &_value);
108 private:
void OnJointTypeChanged(
const QString &_value);
112 private:
void OnLinksChanged(
const QString &_linkName =
"");
115 private slots:
void OnSwap();
119 private slots:
void OnLinkInserted(
const std::string &_linkName);
123 private slots:
void OnLinkRemoved(
const std::string &_linkName);
126 Q_SIGNALS:
void Applied();
129 private slots:
void OnRemove();
132 private slots:
void OnCancel();
135 private slots:
void OnOK();
138 private slots:
void RestoreOriginalData();
142 private:
void keyPressEvent(QKeyEvent *_event);
146 private:
bool CheckValid();
150 private:
void closeEvent(QCloseEvent *_event);
154 private: std::unique_ptr<JointInspectorPrivate> dataPtr;
Handles the creation of joints in the model editor.
Definition: JointMaker.hh:78
A class to inspect and modify joints.
Definition: JointInspector.hh:42