Public Types | Public Member Functions | List of all members
gazebo::gui::ApplyWrenchDialog Class Reference

Dialog for applying force and torque to a model. More...

#include <gui/gui.hh>

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

Public Types

enum  Mode { NONE = 0, FORCE = 1, TORQUE = 2 }
 

Public Member Functions

 ApplyWrenchDialog (QWidget *_parent=0)
 Constructor. More...
 
 ~ApplyWrenchDialog ()
 Destructor. More...
 
void Fini ()
 Finish the dialog. More...
 
Mode GetMode () const
 Get the mode, either force, torque or none. More...
 
void Init (const std::string &_modelName, const std::string &_linkName)
 Initiate the dialog. More...
 

Detailed Description

Dialog for applying force and torque to a model.

Member Enumeration Documentation

Enumerator
NONE 

None.

FORCE 

Force.

TORQUE 

Torque.

Constructor & Destructor Documentation

gazebo::gui::ApplyWrenchDialog::ApplyWrenchDialog ( QWidget *  _parent = 0)

Constructor.

Parameters
[in]_parentParent QWidget.
gazebo::gui::ApplyWrenchDialog::~ApplyWrenchDialog ( )

Destructor.

Member Function Documentation

void gazebo::gui::ApplyWrenchDialog::Fini ( )

Finish the dialog.

Mode gazebo::gui::ApplyWrenchDialog::GetMode ( ) const

Get the mode, either force, torque or none.

Returns
Current mode.
void gazebo::gui::ApplyWrenchDialog::Init ( const std::string &  _modelName,
const std::string &  _linkName 
)

Initiate the dialog.

Parameters
[in]_modelNameScoped name of the model.
[in]_linkNameScoped name of a link within the model to which a wrench will be applied. The link might be changed later, but not the model.

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