Public Slots | Signals | Public Member Functions | List of all members
gazebo::gui::LinkConfig Class Reference

A tab for configuring properties of a link. More...

#include <LinkConfig.hh>

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

Public Slots

void RestoreOriginalData ()
 Restore the widget's data to how it was when first opened. More...
 

Signals

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

Public Member Functions

 LinkConfig ()
 Constructor. More...
 
 ~LinkConfig ()
 Destructor. More...
 
msgs::Link * GetData () const
 Get the msg containing all link data. More...
 
void Init ()
 Initialize widget. More...
 
const ConfigWidgetLinkConfigWidget () const
 Get the config widget for the link. More...
 
void SetInertialPose (const ignition::math::Pose3d &_pose)
 Set the inertial pose of the link. More...
 
void SetInertiaMatrix (const double _ixx, const double _iyy, const double _izz, const double _ixy, const double _ixz, const double _iyz)
 Set the inertia matrix of the link. More...
 
void SetMass (const double _mass)
 Set the mass of the link. More...
 
void SetPose (const ignition::math::Pose3d &_pose)
 Set the pose of the link. More...
 
void Update (ConstLinkPtr _linkMsg)
 Update the link config widget with a link msg. More...
 

Detailed Description

A tab for configuring properties of a link.

Constructor & Destructor Documentation

gazebo::gui::LinkConfig::LinkConfig ( )

Constructor.

gazebo::gui::LinkConfig::~LinkConfig ( )

Destructor.

Member Function Documentation

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

Qt signal emitted to indicate that changes should be applied.

msgs::Link* gazebo::gui::LinkConfig::GetData ( ) const

Get the msg containing all link data.

Returns
Link msg.
void gazebo::gui::LinkConfig::Init ( )

Initialize widget.

const ConfigWidget* gazebo::gui::LinkConfig::LinkConfigWidget ( ) const

Get the config widget for the link.

Returns
Config widget for the link.
void gazebo::gui::LinkConfig::RestoreOriginalData ( )
slot

Restore the widget's data to how it was when first opened.

void gazebo::gui::LinkConfig::SetInertialPose ( const ignition::math::Pose3d &  _pose)

Set the inertial pose of the link.

Parameters
[in]_poseInertial pose to set the link to.
void gazebo::gui::LinkConfig::SetInertiaMatrix ( const double  _ixx,
const double  _iyy,
const double  _izz,
const double  _ixy,
const double  _ixz,
const double  _iyz 
)

Set the inertia matrix of the link.

Parameters
[in]_ixxX second moment of inertia (MOI) about x axis.
[in]_iyyY second moment of inertia about y axis.
[in]_izzZ second moment of inertia about z axis.
[in]_ixyXY inertia.
[in]_ixzXZ inertia.
[in]_iyzYZ inertia.
void gazebo::gui::LinkConfig::SetMass ( const double  _mass)

Set the mass of the link.

Parameters
[in]_massMass to set the link to.
void gazebo::gui::LinkConfig::SetPose ( const ignition::math::Pose3d &  _pose)

Set the pose of the link.

Parameters
[in]_posePose to set the link to.
void gazebo::gui::LinkConfig::Update ( ConstLinkPtr  _linkMsg)

Update the link config widget with a link msg.

Parameters
[in]_linkMsgLink message.

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