Signals | Public Member Functions | Protected Member Functions | List of all members
gazebo::gui::JointInspector Class Reference

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

#include <JointInspector.hh>

Inheritance diagram for gazebo::gui::JointInspector:
Inheritance graph
[legend]

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

gazebo::gui::JointInspector::JointInspector ( JointMaker _jointMaker,
QWidget *  _parent = 0 
)

Constructor.

Parameters
[in]_jointMakerPointer to joint maker.
[in]_parentParent QWidget.
gazebo::gui::JointInspector::~JointInspector ( )

Destructor.

Member Function Documentation

void gazebo::gui::JointInspector::Applied ( )
signal

Qt signal emitted to indicate that changes should be applied.

msgs::Joint* gazebo::gui::JointInspector::Data ( ) const

Get the msg containing all joint data.

Returns
Joint msg.
virtual void gazebo::gui::JointInspector::enterEvent ( QEvent *  _event)
protectedvirtual

Qt event emiited when the mouse enters this widget.

Parameters
[in]_eventQt event.
void gazebo::gui::JointInspector::Open ( )

Open the inspector.

void gazebo::gui::JointInspector::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 gazebo::gui::JointInspector::SetPose ( const ignition::math::Pose3d &  _pose)

Set the pose of the joint.

Parameters
[in]_posePose to set the joint to.
void gazebo::gui::JointInspector::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: