##

JointInspector Class Reference

A class to inspect and modify joints. More...

`#include <JointInspector.hh>`

Inherits QDialog.

## Signals

void | Applied ()
| Qt signal emitted to indicate that changes should be applied. More...

## Public Member Functions

| JointInspector (JointMaker *_jointMaker, QWidget *_parent=0)
| Constructor. More...
| ~JointInspector ()
| Destructor. More...
msgs::Joint * | Data () const
| Get the msg containing all joint data. More...
void | Open ()
| Open the inspector. More...
void | SetJointId (const std::string &_id)
| Set the unique id for the joint this inspector is attached to. More...
void | SetPose (const ignition::math::Pose3d &_pose)
| Set the pose of the joint. More...
void | Update (ConstJointPtr _jointMsg)
| Update the joint config widget with a joint msg. More...

## Protected Member Functions

virtual void | enterEvent (QEvent *_event)
| Qt event emiited when the mouse enters this widget. More...

## Detailed Description

A class to inspect and modify joints.

## Constructor & Destructor Documentation

## JointInspector()

JointInspector | ( | JointMaker * | _jointMaker,
|  | QWidget * | _parent = `0`
| ) |  |

Constructor.

Parameters

  [in] | _jointMaker | Pointer to joint maker.
  [in] | _parent | Parent QWidget.

## ~JointInspector()

~JointInspector | ( |  | ) |

Destructor.

## Member Function Documentation

## Applied

void Applied | ( |  | ) |

signal

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 | ) |

protected virtual

Qt event emiited when the mouse enters this widget.

Parameters

  [in] | _event | Qt event.

## Open()

void Open | ( |  | ) |

Open the inspector.

## 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

  [in] | _id | Unique id.

## 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:

- JointInspector.hh