1 #ifndef bwm_utils_h_
2 #define bwm_utils_h_
3 
4 #include <iostream>
5 #include <string>
6 #ifdef _MSC_VER
7 #  include <vcl_msvc_warnings.h>
8 #endif
9 #include <vgui/vgui_range_map_params.h>
10 #include <vil/vil_image_resource_sptr.h>
11 
12 class bwm_utils
13 {
14   public:
15     static std::string select_file();
16     static void load_from_txt(std::string filename,
17                               std::string &tab_type, std::string &tab_name,
18                               std::string &img_path, std::string &cam_path,
19                               int &cam_type);
20 
21     static vil_image_resource_sptr load_image(std::string& filename,
22                                               vgui_range_map_params_sptr& rmps);
23 
24     static void show_error(std::string);
25 };
26 
27 #endif
28