Public Types | Static Public Member Functions
vcg::tri::MeshAssert< MeshType > Class Template Reference

For checking the adequacy of a mesh to a given algorithm. More...

#include <mesh_assert.h>

List of all members.

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)

Detailed Description

template<class MeshType>
class vcg::tri::MeshAssert< MeshType >

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.


Member Typedef Documentation

template<class MeshType >
typedef MeshType::CoordType vcg::tri::MeshAssert< MeshType >::CoordType

Definition at line 48 of file mesh_assert.h.

template<class MeshType >
typedef MeshType::FaceIterator vcg::tri::MeshAssert< MeshType >::FaceIterator

Definition at line 47 of file mesh_assert.h.

template<class MeshType >
typedef MeshType::FaceType vcg::tri::MeshAssert< MeshType >::FaceType

Definition at line 46 of file mesh_assert.h.

template<class MeshType >
typedef MeshType::ScalarType vcg::tri::MeshAssert< MeshType >::ScalarType

Definition at line 49 of file mesh_assert.h.

template<class MeshType >
typedef MeshType::VertexIterator vcg::tri::MeshAssert< MeshType >::VertexIterator

Definition at line 45 of file mesh_assert.h.

template<class MeshType >
typedef MeshType::VertexType vcg::tri::MeshAssert< MeshType >::VertexType

Definition at line 44 of file mesh_assert.h.


Member Function Documentation

template<class MeshType >
static void vcg::tri::MeshAssert< MeshType >::FFAdjacencyIsInitialized ( MeshType &  m) [inline, static]

Definition at line 51 of file mesh_assert.h.

template<class MeshType >
static void vcg::tri::MeshAssert< MeshType >::NoUnreferencedVertex ( MeshType &  m) [inline, static]

Definition at line 73 of file mesh_assert.h.

template<class MeshType >
static void vcg::tri::MeshAssert< MeshType >::OnlyQuadFace ( MeshType &  m) [inline, static]

Definition at line 98 of file mesh_assert.h.

template<class MeshType >
static void vcg::tri::MeshAssert< MeshType >::OnlyTriFace ( MeshType &  m) [inline, static]

Definition at line 89 of file mesh_assert.h.

template<class MeshType >
static void vcg::tri::MeshAssert< MeshType >::VFAdjacencyIsInitialized ( MeshType &  m) [inline, static]

Definition at line 64 of file mesh_assert.h.


The documentation for this class was generated from the following file:


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:42:42