|
Easy3D 2.6.1
|
Enumerates connected components for a surface mesh. More...
#include <easy3d/algo/surface_mesh_enumerator.h>
Static Public Member Functions | |
| static int | enumerate_connected_components (SurfaceMesh *mesh, SurfaceMesh::VertexProperty< int > id) |
| Enumerates the connected components of a surface mesh from its vertices. | |
| static int | enumerate_connected_components (SurfaceMesh *mesh, SurfaceMesh::FaceProperty< int > id) |
| Enumerates the connected components of a surface mesh from its faces. | |
| static void | propagate_connected_component (SurfaceMesh *mesh, SurfaceMesh::VertexProperty< int > id, SurfaceMesh::Vertex seed, int cur_id) |
| Propagates a connected component of a surface mesh from the seed vertex. | |
| static void | propagate_connected_component (SurfaceMesh *mesh, SurfaceMesh::FaceProperty< int > id, SurfaceMesh::Face seed, int cur_id) |
| Propagates a connected component of a surface mesh from the seed face. | |
| static int | enumerate_planar_components (SurfaceMesh *mesh, SurfaceMesh::FaceProperty< int > id, float angle_threshold=1.0f) |
| Enumerates planar patches. | |
| static void | propagate_planar_component (SurfaceMesh *mesh, SurfaceMesh::FaceProperty< int > id, SurfaceMesh::Face seed, int cur_id, float angle_threshold) |
| Propagates a planar patch from the seed face. | |
Enumerates connected components for a surface mesh.
|
static |
Enumerates the connected components of a surface mesh from its faces.
| mesh | The input mesh. |
| id | The face property storing the result. |
|
static |
Enumerates the connected components of a surface mesh from its vertices.
| mesh | The input mesh. |
| id | The vertex property storing the result. |
|
static |
Enumerates planar patches.
| mesh | The input mesh. |
| id | The vertex property storing the result. |
| angle_threshold | Two faces sharing a common edge are considered coplanar if the dihedral angle is smaller than angle_threshold (in degrees). |
|
static |
Propagates a connected component of a surface mesh from the seed face.
| mesh | The input mesh. |
| id | The face property storing the result. |
| seed | The seed face from which the connected component will be propagated. |
| cur_id | The index of the connected component to be propagated. |
|
static |
Propagates a connected component of a surface mesh from the seed vertex.
| mesh | The input mesh. |
| id | The vertex property storing the result. |
| seed | The seed vertex from which the connected component will be propagated. |
| cur_id | The index of the connected component to be propagated. |
|
static |
Propagates a planar patch from the seed face.
| mesh | The input mesh. |
| id | The face property storing the result. |
| seed | The seed face from which the planar patch will be propagated. |
| cur_id | The index of the connected component to be propagated. |
| angle_threshold | Two faces sharing a common edge are considered coplanar if the dihedral angle is smaller than angle_threshold (in degrees). |
"f:normal") must exist and be up to date.