Modifications
<none yet>
Definition in file imesh_operations.h.
#include "imesh_mesh.h"
#include <vcl_set.h>
#include <vgl/vgl_point_3d.h>
Go to the source code of this file.
Functions | |
| vcl_auto_ptr< imesh_regular_face_array< 3 > > | imesh_triangulate (const imesh_face_array_base &faces) |
| Subdivide mesh faces into triangle. | |
| vcl_auto_ptr< imesh_regular_face_array< 3 > > | imesh_triangulate (const imesh_regular_face_array< 4 > &faces) |
| Subdivide quadrilaterals into triangle. | |
| void | imesh_triangulate (imesh_mesh &mesh) |
| Triangulate the faces of the mesh (in place). | |
| void | imesh_quad_subdivide (imesh_mesh &mesh) |
| Subdivide faces into quadrilaterals (in place). | |
| void | imesh_quad_subdivide (imesh_mesh &mesh, const vcl_set< unsigned int > &sel_faces) |
| Subdivide faces into quadrilaterals (in place). | |
| imesh_mesh | imesh_submesh_from_faces (const imesh_mesh &mesh, const vcl_set< unsigned int > &sel_faces) |
| Extract a sub-mesh containing only the faces listed in sel_faces. | |
| void | imesh_flip_faces (imesh_mesh &mesh) |
| Flip the orientation of all mesh faces. | |
| void | imesh_flip_faces (imesh_mesh &mesh, const vcl_set< unsigned int > &sel_faces) |
| Flip the orientation of the selected faces. | |
| imesh_mesh | dual_mesh (const imesh_mesh &mesh) |
| Compute the dual mesh using face centroids for vertices. | |
| bool | contains_point (const imesh_mesh &mesh, vgl_point_3d< double > p) |
| Contains a 3d point in convex polygon. | |
| bool contains_point | ( | const imesh_mesh & | mesh, | |
| vgl_point_3d< double > | p | |||
| ) |
| imesh_mesh dual_mesh | ( | const imesh_mesh & | mesh | ) |
Compute the dual mesh using face centroids for vertices.
Definition at line 428 of file imesh_operations.cxx.
| void imesh_flip_faces | ( | imesh_mesh & | mesh, | |
| const vcl_set< unsigned int > & | sel_faces | |||
| ) |
| void imesh_flip_faces | ( | imesh_mesh & | mesh | ) |
| void imesh_quad_subdivide | ( | imesh_mesh & | mesh, | |
| const vcl_set< unsigned int > & | sel_faces | |||
| ) |
Subdivide faces into quadrilaterals (in place).
Add a vertex at the center of each edge And a vertex at the center of each face Only subdivide the selected faces
Definition at line 224 of file imesh_operations.cxx.
| void imesh_quad_subdivide | ( | imesh_mesh & | mesh | ) |
Subdivide faces into quadrilaterals (in place).
Add a vertex at the center of each edge And a vertex at the center of each face
Definition at line 128 of file imesh_operations.cxx.
| imesh_mesh imesh_submesh_from_faces | ( | const imesh_mesh & | mesh, | |
| const vcl_set< unsigned int > & | sel_faces | |||
| ) |
Extract a sub-mesh containing only the faces listed in sel_faces.
Definition at line 346 of file imesh_operations.cxx.
| void imesh_triangulate | ( | imesh_mesh & | mesh | ) |
| vcl_auto_ptr<imesh_regular_face_array<3> > imesh_triangulate | ( | const imesh_regular_face_array< 4 > & | faces | ) |
| vcl_auto_ptr<imesh_regular_face_array<3> > imesh_triangulate | ( | const imesh_face_array_base & | faces | ) |
1.5.1