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]_jointMakerPointer to joint maker.
[in]_parentParent QWidget.

§ ~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)
protectedvirtual

Qt event emiited when the mouse enters this widget.

Parameters
[in]_eventQt 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]_idUnique id.

§ SetPose()

void SetPose ( const ignition::math::Pose3d &  _pose)

Set the pose of the joint.

Parameters
[in]_posePose to set the joint to.

§ Update()

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: