Management, updating and computation of per-vertex and per-face flags (like border flags). More...
#include <vcg/complex/trimesh/update/flag.h>
Classes | |
class | EdgeSorter |
Public Types | |
typedef MeshType::FaceIterator | FaceIterator |
typedef MeshType::FacePointer | FacePointer |
typedef MeshType::FaceType | FaceType |
typedef UpdateMeshType | MeshType |
typedef vcg::face::Pos < typename UpdateMeshType::FaceType > | PosType |
typedef MeshType::ScalarType | ScalarType |
typedef MeshType::VertexIterator | VertexIterator |
typedef MeshType::VertexPointer | VertexPointer |
typedef MeshType::VertexType | VertexType |
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 | FaceBorderFromNone (MeshType &m) |
static void | FaceBorderFromVF (MeshType &m) |
static void | FaceClear (MeshType &m, unsigned int FlagMask=0xffffffff) |
static void | FaceClearB (MeshType &m) |
static void | FaceClearF (MeshType &m) |
static void | FaceClearV (MeshType &m) |
static void | FaceFauxCrease (MeshType &m, float AngleRad) |
static void | FaceProjection (MeshType &m) |
static void | FaceSet (MeshType &m, unsigned int FlagMask) |
static void | FaceSetB (MeshType &m) |
static void | FaceSetF (MeshType &m) |
static void | FaceSetV (MeshType &m) |
static void | VertexBorderFromFace (MeshType &m) |
Compute the PerVertex Border flag deriving it from the faces. | |
static void | VertexBorderFromNone (MeshType &m) |
static void | VertexClear (MeshType &m, unsigned int FlagMask=0xffffffff) |
static void | VertexClearB (MeshType &m) |
static void | VertexClearV (MeshType &m) |
static void | VertexSet (MeshType &m, unsigned int FlagMask) |
static void | VertexSetB (MeshType &m) |
static void | VertexSetV (MeshType &m) |
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).
Definition at line 107 of file flag.h.
typedef MeshType::FaceIterator vcg::tri::UpdateFlags< UpdateMeshType >::FaceIterator |
typedef MeshType::FacePointer vcg::tri::UpdateFlags< UpdateMeshType >::FacePointer |
typedef MeshType::FaceType vcg::tri::UpdateFlags< UpdateMeshType >::FaceType |
typedef UpdateMeshType vcg::tri::UpdateFlags< UpdateMeshType >::MeshType |
typedef vcg::face::Pos<typename UpdateMeshType::FaceType> vcg::tri::UpdateFlags< UpdateMeshType >::PosType |
typedef MeshType::ScalarType vcg::tri::UpdateFlags< UpdateMeshType >::ScalarType |
typedef MeshType::VertexIterator vcg::tri::UpdateFlags< UpdateMeshType >::VertexIterator |
typedef MeshType::VertexPointer vcg::tri::UpdateFlags< UpdateMeshType >::VertexPointer |
typedef MeshType::VertexType vcg::tri::UpdateFlags< UpdateMeshType >::VertexType |
static void vcg::tri::UpdateFlags< UpdateMeshType >::Clear | ( | MeshType & | m | ) | [inline, static] |
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] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceBorderFromVF | ( | MeshType & | m | ) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceClear | ( | MeshType & | m, | |
unsigned int | FlagMask = 0xffffffff | |||
) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceClearB | ( | MeshType & | m | ) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceClearF | ( | MeshType & | m | ) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceClearV | ( | MeshType & | m | ) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceFauxCrease | ( | MeshType & | m, | |
float | AngleRad | |||
) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceProjection | ( | MeshType & | m | ) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceSet | ( | MeshType & | m, | |
unsigned int | FlagMask | |||
) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceSetB | ( | MeshType & | m | ) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceSetF | ( | MeshType & | m | ) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceSetV | ( | MeshType & | m | ) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::VertexBorderFromFace | ( | MeshType & | m | ) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::VertexBorderFromNone | ( | MeshType & | m | ) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::VertexClear | ( | MeshType & | m, | |
unsigned int | FlagMask = 0xffffffff | |||
) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::VertexClearB | ( | MeshType & | m | ) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::VertexClearV | ( | MeshType & | m | ) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::VertexSet | ( | MeshType & | m, | |
unsigned int | FlagMask | |||
) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::VertexSetB | ( | MeshType & | m | ) | [inline, static] |
static void vcg::tri::UpdateFlags< UpdateMeshType >::VertexSetV | ( | MeshType & | m | ) | [inline, static] |