Go to the documentation of this file.00001
00002 #ifndef imesh_detect_h_
00003 #define imesh_detect_h_
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include <imesh/imesh_mesh.h>
00017 #include <vcl_set.h>
00018 #include <vgl/vgl_vector_3d.h>
00019
00020
00021
00022
00023
00024 vcl_set<unsigned int>
00025 imesh_detect_exterior_faces(const imesh_mesh& mesh,
00026 const vgl_vector_3d<double>& dir,
00027 unsigned int img_size = 1000,
00028 vcl_set<unsigned int> *backfacing = NULL);
00029
00030
00031
00032
00033 vcl_set<unsigned int>
00034 imesh_detect_exterior_faces(const imesh_mesh& mesh,
00035 unsigned int num_dir_samples = 8,
00036 unsigned int img_size = 1000);
00037
00038
00039
00040
00041
00042
00043
00044 void
00045 imesh_detect_exterior_faces(const imesh_mesh& mesh,
00046 vcl_set<unsigned int>& frontfacing,
00047 vcl_set<unsigned int>& backfacing,
00048 vcl_set<unsigned int>& bifacing,
00049 unsigned int num_dir_samples = 8,
00050 unsigned int img_size = 1000);
00051
00052 #endif // imesh_detect_h_