Dialog for applying force and torque to a model. More...
#include <gui/gui.hh>
Inherits QDialog.
Public Types | |
enum | Mode { NONE = 0 , FORCE = 1 , TORQUE = 2 } |
Public Member Functions | |
ApplyWrenchDialog (QWidget *_parent=0) | |
Constructor. | |
~ApplyWrenchDialog () | |
Destructor. | |
void | Fini () |
Finish the dialog. | |
Mode | GetMode () const |
Get the mode, either force, torque or none. | |
void | Init (const std::string &_modelName, const std::string &_linkName) |
Initiate the dialog. | |
Dialog for applying force and torque to a model.
enum Mode |
|
explicit |
Constructor.
[in] | _parent | Parent QWidget. |
~ApplyWrenchDialog | ( | ) |
Destructor.
void Fini | ( | ) |
Finish the dialog.
Mode GetMode | ( | ) | const |
Get the mode, either force, torque or none.
void Init | ( | const std::string & | _modelName, |
const std::string & | _linkName ) |
Initiate the dialog.
[in] | _modelName | Scoped name of the model. |
[in] | _linkName | Scoped name of a link within the model to which a wrench will be applied. The link might be changed later, but not the model. |