50 #ifndef OPENMESH_MESHCHECKER_HH 51 #define OPENMESH_MESHCHECKER_HH 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
CheckTargets
what should be checked?
~MeshCheckerT()
destructor
MeshCheckerT(const Mesh &_mesh)
constructor
Kernel::VertexHandle VertexHandle
Handle for referencing the corresponding item.
bool check(unsigned int _targets=CHECK_ALL, std::ostream &_os=omerr())
check it, return true iff ok