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); }
105 {
return (mesh_.has_edge_status() ? mesh_.status(_eh).deleted() :
false); }
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"
This file provides the streams omlog, omout, and omerr.
This file provides some macros containing attribute usage.
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:96
Kernel::VertexHandle VertexHandle
Handle for referencing the corresponding item.
Definition: PolyMeshT.hh:136
Kernel::EdgeHandle EdgeHandle
Scalar type.
Definition: PolyMeshT.hh:138
Kernel::FaceHandle FaceHandle
Scalar type.
Definition: PolyMeshT.hh:139
Check integrity of mesh.
Definition: MeshCheckerT.hh:74
~MeshCheckerT()
destructor
Definition: MeshCheckerT.hh:81
bool check(unsigned int _targets=CHECK_ALL, std::ostream &_os=omerr())
check it, return true iff ok
Definition: MeshCheckerT_impl.hh:66
MeshCheckerT(const Mesh &_mesh)
constructor
Definition: MeshCheckerT.hh:78
CheckTargets
what should be checked?
Definition: MeshCheckerT.hh:86