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 ( JointMaker _jointMaker,
QWidget *  _parent = 0 
)

Constructor.

Parameters
[in]_jointMakerPointer to joint maker.
[in]_parentParent QWidget.

Destructor.

Member Function Documentation

void Applied ( )
signal

Qt signal emitted to indicate that changes should be applied.

msgs::Joint* Data ( ) const

Get the msg containing all joint data.

Returns
Joint msg.
virtual void enterEvent ( QEvent *  _event)
protectedvirtual

Qt event emiited when the mouse enters this widget.

Parameters
[in]_eventQt event.
void Open ( )

Open the inspector.

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]_idUnique id.
void SetPose ( const ignition::math::Pose3d &  _pose)

Set the pose of the joint.

Parameters
[in]_posePose to set the joint to.
void Update ( ConstJointPtr  _jointMsg)

Update the joint config widget with a joint msg.

Parameters
[in]_jointMsgJoint message.

The documentation for this class was generated from the following file: