For checking the adequacy of a mesh to a given algorithm. More...
#include <mesh_assert.h>
Public Types | |
typedef MeshType::CoordType | CoordType |
typedef MeshType::FaceIterator | FaceIterator |
typedef MeshType::FaceType | FaceType |
typedef MeshType::ScalarType | ScalarType |
typedef MeshType::VertexIterator | VertexIterator |
typedef MeshType::VertexType | VertexType |
Static Public Member Functions | |
static void | FFAdjacencyIsInitialized (MeshType &m) |
static void | NoUnreferencedVertex (MeshType &m) |
static void | OnlyQuadFace (MeshType &m) |
static void | OnlyTriFace (MeshType &m) |
static void | VFAdjacencyIsInitialized (MeshType &m) |
For checking the adequacy of a mesh to a given algorithm.
While the many RequireXXX functions allow to check the static correctness of a mesh and have a O(1) complexity, in many cases we need to run more complex checks to be sure that the subsequent algorithm can run without issues. Typical cases are the fact that there are no unreferenced vertices (NoUnreferencedVertex) or a given adjacency is correctly initialized (and not only statically present as a type component).
Definition at line 41 of file mesh_assert.h.
typedef MeshType::CoordType vcg::tri::MeshAssert< MeshType >::CoordType |
Definition at line 48 of file mesh_assert.h.
typedef MeshType::FaceIterator vcg::tri::MeshAssert< MeshType >::FaceIterator |
Definition at line 47 of file mesh_assert.h.
typedef MeshType::FaceType vcg::tri::MeshAssert< MeshType >::FaceType |
Definition at line 46 of file mesh_assert.h.
typedef MeshType::ScalarType vcg::tri::MeshAssert< MeshType >::ScalarType |
Definition at line 49 of file mesh_assert.h.
typedef MeshType::VertexIterator vcg::tri::MeshAssert< MeshType >::VertexIterator |
Definition at line 45 of file mesh_assert.h.
typedef MeshType::VertexType vcg::tri::MeshAssert< MeshType >::VertexType |
Definition at line 44 of file mesh_assert.h.
static void vcg::tri::MeshAssert< MeshType >::FFAdjacencyIsInitialized | ( | MeshType & | m | ) | [inline, static] |
Definition at line 51 of file mesh_assert.h.
static void vcg::tri::MeshAssert< MeshType >::NoUnreferencedVertex | ( | MeshType & | m | ) | [inline, static] |
Definition at line 73 of file mesh_assert.h.
static void vcg::tri::MeshAssert< MeshType >::OnlyQuadFace | ( | MeshType & | m | ) | [inline, static] |
Definition at line 98 of file mesh_assert.h.
static void vcg::tri::MeshAssert< MeshType >::OnlyTriFace | ( | MeshType & | m | ) | [inline, static] |
Definition at line 89 of file mesh_assert.h.
static void vcg::tri::MeshAssert< MeshType >::VFAdjacencyIsInitialized | ( | MeshType & | m | ) | [inline, static] |
Definition at line 64 of file mesh_assert.h.