15 ObjectFitOperatorAction::ObjectFitOperatorAction( QWidget* parent )
24 std::string fit_button_name, reverse_fit_button_name, near_button_name, other_button_name;
29 QSize iconSize(150, 150);
31 fit_button_->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
32 fit_button_->setIcon(QIcon(QPixmap(QString(fit_button_name.c_str()))));
37 check_box_ =
new QCheckBox(QString(
"Reverse"));
41 near_button_->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
42 near_button_->setIcon(QIcon(QPixmap(QString(near_button_name.c_str()))));
48 other_button_->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
49 other_button_->setIcon(QIcon(QPixmap(QString(other_button_name.c_str()))));
63 pub_ =
nh_.
advertise<jsk_rviz_plugins::ObjectFitCommand>(
"/object_fit_command", 1 );
92 jsk_rviz_plugins::ObjectFitCommand
msg;