object_fit_operator.h
Go to the documentation of this file.
1 #ifndef OBJECT_FIT_OPERATOR_H
2 #define OBJECT_FIT_OPERATOR_H
3 
4 #ifndef Q_MOC_RUN
5 #include <ros/ros.h>
6 #include <rviz/panel.h>
7 #include <QtGlobal>
8 #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
9 # include <QtWidgets>
10 #else
11 # include <QtGui>
12 #endif
13 #include <QToolButton>
14 #include <QCheckBox>
15 #include <jsk_rviz_plugins/ObjectFitCommand.h>
16 #endif
17 
18 class QLineEdit;
19 class QToolButton;
20 
21 namespace jsk_rviz_plugins
22 {
24  {
25  Q_OBJECT
26  public:
27  ObjectFitOperatorAction( QWidget* parent = 0 );
28 
29  virtual void load( const rviz::Config& config );
30  virtual void save( rviz::Config config ) const;
31 
32  protected Q_SLOTS:
33  void commandFit();
34  void commandNear();
35  void commandOther();
36  void checkBoxChanged(bool state);
37  void publishObjectFitOder(int type);
38 
39  protected:
40  QToolButton* fit_button_;
41  QToolButton* near_button_;
42  QToolButton* other_button_;
43  QCheckBox* check_box_;
44 
45  QHBoxLayout* horizontal_layout1_;
46  QHBoxLayout* horizontal_layout2_;
47  QVBoxLayout* layout;
48  bool reverse_;
49 
52  };
53 }
54 
55 #endif
panel.h
ros::Publisher
jsk_rviz_plugins::ObjectFitOperatorAction::other_button_
QToolButton * other_button_
Definition: object_fit_operator.h:42
rviz::Panel
ros.h
jsk_rviz_plugins::ObjectFitOperatorAction::checkBoxChanged
void checkBoxChanged(bool state)
Definition: object_fit_operator.cpp:66
jsk_rviz_plugins::ObjectFitOperatorAction::nh_
ros::NodeHandle nh_
Definition: object_fit_operator.h:50
jsk_rviz_plugins::ObjectFitOperatorAction::publishObjectFitOder
void publishObjectFitOder(int type)
Definition: object_fit_operator.cpp:91
jsk_rviz_plugins::ObjectFitOperatorAction::load
virtual void load(const rviz::Config &config)
Definition: object_fit_operator.cpp:102
jsk_rviz_plugins::ObjectFitOperatorAction::reverse_
bool reverse_
Definition: object_fit_operator.h:48
jsk_rviz_plugins::ObjectFitOperatorAction
Definition: object_fit_operator.h:23
jsk_rviz_plugins::ObjectFitOperatorAction::commandNear
void commandNear()
Definition: object_fit_operator.cpp:77
jsk_rviz_plugins::ObjectFitOperatorAction::horizontal_layout2_
QHBoxLayout * horizontal_layout2_
Definition: object_fit_operator.h:46
jsk_rviz_plugins::ObjectFitOperatorAction::near_button_
QToolButton * near_button_
Definition: object_fit_operator.h:41
jsk_rviz_plugins::ObjectFitOperatorAction::fit_button_
QToolButton * fit_button_
Definition: object_fit_operator.h:40
jsk_rviz_plugins::ObjectFitOperatorAction::check_box_
QCheckBox * check_box_
Definition: object_fit_operator.h:43
jsk_rviz_plugins::ObjectFitOperatorAction::pub_
ros::Publisher pub_
Definition: object_fit_operator.h:51
contact_state_sample.state
state
Definition: contact_state_sample.py:15
jsk_rviz_plugins::ObjectFitOperatorAction::save
virtual void save(rviz::Config config) const
Definition: object_fit_operator.cpp:97
jsk_rviz_plugins::ObjectFitOperatorAction::horizontal_layout1_
QHBoxLayout * horizontal_layout1_
Definition: object_fit_operator.h:45
jsk_rviz_plugins::ObjectFitOperatorAction::layout
QVBoxLayout * layout
Definition: object_fit_operator.h:47
jsk_rviz_plugins::ObjectFitOperatorAction::commandFit
void commandFit()
Definition: object_fit_operator.cpp:70
config
config
jsk_rviz_plugins
Definition: __init__.py:1
rviz::Config
ros::NodeHandle
jsk_rviz_plugins::ObjectFitOperatorAction::commandOther
void commandOther()
Definition: object_fit_operator.cpp:84
jsk_rviz_plugins::ObjectFitOperatorAction::ObjectFitOperatorAction
ObjectFitOperatorAction(QWidget *parent=0)
Definition: object_fit_operator.cpp:15


jsk_rviz_plugins
Author(s): Kei Okada , Yohei Kakiuchi , Shohei Fujii , Ryohei Ueda
autogenerated on Fri Dec 13 2024 03:49:56