Detect features on meshes. More...
Go to the source code of this file.
Functions | |
vcl_set< unsigned int > | imesh_detect_exterior_faces (const imesh_mesh &mesh, const vgl_vector_3d< double > &dir, unsigned int img_size=1000, vcl_set< unsigned int > *backfacing=NULL) |
Return the set of triangles that are visible from this viewing direction. | |
vcl_set< unsigned int > | imesh_detect_exterior_faces (const imesh_mesh &mesh, unsigned int num_dir_samples=8, unsigned int img_size=1000) |
Return the set of triangles that are visible in some of the many sample view directions. | |
void | imesh_detect_exterior_faces (const imesh_mesh &mesh, vcl_set< unsigned int > &frontfacing, vcl_set< unsigned int > &backfacing, vcl_set< unsigned int > &bifacing, unsigned int num_dir_samples=8, unsigned int img_size=1000) |
Return the set of triangles that are visible in some of the many sample view directions. |
Detect features on meshes.
Modifications <none yet>
Definition in file imesh_detect.h.
vcl_set<unsigned int> imesh_detect_exterior_faces | ( | const imesh_mesh & | mesh, |
const vgl_vector_3d< double > & | dir, | ||
unsigned int | img_size, | ||
vcl_set< unsigned int > * | backfacing | ||
) |
Return the set of triangles that are visible from this viewing direction.
Backfacing triangles are not rendered or counted if backfacing == NULL if backfacing is valid, backfacing exterior triangles are also added to this set
Backfacing triangles are not render or counted if backfacing == NULL If backfacing is valid, backfacing exterior triangles are also added to this set
Definition at line 68 of file imesh_detect.cxx.
vcl_set<unsigned int> imesh_detect_exterior_faces | ( | const imesh_mesh & | mesh, |
unsigned int | num_dir_samples = 8 , |
||
unsigned int | img_size = 1000 |
||
) |
Return the set of triangles that are visible in some of the many sample view directions.
Does NOT render backfacing faces or count them as exterior
Definition at line 170 of file imesh_detect.cxx.
void imesh_detect_exterior_faces | ( | const imesh_mesh & | mesh, |
vcl_set< unsigned int > & | frontfacing, | ||
vcl_set< unsigned int > & | backfacing, | ||
vcl_set< unsigned int > & | bifacing, | ||
unsigned int | num_dir_samples, | ||
unsigned int | img_size | ||
) |
Return the set of triangles that are visible in some of the many sample view directions.
Does render backfacing faces and classifies exterior faces as:
Definition at line 221 of file imesh_detect.cxx.