donghong_ding.hpp
Go to the documentation of this file.
1 #ifndef RAM_QT_GUIS_ALGORITHMS_WIDGETS_DONGHONG_DING_HPP
2 #define RAM_QT_GUIS_ALGORITHMS_WIDGETS_DONGHONG_DING_HPP
3 
4 #include <mutex>
5 
7 #include <ram_path_planning/DonghongDingAction.h>
8 #include <ros/package.h>
9 #include <ros/ros.h>
10 #include <rviz/panel.h>
11 
12 #include <QCheckBox>
13 #include <QComboBox>
14 #include <QDialogButtonBox>
15 #include <QFileDialog>
16 #include <QHBoxLayout>
17 #include <QLabel>
18 #include <QLineEdit>
19 #include <QMessageBox>
20 #include <QPushButton>
21 #include <QScrollArea>
22 #include <QSpinBox>
23 #include <QTabWidget>
24 #include <QVBoxLayout>
25 #include <QWidget>
26 
27 namespace ram_qt_guis
28 {
29 class DonghongDingWidget : public QWidget
30 {
31 Q_OBJECT
32  public:
34  virtual ~DonghongDingWidget();
35 
36  void load(const rviz::Config& config);
37  void save(rviz::Config config) const;
38 
39  std::string fillGoal(ram_path_planning::DonghongDingGoal &goal);
40 
41 Q_SIGNALS:
42  void valueChanged();
43 
44 protected Q_SLOTS:
45  void browseFiles();
46  void fileChanged();
47 
48 private:
49  QVBoxLayout *main_layout_;
50 
51  QLineEdit *file_;
53  QSpinBox *number_of_layers_;
54  QDoubleSpinBox *height_between_layers_;
55  QDoubleSpinBox *deposited_material_width_;
57 
59  QDoubleSpinBox *slicing_direction_x_;
60  QDoubleSpinBox *slicing_direction_y_;
61  QDoubleSpinBox *slicing_direction_z_;
62 
63  std::string fileExtension(const std::string full_path);
64 
68 
69  const double default_slicing_direction_x_ = 0;
70  const double default_slicing_direction_y_ = 0;
71  const double default_slicing_direction_z_ = 1;
72 
73 };
74 
75 }
76 
77 #endif
QDoubleSpinBox * height_between_layers_
void load(const rviz::Config &config)
config
const double default_contours_filtering_tolerance_
QDoubleSpinBox * slicing_direction_z_
QDoubleSpinBox * deposited_material_width_
QDoubleSpinBox * contours_filtering_tolerance_
QDoubleSpinBox * slicing_direction_y_
std::string fileExtension(const std::string full_path)
void save(rviz::Config config) const
const double default_deposited_material_width_
QDoubleSpinBox * slicing_direction_x_
std::string fillGoal(ram_path_planning::DonghongDingGoal &goal)


ram_qt_guis
Author(s): Victor Lamoine - Institut Maupertuis
autogenerated on Mon Jun 10 2019 14:50:11