hpp-gui  4.12.0
Graphical interface for HPP
hpp.gui::JointTreeWidget Class Reference

#include </local/robotpkg/var/tmp/robotpkg/graphics/py-qt-hpp-gui/work/hpp-gui-4.12.0/plugins/hppwidgetsplugin/jointtreewidget.hh>

Inheritance diagram for hpp.gui::JointTreeWidget:
Collaboration diagram for hpp.gui::JointTreeWidget:

Public Slots

void customContextMenu (const QPoint &pos)
 
void selectJoint (const std::string &jointName)
 
QString getSelectedJoint () const
 Get the currently selected joint name. More...
 
void openJointBoundDialog (const std::string jointName)
 
void openJointMoveDialog (const std::string jointName)
 
void moveJoint (hpp::Transform__slice *transform, std::string const &jointName)
 
void reload ()
 Reload the joint in the tree. More...
 

Public Member Functions

 JointTreeWidget (HppWidgetsPlugin *plugin, QWidget *parent=0)
 
virtual ~JointTreeWidget ()
 
void dockWidget (QDockWidget *dock)
 
std::string selectedJoint () const
 Get the currently selected joint. More...
 

Constructor & Destructor Documentation

◆ JointTreeWidget()

hpp.gui::JointTreeWidget::JointTreeWidget ( HppWidgetsPlugin plugin,
QWidget *  parent = 0 
)
explicit

◆ ~JointTreeWidget()

virtual hpp.gui::JointTreeWidget::~JointTreeWidget ( )
virtual

Member Function Documentation

◆ customContextMenu

void hpp.gui::JointTreeWidget::customContextMenu ( const QPoint &  pos)
slot

Display the context menu for a givent joint.

Parameters
pospoistion of the joint in the tree

◆ dockWidget()

void hpp.gui::JointTreeWidget::dockWidget ( QDockWidget *  dock)

Set the dock widget.

Parameters
docknew dock widget

◆ getSelectedJoint

QString hpp.gui::JointTreeWidget::getSelectedJoint ( ) const
slot

Get the currently selected joint name.

◆ moveJoint

void hpp.gui::JointTreeWidget::moveJoint ( hpp::Transform__slice *  transform,
std::string const &  jointName 
)
slot

Call the corba function to move the joint in hpp.

Parameters
transformtransform to apply
jointNamename of the joint

◆ openJointBoundDialog

void hpp.gui::JointTreeWidget::openJointBoundDialog ( const std::string  jointName)
slot

Open a dialog to set a joint bounds.

Parameters
jointNamename of the joint

◆ openJointMoveDialog

void hpp.gui::JointTreeWidget::openJointMoveDialog ( const std::string  jointName)
slot

Open a dialog to move a joint.

Parameters
jointNamename of the joint

◆ reload

void hpp.gui::JointTreeWidget::reload ( )
slot

Reload the joint in the tree.

◆ selectedJoint()

std::string hpp.gui::JointTreeWidget::selectedJoint ( ) const

Get the currently selected joint.

◆ selectJoint

void hpp.gui::JointTreeWidget::selectJoint ( const std::string &  jointName)
slot

select the joint in the tree.

Parameters
jointNamename of the joint selected

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