50 #ifndef OPENMESH_MESHCHECKER_HH
51 #define OPENMESH_MESHCHECKER_HH
57 #include <OpenMesh/Core/System/config.h>
59 #include <OpenMesh/Core/Utils/GenProg.hh>
100 bool check(
unsigned int _targets=CHECK_ALL,
101 std::ostream& _os= omerr());
107 {
return (mesh_.has_vertex_status() ? mesh_.status(_vh).deleted() :
false); }
109 bool is_deleted(
typename Mesh::EdgeHandle _eh)
110 {
return (mesh_.has_edge_status() ? mesh_.status(_eh).deleted() :
false); }
112 bool is_deleted(
typename Mesh::FaceHandle _fh)
113 {
return (mesh_.has_face_status() ? mesh_.status(_fh).deleted() :
false); }
125 #if defined(OM_INCLUDE_TEMPLATES) && !defined(OPENMESH_MESHCHECKER_C)
126 #define OPENMESH_MESHCHECKER_TEMPLATES
127 #include "MeshCheckerT.cc"
130 #endif // OPENMESH_MESHCHECKER_HH defined
Check integrity of mesh.
Definition: MeshCheckerT.hh:78
This file provides some macros containing attribute usage.
bool check(unsigned int _targets=CHECK_ALL, std::ostream &_os=omerr())
check it, return true iff ok
Definition: MeshCheckerT.cc:71
Kernel::VertexHandle VertexHandle
Handle for referencing the corresponding item.
Definition: PolyMeshT.hh:139
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:64
CheckTargets
what should be checked?
Definition: MeshCheckerT.hh:90
~MeshCheckerT()
destructor
Definition: MeshCheckerT.hh:86
Polygonal mesh based on the ArrayKernel.
Definition: PolyMesh_ArrayKernelT.hh:98
MeshCheckerT(const Mesh &_mesh)
constructor
Definition: MeshCheckerT.hh:83
This file provides the streams omlog, omout, and omerr.