A class to inspect and modify joints.
More...
#include <JointInspector.hh>
Inherits QDialog.
|
void | Applied () |
| Qt signal emitted to indicate that changes should be applied.
|
|
|
| JointInspector (JointMaker *_jointMaker, QWidget *_parent=0) |
| Constructor.
|
|
| ~JointInspector () |
| Destructor.
|
|
msgs::Joint * | Data () const |
| Get the msg containing all joint data.
|
|
void | Open () |
| Open the inspector.
|
|
void | SetJointId (const std::string &_id) |
| Set the unique id for the joint this inspector is attached to.
|
|
void | SetPose (const ignition::math::Pose3d &_pose) |
| Set the pose of the joint.
|
|
void | Update (ConstJointPtr _jointMsg) |
| Update the joint config widget with a joint msg.
|
|
|
virtual void | enterEvent (QEvent *_event) |
| Qt event emiited when the mouse enters this widget.
|
|
A class to inspect and modify joints.
◆ JointInspector()
Constructor.
- Parameters
-
[in] | _jointMaker | Pointer to joint maker. |
[in] | _parent | Parent QWidget. |
◆ ~JointInspector()
◆ Applied
Qt signal emitted to indicate that changes should be applied.
◆ Data()
msgs::Joint * Data |
( |
| ) |
const |
Get the msg containing all joint data.
- Returns
- Joint msg.
◆ enterEvent()
virtual void enterEvent |
( |
QEvent * | _event | ) |
|
|
protectedvirtual |
Qt event emiited when the mouse enters this widget.
- Parameters
-
◆ Open()
◆ SetJointId()
void SetJointId |
( |
const std::string & | _id | ) |
|
Set the unique id for the joint this inspector is attached to.
The ID might be generated after the inspector.
- Parameters
-
◆ SetPose()
void SetPose |
( |
const ignition::math::Pose3d & | _pose | ) |
|
Set the pose of the joint.
- Parameters
-
[in] | _pose | Pose to set the joint to. |
◆ Update()
void Update |
( |
ConstJointPtr | _jointMsg | ) |
|
Update the joint config widget with a joint msg.
- Parameters
-
[in] | _jointMsg | Joint message. |
The documentation for this class was generated from the following file: