#include <bprb/bprb_func_process.h>
#include <vcl_iostream.h>
#include <vcl_sstream.h>
#include <vcl_vector.h>
#include <vcl_string.h>
#include <vcl_ctime.h>
#include <vcl_cstdio.h>
#include <vcl_cassert.h>
#include <vgl/vgl_polygon.h>
#include <vgl/io/vgl_io_polygon.h>
#include <vpl/vpl.h>
#include <vil/vil_image_view.h>
#include <vil/vil_pixel_format.h>
#include <vil/vil_convert.h>
#include <bmdl/bmdl_mesh.h>
#include <imesh/imesh_vertex.h>
#include <imesh/imesh_fileio.h>
#include <imesh/imesh_detection.h>
#include <imesh/imesh_operations.h>
#include <imesh/algo/imesh_operations.h>
#include <vpgl/vpgl_camera.h>
#include <vpgl/file_formats/vpgl_geo_camera.h>
#include <vpgl/vpgl_lvcs_sptr.h>
#include <vpgl/vpgl_lvcs.h>
#include <vul/vul_file.h>
Go to the source code of this file.
Defines | |
#define | WRITEBUFFERSIZE (16384) |
Functions | |
void | update_mesh_coord (imesh_mesh &imesh, vpgl_geo_camera *cam) |
void | generate_kml (vcl_string &kml_filename, imesh_mesh &mesh, vpgl_geo_camera *lidar_cam) |
void | write_kml_collada_wrapper (vcl_ostream &os, const vcl_string &object_name, const vgl_point_3d< double > &lookat, const vgl_point_3d< double > &location, const vgl_point_3d< double > &orientation, const vcl_string &filename) |
Write the KML file for wrapping a COLLADA mesh. | |
void | generate_kml_collada (vcl_string &kmz_dir, imesh_mesh &mesh, vpgl_geo_camera *lidar_cam, unsigned &num_of_buildings) |
bool | generate_mesh (vcl_string fpath_poly, vil_image_view_base_sptr label_img, vil_image_view_base_sptr height_img, vil_image_view_base_sptr ground_img, vcl_string fpath_mesh, vpgl_geo_camera *const lidar_cam, unsigned &num_of_buildings) |
bool | bmdl_generate_mesh_process (bprb_func_process &pro) |
bool | bmdl_generate_mesh_process_cons (bprb_func_process &pro) |
Definition in file bmdl_generate_mesh_process.cxx.
#define WRITEBUFFERSIZE (16384) |
Definition at line 40 of file bmdl_generate_mesh_process.cxx.
bool bmdl_generate_mesh_process | ( | bprb_func_process & | pro | ) |
Definition at line 412 of file bmdl_generate_mesh_process.cxx.
bool bmdl_generate_mesh_process_cons | ( | bprb_func_process & | pro | ) |
Definition at line 452 of file bmdl_generate_mesh_process.cxx.
void generate_kml | ( | vcl_string & | kml_filename, |
imesh_mesh & | mesh, | ||
vpgl_geo_camera * | lidar_cam | ||
) |
Definition at line 59 of file bmdl_generate_mesh_process.cxx.
void generate_kml_collada | ( | vcl_string & | kmz_dir, |
imesh_mesh & | mesh, | ||
vpgl_geo_camera * | lidar_cam, | ||
unsigned & | num_of_buildings | ||
) |
Definition at line 263 of file bmdl_generate_mesh_process.cxx.
bool generate_mesh | ( | vcl_string | fpath_poly, |
vil_image_view_base_sptr | label_img, | ||
vil_image_view_base_sptr | height_img, | ||
vil_image_view_base_sptr | ground_img, | ||
vcl_string | fpath_mesh, | ||
vpgl_geo_camera *const | lidar_cam, | ||
unsigned & | num_of_buildings | ||
) |
Definition at line 348 of file bmdl_generate_mesh_process.cxx.
void update_mesh_coord | ( | imesh_mesh & | imesh, |
vpgl_geo_camera * | cam | ||
) |
Definition at line 43 of file bmdl_generate_mesh_process.cxx.
void write_kml_collada_wrapper | ( | vcl_ostream & | os, |
const vcl_string & | object_name, | ||
const vgl_point_3d< double > & | lookat, | ||
const vgl_point_3d< double > & | location, | ||
const vgl_point_3d< double > & | orientation, | ||
const vcl_string & | filename | ||
) |
Write the KML file for wrapping a COLLADA mesh.
lookat and location are (long,lat,alt) vectors orientation is a (heading,tilt,roll) vector
Definition at line 102 of file bmdl_generate_mesh_process.cxx.