VCG Library
0.1
|
Management, updating and computation of per-vertex and per-face flags (like border flags). More...
#include <vcg/complex/trimesh/update/flag.h>
Static Public Member Functions | |
static void | Clear (MeshType &m) |
Reset all the mesh flags (both vertexes and faces) setting everithing to zero (the default value for flags) | |
static void | FaceBorderFromFF (MeshType &m) |
Compute the border flags for the faces using the Face-Face Topology. | |
static void | FaceProjection (MeshType &m) |
static void | FaceBorderFromNone (MeshType &m) |
static void | VertexBorderFromFace (MeshType &m) |
Compute the PerVertex Border flag deriving it from the faces. |
Management, updating and computation of per-vertex and per-face flags (like border flags).
This class is used to compute or update some of the flags that can be stored in the mesh components. For now just Border flags (e.g. the flag that tells if a given edge of a face belong to a border of the mesh or not).
static void vcg::tri::UpdateFlags< UpdateMeshType >::Clear | ( | MeshType & | m | ) | [inline, static] |
Reset all the mesh flags (both vertexes and faces) setting everithing to zero (the default value for flags)
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceBorderFromFF | ( | MeshType & | m | ) | [inline, static] |
Compute the border flags for the faces using the Face-Face Topology.
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceBorderFromNone | ( | MeshType & | m | ) | [inline, static] |
Computes per-face border flags without requiring any kind of topology It has a O(fn log fn) complexity.
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceProjection | ( | MeshType & | m | ) | [inline, static] |
This function fill the flags with the info on what is the best projection direction for a given face. Used by the point-face distance function when do not exploiting pre-computed per-face data (the so called edge component)
static void vcg::tri::UpdateFlags< UpdateMeshType >::VertexBorderFromFace | ( | MeshType & | m | ) | [inline, static] |
Compute the PerVertex Border flag deriving it from the faces.