38 #include <RobotAPI/gui-plugins/GraspCandidateViewer/ui_GraspCandidateViewerWidget.h>
86 return "Grasping.GraspCandidateViewer";
92 _robot = addRobot(
"state robot", VirtualRobot::RobotIO::eStructure);
97 void loadSettings(QSettings* settings)
override;
98 void saveSettings(QSettings* settings)
override;
99 QPointer<QDialog> getConfigDialog(QWidget* parent)
override;
100 void configured()
override;
103 void selected_item_changed();
104 void check_state_changed();
107 void show_entry(entry_gc* e);
112 QTreeWidgetItem* item =
nullptr;
113 std::string provider_name;
114 std::deque<entry_gc> candidates;
119 QTreeWidgetItem* item =
nullptr;
120 grasping::GraspCandidatePtr gc =
nullptr;
121 entry_prov* provider =
nullptr;
125 std::string name()
const
131 mutable std::recursive_mutex _mutex;
132 QPointer<SimpleConfigDialog> _dialog;
133 Ui::GraspCandidateViewerWidget _ui;
135 std::map<std::string, entry_prov> _providers;
136 std::map<QTreeWidgetItem*, entry_gc*> _tree_item_to_gc;