/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bwm/ |
H A D | bwm_observer_proj_cam.cxx | 22 read_camera(std::string cam_path, std::string subtype, in read_camera() argument 25 std::string ext = vul_file_extension(cam_path); in read_camera() 32 vsl_b_ifstream bp_in(cam_path.c_str()); in read_camera() 48 bwm_io_kml_camera::read_camera(cam_path, right_fov, top_fov, in read_camera() 62 std::ifstream cam_stream(cam_path.data()); in read_camera() 83 std::ifstream cam_stream(cam_path.data()); in read_camera() 95 std::string& cam_path, in bwm_observer_proj_cam() argument 117 if (subtype!="identity"&&cam_path.size() == 0) in bwm_observer_proj_cam() 122 this->set_camera_path(cam_path); in bwm_observer_proj_cam() 126 camera_ = bwm_observer_proj_cam::read_camera(cam_path,subtype, in bwm_observer_proj_cam() [all …]
|
H A D | bwm_tableau_factory.cxx | 43 cam_tab->img_path, cam_tab->cam_path, cam_tab->cam_type, false); in create_tableau() 45 if (t->name == "") t->name = cam_tab->cam_path; in create_tableau() 52 cam_tab->img_path, cam_tab->cam_path, false); in create_tableau() 54 if (t->name == "") t->name = cam_tab->cam_path; in create_tableau() 61 … cam_tab->img_path, cam_tab->cam_path, cam_tab->cam_type, false); in create_tableau() 63 if (t->name == "") t->name = cam_tab->cam_path; in create_tableau() 71 cam_tab->img_path, cam_tab->cam_path, cam_tab->cam_type, false); in create_tableau() 73 if (t->name == "") t->name = cam_tab->cam_path; in create_tableau()
|
H A D | bwm_observer_generic_cam.cxx | 23 std::string& cam_path, in bwm_observer_generic_cam() argument 44 if (cam_path.size() == 0) in bwm_observer_generic_cam() 49 this->set_camera_path(cam_path); in bwm_observer_generic_cam() 52 bwm_observer_proj_cam::read_camera(cam_path, "perspective", ni, nj); in bwm_observer_generic_cam() 54 cam = bwm_observer_proj_cam::read_camera(cam_path, "projective", ni, nj); in bwm_observer_generic_cam() 56 cam = bwm_observer_rat_cam::read_camera(cam_path, local); in bwm_observer_generic_cam() 67 name = cam_path; in bwm_observer_generic_cam()
|
H A D | bwm_observer_proj_cam.h | 23 std::string& cam_path, 36 void set_camera(vpgl_proj_camera<double> *camera, std::string cam_path) in set_camera() argument 37 { bwm_observer_cam::set_camera(camera, cam_path);} in set_camera() 51 read_camera(std::string cam_path, std::string subtype, unsigned ni = 0,
|
H A D | bwm_tableau_proj_cam.cxx | 27 std::string cam_path = my_observer_->camera_path(); in save_camera() local 32 std::string new_cam_path = vul_file::strip_extension(cam_path); in save_camera() 40 new_cam_path += "_v" + str + vul_file::extension(cam_path); in save_camera() 62 return cam_path; in save_camera()
|
H A D | bwm_observer_rat_cam.h | 31 std::string& cam_path, 44 void set_camera(vpgl_rational_camera<double> *camera, std::string cam_path) in set_camera() argument 45 { camera_ = camera; bwm_observer_cam::set_camera(camera, cam_path);} in set_camera() 49 static vpgl_camera<double>* read_camera(std::string cam_path,
|
H A D | bwm_tableau_rat_cam.cxx | 72 std::string cam_path = my_observer_->camera_path(); in save_camera() local 77 std::string new_cam_path = vul_file::strip_extension(cam_path); in save_camera() 85 new_cam_path += "_v" + str + vul_file::extension(cam_path); in save_camera() 96 return cam_path; in save_camera()
|
H A D | bwm_observer_generic_cam.h | 27 std::string& cam_path, 39 void set_camera(vpgl_generic_camera<double> *camera, std::string cam_path) in set_camera() argument 40 { bwm_observer_cam::set_camera(camera, cam_path);} in set_camera()
|
H A D | bwm_observer_cam.h | 42 …observer_cam(bgui_image_tableau_sptr const& img, vpgl_camera<double> *camera, std::string cam_path) in bwm_observer_cam() argument 44 camera_(camera), cam_path_(cam_path), cam_adjusted_(false), in bwm_observer_cam() 62 void set_camera_path(std::string const& cam_path) { cam_path_=cam_path; } in set_camera_path() argument 68 void set_camera(vpgl_camera<double> *camera, std::string cam_path) in set_camera() argument 69 { camera_ = camera; cam_path_ = cam_path; cam_adjusted_ = false; } in set_camera()
|
H A D | bwm_tableau_generic_cam.cxx | 27 std::string cam_path = my_observer_->camera_path(); in save_camera() local 28 return cam_path; in save_camera()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bpro/core/vpgl_pro/processes/ |
H A D | vpgl_correct_rational_cameras_multi_corr_process.cxx | 72 std::string cam_path; in vpgl_correct_rational_cameras_mult_corr_process() local 73 ifs >> cam_path; in vpgl_correct_rational_cameras_mult_corr_process() 74 if (cam_path.size() < 2) continue; in vpgl_correct_rational_cameras_mult_corr_process() 75 std::cout << "reading cam: " << cam_path << std::endl; in vpgl_correct_rational_cameras_mult_corr_process() 76 std::string img_name = vul_file::strip_directory(cam_path); in vpgl_correct_rational_cameras_mult_corr_process() 80 vpgl_rational_camera<double> *ratcam = read_rational_camera<double>(cam_path); in vpgl_correct_rational_cameras_mult_corr_process() 175 std::string cam_path; in vpgl_correct_rational_cameras_mult_corr_refine_process() local 176 ifs >> cam_path; in vpgl_correct_rational_cameras_mult_corr_refine_process() 177 if (cam_path.size() < 2) continue; in vpgl_correct_rational_cameras_mult_corr_refine_process() 178 std::cout << "reading cam: " << cam_path << std::endl; in vpgl_correct_rational_cameras_mult_corr_refine_process() [all …]
|
H A D | vpgl_correct_rational_cameras_process.cxx | 71 std::string cam_path, orig_cam_path; in vpgl_correct_rational_cameras_process() local 72 line >> cam_path; in vpgl_correct_rational_cameras_process() 73 if (cam_path.size() < 2) continue; in vpgl_correct_rational_cameras_process() 77 std::cout << "reading cam: " << cam_path << '\n' in vpgl_correct_rational_cameras_process() 79 std::string img_name = vul_file::strip_directory(cam_path); in vpgl_correct_rational_cameras_process() 85 vpgl_local_rational_camera<double> *ratcam = read_local_rational_camera<double>(cam_path); in vpgl_correct_rational_cameras_process() 88 vpgl_rational_camera<double> *ratcam2 = read_rational_camera<double>(cam_path); in vpgl_correct_rational_cameras_process() 90 std::cerr << "Failed to load rational camera from file" << cam_path << '\n'; in vpgl_correct_rational_cameras_process() 97 vpgl_rational_camera<double> *ratcam2 = read_rational_camera<double>(cam_path); in vpgl_correct_rational_cameras_process()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bwm/io/ |
H A D | bwm_io_structs.h | 81 cam_path(c_path), cam_type(c_type) {} in bwm_io_tab_config() 84 : bwm_io_tab_config(t), img_path(t.img_path), cam_path(t.cam_path), cam_type(t.cam_type) {} in bwm_io_tab_config_cam() 86 …bwm_io_tab_config_cam* clone() {return new bwm_io_tab_config_cam(name, status, img_path, cam_path,… in clone() 88 std::string cam_path; member 110 : bwm_io_tab_config(COIN3D_TABLEAU_TAG, name, status), cam_path(c_path), cam_type(c_type) {} in bwm_io_tab_config_coin3d() 112 …bwm_io_tab_config_coin3d* clone() {return new bwm_io_tab_config_coin3d(name, status, cam_path, cam… in clone() 113 std::string cam_path; member 121 : bwm_io_tab_config(PROJ2D_TABLEAU_TAG, name, status), cam_path(c_path), in bwm_io_tab_config_proj2d() 124 …lone() { return new bwm_io_tab_config_proj2d(name, status, proj2d_type, cam_path, cam_type, coin3d… in clone() 125 std::string cam_path; member
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/vecf/ocl/tests/ |
H A D | test_transform.cxx | 66 std::string cam_path = base_dir_path + "putin_small_cam.txt"; in test_transform() 68 std::ifstream ist(cam_path.c_str()); in test_transform() 83 std::string cam_path = base_dir_path + "putin_small_cam.txt"; in test_transform() 84 std::ifstream ist(cam_path.c_str()); in test_transform() 99 std::string cam_path = base_dir_path + "putin_small_cam.txt"; in test_transform() 100 std::ifstream ist(cam_path.c_str()); in test_transform()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bwm/exe/ |
H A D | bwm_3d_fixed_transform.cxx | 76 std::string cam_path = ""; in main() local 91 if (cam_path.compare("") != 0) { in main() 92 if (cam_path.compare(cp.camera_path()) != 0) { in main() 97 cam_path = cp.camera_path(); in main() 125 std::cout << "cam_path from site files: " << cam_path << std::endl; in main() 129 bwm_video_cam_istream_sptr cstr = new bwm_video_cam_istream(cam_path); in main()
|
H A D | bwm_compute_orientation_variance.cxx | 73 std::string cam_path = ""; in main() local 88 if (cam_path.compare("") != 0) { in main() 89 if (cam_path.compare(cp.camera_path()) != 0) { in main() 94 cam_path = cp.camera_path(); in main() 100 std::cout << "cam_path from site files: " << cam_path << std::endl; in main() 104 bwm_video_cam_istream_sptr cstr = new bwm_video_cam_istream(cam_path); in main()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bpro/core/icam_pro/processes/ |
H A D | icam_create_view_sphere_process.cxx | 99 std::stringstream cam_path; in icam_create_view_sphere_process() local 100 cam_path << "camera" << uid << ".txt"; in icam_create_view_sphere_process() 101 std::ofstream ofs(cam_path.str().c_str()); in icam_create_view_sphere_process() 109 file << uid << ' ' << cam_path.str() << std::endl; in icam_create_view_sphere_process()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bpgl/ |
H A D | bpgl_segmented_rolling_shutter_camera.hxx | 121 bool bpgl_segmented_rolling_shutter_camera<T>::save(std::string cam_path) in save() argument 124 file_out.open(cam_path.c_str()); in save() 126 std::cerr << "error: bad filename: " << cam_path << std::endl; in save() 152 …gl_segmented_rolling_shutter_camera<T>* read_segmented_rolling_shutter_camera(std::string cam_path) in read_segmented_rolling_shutter_camera() argument
|
H A D | bpgl_comp_rational_camera.hxx | 73 bpgl_comp_rational_camera<T>::bpgl_comp_rational_camera(std::string cam_path) in bpgl_comp_rational_camera() argument 75 vpgl_rational_camera<T> *rcam = read_rational_camera<T >(cam_path); in bpgl_comp_rational_camera() 78 file_inp.open(cam_path.c_str()); in bpgl_comp_rational_camera() 80 std::cout << "error: bad filename: " << cam_path << std::endl; in bpgl_comp_rational_camera() 261 bool bpgl_comp_rational_camera<T>::save(std::string cam_path) in save() argument 264 file_out.open(cam_path.c_str()); in save() 266 std::cerr << "error: bad filename: " << cam_path << std::endl; in save()
|
/dports/misc/vxl/vxl-3.3.2/core/vpgl/ |
H A D | vpgl_rational_camera.hxx | 434 std::string cam_path, in save() argument 440 file_out.open(cam_path.c_str()); in save() 442 std::cerr << "error: bad filename: " << cam_path << std::endl; in save() 460 bool vpgl_rational_camera<T>::read_pvl(std::string cam_path) in read_pvl() argument 464 file_inp.open(cam_path.c_str()); in read_pvl() 466 std::cout << "error: bad filename: " << cam_path << std::endl; in read_pvl() 648 bool vpgl_rational_camera<T>::read_txt(std::string cam_path) in read_txt() argument 652 file_inp.open(cam_path.c_str()); in read_txt() 654 std::cout << "error: bad filename: " << cam_path << std::endl; in read_txt() 845 if (!cam.read_pvl(cam_path)) in read_rational_camera() [all …]
|
H A D | vpgl_local_rational_camera.hxx | 195 vpgl_local_rational_camera<T>* read_local_rational_camera(std::string cam_path) in read_local_rational_camera() argument 198 if (!cam.read_pvl(cam_path)) in read_local_rational_camera() 216 vpgl_local_rational_camera<T>* read_local_rational_camera_from_txt(std::string cam_path) in read_local_rational_camera_from_txt() argument 219 if (!cam.read_txt(cam_path)) in read_local_rational_camera_from_txt()
|
H A D | vpgl_rational_camera.h | 360 std::string cam_path, 370 bool read_pvl(std::string cam_path); 374 bool read_txt(std::string cam_path); 399 vpgl_rational_camera<T>* read_rational_camera(std::string cam_path); 409 vpgl_rational_camera<T>* read_rational_camera_from_txt(std::string cam_path);
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/pro/processes/ |
H A D | boxm2_create_camera_position_from_kml.cxx | 59 std::string cam_path = pro.get_input<std::string>(i++); in boxm2_create_camera_from_kml_path_process() local 66 std::FILE* kmlFile = std::fopen(cam_path.c_str(), "r"); in boxm2_create_camera_from_kml_path_process() 68 std::cerr << cam_path.c_str() << " error on opening the input kml file\n"; in boxm2_create_camera_from_kml_path_process()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/betr/pro/processes/ |
H A D | betr_set_event_trigger_data_multi_ref_process.cxx | 87 std::string cam_path = (ref_cam_paths->data_array)[i]; in betr_set_event_trigger_data_multi_ref_process() local 88 vpgl_rational_camera<double>* rcam_ptr = read_rational_camera_from_txt<double>(cam_path); in betr_set_event_trigger_data_multi_ref_process() 90 std::cout << "can't read reference camera from txt file " << cam_path << std::endl; in betr_set_event_trigger_data_multi_ref_process()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bpgl/tests/ |
H A D | test_segmented_rolling_shutter_camera.cxx | 170 std::string cam_path = "cam_path"; in test_segmented_rolling_shutter_camera() 171 std::ofstream os(cam_path.c_str()); in test_segmented_rolling_shutter_camera() 174 std::ifstream is(cam_path.c_str()); in test_segmented_rolling_shutter_camera() 179 vpl_unlink(cam_path.c_str()); in test_segmented_rolling_shutter_camera()
|