18 #ifndef _GAZEBO_APPLY_WRENCH_DIALOG_HH_
19 #define _GAZEBO_APPLY_WRENCH_DIALOG_HH_
32 class ApplyWrenchDialogPrivate;
67 public:
void Init(
const std::string &_modelName,
68 const std::string &_linkName);
75 public: Mode GetMode()
const;
80 private:
bool SetModel(
const std::string &_modelName);
85 private:
bool SetLink(
const std::string &_linkName);
89 private slots:
void SetLink(
const QString _linkName);
92 private slots:
void OnApplyAll();
95 private slots:
void OnApplyForce();
98 private slots:
void OnApplyTorque();
101 private slots:
void OnCancel();
105 private slots:
void ToggleComRadio(
bool _checked);
109 private slots:
void OnForcePosChanged(
double _value);
113 private slots:
void OnForceMagChanged(
double _magnitude);
117 private slots:
void OnForceChanged(
double _value);
120 private slots:
void OnForceClear();
124 private slots:
void OnTorqueMagChanged(
double _magnitude);
128 private slots:
void OnTorqueChanged(
double _value);
131 private slots:
void OnTorqueClear();
134 private slots:
void OnManipulation();
140 private slots:
bool eventFilter(QObject *_object, QEvent *_event);
144 private slots:
void changeEvent(QEvent *_event);
150 private:
void SetSpinValue(QDoubleSpinBox *_spin,
double _value);
160 const bool _rotatedByMouse =
false);
166 const bool _rotatedByMouse =
false);
170 private:
void OnPreRender();
173 private:
void AttachVisuals();
196 private:
void SetMode(Mode _mode);
211 private:
void SetActive(
bool _active);
214 private:
void ActivateWindow();
Generic description of a mouse event.
Definition: MouseEvent.hh:35
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
#define GZ_GUI_VISIBLE
Definition: system.hh:284
Forward declarations for transport.
Mode
Definition: ApplyWrenchDialog.hh:45
Dialog for applying force and torque to a model.
Definition: ApplyWrenchDialog.hh:39
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
Private data for the ApplyWrenchDialog class.
Definition: ApplyWrenchDialogPrivate.hh:34