58 #ifndef OPENMESH_TOOLS_MODINDEPENDENTSETST_HH 59 #define OPENMESH_TOOLS_MODINDEPENDENTSETST_HH 88 typename Mesh::VertexVertexIter vv_it;
90 Base::mesh().status(_ci.
v1).set_locked(
true);
91 vv_it = Base::mesh().vv_iter(_ci.
v1);
92 for (; vv_it.is_valid(); ++vv_it)
93 Base::mesh().status(*vv_it).set_locked(
true);
99 void set_binary(
bool _b) { }
106 #endif // OPENMESH_TOOLS_MODINDEPENDENTSETST_HH defined #define DECIMATING_MODULE(Classname, MeshT, Name)
Convenience macro, to be used in derived modules The macro defines the types.
Definition: ModBaseT.hh:154
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:64
void postprocess_collapse(const CollapseInfo &_ci)
override
Definition: ModIndependentSetsT.hh:87
Stores information about a halfedge collapse.
Definition: CollapseInfoT.hh:80
ModIndependentSetsT(MeshT &_mesh)
Constructor.
Definition: ModIndependentSetsT.hh:82
Lock one-ring around remaining vertex after a collapse to prevent further collapses of halfedges inci...
Definition: ModIndependentSetsT.hh:76
Base class for all decimation modules.
Definition: ModBaseT.hh:197
Mesh::VertexHandle v1
Remaining vertex.
Definition: CollapseInfoT.hh:98
Base class for all decimation modules.