18#ifndef _GAZEBO_GUI_JOINT_CREATION_DIALOG_HH_
19#define _GAZEBO_GUI_JOINT_CREATION_DIALOG_HH_
24#include <ignition/math/Pose3.hh>
25#include <ignition/math/Vector3.hh>
37 class JointCreationDialogPrivate;
49 QWidget *_parent = 0);
63 private slots:
void OnLinkFromDialog();
69 private slots:
void OnVector3dFromDialog(
const QString &_name,
70 const ignition::math::Vector3d &_pose);
76 private slots:
void OnPoseFromDialog(
const QString &_name,
77 const ignition::math::Pose3d &_pose);
83 private slots:
void OnEnumChanged(
const QString &_name,
84 const QString &_value);
87 private slots:
void OnResetAll();
91 private slots:
void OnAlign(
const int _int);
95 private slots:
void UncheckAllAlign(
const bool _blockSignals =
false);
99 private slots:
void OnType(
const int _typeInt);
102 private slots:
void OnSwap();
105 private slots:
void OnCancel();
108 private slots:
void OnCreate();
116 public:
void SetChild(
const std::string &_linkName);
119 private:
void CheckLinksValid();
123 private:
bool CheckValid();
129 private:
void OnParentImpl(
const std::string &_linkName);
135 private:
void OnChildImpl(
const std::string &_linkName);
138 private:
void keyPressEvent(QKeyEvent *_event);
142 private: std::unique_ptr<JointCreationDialogPrivate> dataPtr;
gui
Definition KeyEventHandler.hh:29
A class to inspect and modify joints.
Definition JointCreationDialog.hh:42
void UpdateRelativePose(const ignition::math::Pose3d &_pose)
Update the relative pose widget.
void SetParent(const std::string &_linkName)
Event callback when the parent link is chosen in the 3D scene.
~JointCreationDialog()
Destructor.
JointCreationDialog(JointMaker *_jointMaker, QWidget *_parent=0)
Constructor.
void Open(const JointMaker::JointType _type)
Open the dialog.
void SetChild(const std::string &_linkName)
Event callback when the child link is chosen in the 3D scene.
Handles the creation of joints in the model editor.
Definition JointMaker.hh:77
JointType
Definition JointMaker.hh:83
Forward declarations for the common classes.
Definition Animation.hh:27