hpp-gui  4.12.0
Graphical interface for HPP
transformconstraintwidget.hh
Go to the documentation of this file.
1 //
2 // Copyright (c) CNRS
3 // Author: Heidy Dallard
4 //
5 
6 #ifndef HPP_GUI_TRANSFORMCONSTRAINTWIDGET_HH
7 #define HPP_GUI_TRANSFORMCONSTRAINTWIDGET_HH
8 
9 #include <QWidget>
10 
12 
13 namespace Ui {
14 class TransformConstraintWidget;
15 }
16 
17 namespace hpp {
18  namespace gui {
19  class TransformConstraintWidget : public QWidget
20  {
21  Q_OBJECT
22 
23  public:
24  explicit TransformConstraintWidget(QString const& firstJoint, QString const& secondJoint,
25  bool doPosition = true, bool doOrientation = true,
26  bool isPositionConstraint = false,
27  QWidget *parent = 0);
29 
30  signals:
31  void finished(std::pair<QVector<double>, QVector<bool> > result);
32 
33  private slots:
34  void onClick();
35 
36  private:
37  Ui::TransformConstraintWidget *ui;
38  bool positionEnabled_;
39  bool orientationEnabled_;
40  bool isPositionConstraint_;
41  int length_;
42  };
43  } // namespace gui
44 } // namespace hpp
45 
46 #endif // HPP_GUI_TRANSFORMCONSTRAINTWIDGET_HH
Definition: transformconstraintwidget.hh:19
namespace that encapsulate all the softwares of humanoid-path-planner
Definition: __init__.py:1
Definition: configurationlistwidget.hh:20