hpp-gui  4.14.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  Q_OBJECT
21 
22  public:
23  explicit TransformConstraintWidget(QString const& firstJoint,
24  QString const& secondJoint,
25  bool doPosition = true,
26  bool doOrientation = true,
27  bool isPositionConstraint = false,
28  QWidget* parent = 0);
30 
31  signals:
32  void finished(std::pair<QVector<double>, QVector<bool> > result);
33 
34  private slots:
35  void onClick();
36 
37  private:
38  Ui::TransformConstraintWidget* ui;
39  bool positionEnabled_;
40  bool orientationEnabled_;
41  bool isPositionConstraint_;
42  int length_;
43 };
44 } // namespace gui
45 } // namespace hpp
46 
47 #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:18
TransformConstraintWidget(QString const &firstJoint, QString const &secondJoint, bool doPosition=true, bool doOrientation=true, bool isPositionConstraint=false, QWidget *parent=0)
void finished(std::pair< QVector< double >, QVector< bool > > result)