VCG Library
0.1
|
Management, updating and computation of per-vertex and per-face normals. More...
#include <vcg/complex/trimesh/update/selection.h>
Static Public Member Functions | |
static size_t | VertexFromFaceLoose (MeshType &m) |
Select all the vertices that are touched by at least a single selected faces. | |
static size_t | VertexFromFaceStrict (MeshType &m) |
Select ONLY the vertices that are touched ONLY by selected faces. | |
static size_t | FaceFromVertexStrict (MeshType &m) |
Select ONLY the faces with ALL the vertices selected. | |
static size_t | FaceOutOfRangeEdge (MeshType &m, ScalarType MinEdgeThr=0, ScalarType MaxEdgeThr=(std::numeric_limits< ScalarType >::max)()) |
This function select the faces that have an edge outside the given range. | |
static size_t | FaceConnectedFF (MeshType &m) |
This function expand current selection to cover the whole connected component. | |
static size_t | VertexFromQualityRange (MeshType &m, float minq, float maxq) |
Select ONLY the vertices whose quality is in the specified closed interval. |
Management, updating and computation of per-vertex and per-face normals.
This class is used to compute or update the normals that can be stored in the vertex or face component of a mesh.
static size_t vcg::tri::UpdateSelection< ComputeMeshType >::FaceConnectedFF | ( | MeshType & | m | ) | [inline, static] |
This function expand current selection to cover the whole connected component.
static size_t vcg::tri::UpdateSelection< ComputeMeshType >::FaceFromVertexStrict | ( | MeshType & | m | ) | [inline, static] |
Select ONLY the faces with ALL the vertices selected.
static size_t vcg::tri::UpdateSelection< ComputeMeshType >::FaceOutOfRangeEdge | ( | MeshType & | m, |
ScalarType | MinEdgeThr = 0 , |
||
ScalarType | MaxEdgeThr = (std::numeric_limits<ScalarType>::max)() |
||
) | [inline, static] |
This function select the faces that have an edge outside the given range.
static size_t vcg::tri::UpdateSelection< ComputeMeshType >::VertexFromFaceLoose | ( | MeshType & | m | ) | [inline, static] |
Select all the vertices that are touched by at least a single selected faces.
static size_t vcg::tri::UpdateSelection< ComputeMeshType >::VertexFromFaceStrict | ( | MeshType & | m | ) | [inline, static] |
Select ONLY the vertices that are touched ONLY by selected faces.
In other words all the vertices having all the faces incident on them selected.
static size_t vcg::tri::UpdateSelection< ComputeMeshType >::VertexFromQualityRange | ( | MeshType & | m, |
float | minq, | ||
float | maxq | ||
) | [inline, static] |
Select ONLY the vertices whose quality is in the specified closed interval.