handeye_calibration_display.h
Go to the documentation of this file.
1 /*********************************************************************
2  * Software License Agreement (BSD License)
3  *
4  * Copyright (c) 2019, Intel Corporation.
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions
9  * are met:
10  *
11  * * Redistributions of source code must retain the above copyright
12  * notice, this list of conditions and the following disclaimer.
13  * * Redistributions in binary form must reproduce the above
14  * copyright notice, this list of conditions and the following
15  * disclaimer in the documentation and/or other materials provided
16  * with the distribution.
17  * * Neither the name of Willow Garage nor the names of its
18  * contributors may be used to endorse or promote products derived
19  * from this software without specific prior written permission.
20  *
21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25  * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
27  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
29  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
31  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32  * POSSIBILITY OF SUCH DAMAGE.
33  *********************************************************************/
34 
35 /* Author: Yu Yan */
36 
37 #pragma once
38 
39 // ros
41 
42 // local
44 
45 #ifndef Q_MOC_RUN
46 #include <ros/ros.h>
47 #include <rviz/display.h>
48 #include <rviz/panel_dock_widget.h>
53 #endif
54 
55 namespace moveit_rviz_plugin
56 {
57 class HandEyeCalibrationDisplay : public rviz::Display
58 {
59  Q_OBJECT
60 public:
61  explicit HandEyeCalibrationDisplay(QWidget* parent = 0);
62  ~HandEyeCalibrationDisplay() override;
63 
64  void load(const rviz::Config& config) override;
65  void save(rviz::Config config) const override;
66 
72 
73 private Q_SLOTS:
74 
75  // ******************************************************************************************
76  // Slot Event Functions
77  // ******************************************************************************************
79  void updateMarkers();
80 
81 protected:
82  void onInitialize() override;
83 
84 private:
86  HandEyeCalibrationFrame* frame_;
87 };
88 
89 } // namespace moveit_rviz_plugin
moveit_rviz_plugin::HandEyeCalibrationDisplay::fov_marker_enabled_property_
rviz::BoolProperty * fov_marker_enabled_property_
Definition: handeye_calibration_display.h:133
moveit_rviz_plugin::HandEyeCalibrationDisplay::fillPlanningGroupNameComboBox
void fillPlanningGroupNameComboBox()
Definition: handeye_calibration_display.cpp:141
rviz::RosTopicProperty
moveit_rviz_plugin::HandEyeCalibrationDisplay::fov_marker_size_property_
rviz::FloatProperty * fov_marker_size_property_
Definition: handeye_calibration_display.h:135
moveit_rviz_plugin::HandEyeCalibrationDisplay::planning_scene_topic_property_
rviz::RosTopicProperty * planning_scene_topic_property_
Definition: handeye_calibration_display.h:132
ros.h
rviz::BoolProperty
rviz::PanelDockWidget
display.h
moveit_rviz_plugin::HandEyeCalibrationDisplay::frame_dock_
rviz::PanelDockWidget * frame_dock_
Definition: handeye_calibration_display.h:149
float_property.h
rviz::Display
rviz::FloatProperty
moveit_rviz_plugin::HandEyeCalibrationDisplay::load
void load(const rviz::Config &config) override
Definition: handeye_calibration_display.cpp:132
handeye_calibration_frame.h
moveit_rviz_plugin::HandEyeCalibrationDisplay::save
void save(rviz::Config config) const override
Definition: handeye_calibration_display.cpp:122
tf_visual_tools.h
rviz::StringProperty
moveit_rviz_plugin::HandEyeCalibrationDisplay::onInitialize
void onInitialize() override
Definition: handeye_calibration_display.cpp:109
moveit_rviz_plugin
moveit_rviz_plugin::HandEyeCalibrationDisplay::HandEyeCalibrationDisplay
HandEyeCalibrationDisplay(QWidget *parent=0)
Definition: handeye_calibration_display.cpp:81
moveit_rviz_plugin::HandEyeCalibrationDisplay::updateMarkers
void updateMarkers()
Definition: handeye_calibration_display.cpp:149
property.h
moveit_rviz_plugin::HandEyeCalibrationDisplay::~HandEyeCalibrationDisplay
~HandEyeCalibrationDisplay() override
Definition: handeye_calibration_display.cpp:103
moveit_rviz_plugin::HandEyeCalibrationDisplay::frame_
HandEyeCalibrationFrame * frame_
Definition: handeye_calibration_display.h:150
moveit_rviz_plugin::HandEyeCalibrationDisplay::fov_marker_alpha_property_
rviz::FloatProperty * fov_marker_alpha_property_
Definition: handeye_calibration_display.h:134
moveit_rviz_plugin::HandEyeCalibrationDisplay::move_group_ns_property_
rviz::StringProperty * move_group_ns_property_
Definition: handeye_calibration_display.h:131
string_property.h
panel_dock_widget.h
rviz::Config
ros_topic_property.h


moveit_calibration_gui
Author(s): Yu Yan
autogenerated on Fri Oct 18 2024 02:14:15