23 #ifndef __PLUGINS_BUMBLEBEE2_CALIB_BB2CALIB_H_ 24 #define __PLUGINS_BUMBLEBEE2_CALIB_BB2CALIB_H_ 26 #include <gui_utils/connection_dispatcher.h> 33 class InterfaceDispatcher;
34 class OpenCVStereoParamsInterface;
45 const Glib::RefPtr<Gtk::Builder> &builder);
49 void on_connection_clicked();
52 void on_exit_clicked();
54 void on_pre_filter_type_changed();
55 void on_pre_filter_size_changed();
56 void on_pre_filter_cap_changed();
57 void on_sad_window_size_changed();
58 void on_min_disparity_changed();
59 void on_num_disparities_changed();
60 void on_texture_threshold_changed();
61 void on_uniqueness_ratio_changed();
62 void on_speckle_window_size_changed();
63 void on_speckle_range_changed();
64 void on_try_smaller_windows_toggled();
66 void update_param_values();
68 void dont_destroy(
const guint8 *data);
70 bool convert_str2float(Glib::ustring sn,
float *f);
71 Glib::ustring convert_float2str(
float f,
unsigned int width = 2);
84 unsigned char *buffer_rgb_disparity_;
85 unsigned char *buffer_rgb_rect_left_;
86 sigc::connection sconn_update_images_;
88 Gtk::ComboBox *cmb_pre_filter_type;
89 Gtk::Label *lab_pre_filter_type;
90 Gtk::HScale *hsc_pre_filter_size;
91 Gtk::Label *lab_pre_filter_size;
92 Gtk::HScale *hsc_pre_filter_cap;
93 Gtk::Label *lab_pre_filter_cap;
94 Gtk::HScale *hsc_sad_window_size;
95 Gtk::Label *lab_sad_window_size;
96 Gtk::HScale *hsc_min_disparity;
97 Gtk::Label *lab_min_disparity;
98 Gtk::HScale *hsc_num_disparities;
99 Gtk::Label *lab_num_disparities;
100 Gtk::HScale *hsc_texture_threshold;
101 Gtk::Label *lab_texture_threshold;
102 Gtk::HScale *hsc_uniqueness_ratio;
103 Gtk::Label *lab_uniqueness_ratio;
104 Gtk::HScale *hsc_speckle_window_size;
105 Gtk::Label *lab_speckle_window_size;
106 Gtk::HScale *hsc_speckle_range;
107 Gtk::Label *lab_speckle_range;
108 Gtk::CheckButton *cb_try_smaller_windows;
109 Gtk::Label *lab_try_smaller_windows;
110 Gtk::ToolButton *tb_connection;
111 Gtk::ToolButton *tb_exit;
112 Gtk::Image *img_left_rectified;
113 Gtk::Image *img_disparity;
114 Gtk::Image *img_writer;
Fawkes library namespace.
Bumblebee2 calibration GUI main window.
OpenCVStereoParamsInterface Fawkes BlackBoard Interface.
The BlackBoard abstract class.
Watches network client events and dispatches them as signals.
Interface listener with dispatcher.