45 #ifndef OPENMESH_MESHCHECKER_HH 46 #define OPENMESH_MESHCHECKER_HH 52 #include <OpenMesh/Core/System/config.h> 54 #include <OpenMesh/Core/Utils/GenProg.hh> 95 bool check(
unsigned int _targets=CHECK_ALL,
96 std::ostream& _os= omerr());
102 {
return (mesh_.has_vertex_status() ? mesh_.status(_vh).deleted() :
false); }
104 bool is_deleted(
typename Mesh::EdgeHandle _eh)
105 {
return (mesh_.has_edge_status() ? mesh_.status(_eh).deleted() :
false); }
107 bool is_deleted(
typename Mesh::FaceHandle _fh)
108 {
return (mesh_.has_face_status() ? mesh_.status(_fh).deleted() :
false); }
120 #if defined(OM_INCLUDE_TEMPLATES) && !defined(OPENMESH_MESHCHECKER_C) 121 #define OPENMESH_MESHCHECKER_TEMPLATES 122 #include "MeshCheckerT_impl.hh" 125 #endif // OPENMESH_MESHCHECKER_HH defined CheckTargets
what should be checked?
Definition: MeshCheckerT.hh:85
~MeshCheckerT()
destructor
Definition: MeshCheckerT.hh:81
MeshCheckerT(const Mesh &_mesh)
constructor
Definition: MeshCheckerT.hh:78
This file provides some macros containing attribute usage.
Kernel::VertexHandle VertexHandle
Handle for referencing the corresponding item.
Definition: PolyMeshT.hh:136
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:59
Polygonal mesh based on the ArrayKernel.
Definition: PolyMesh_ArrayKernelT.hh:94
Check integrity of mesh.
Definition: MeshCheckerT.hh:73
This file provides the streams omlog, omout, and omerr.
bool check(unsigned int _targets=CHECK_ALL, std::ostream &_os=omerr())
check it, return true iff ok
Definition: MeshCheckerT_impl.hh:66