#include <libs_required/OpenMesh/src/OpenMesh/Tools/Decimater/DecimaterT.hh>
|
void | heap_vertex (VertexHandle _vh) |
| Insert vertex in heap.
|
|
template<typename MeshT>
class OpenMesh::Decimater::DecimaterT< MeshT >
Decimater framework.
- See also
- BaseModT, Mesh Decimation Framework
Definition at line 83 of file DecimaterT.hh.
Perform a number of collapses on the mesh.
- Parameters
-
_n_collapses | Desired number of collapses. If zero (default), attempt to do as many collapses as possible. |
- Returns
- Number of collapses that were actually performed.
- Note
- This operation only marks the removed mesh elements for deletion. In order to actually remove the decimated elements from the mesh, a subsequent call to ArrayKernel::garbage_collection() is required.
Definition at line 156 of file DecimaterT.cc.
template<typename MeshT >
Decimate the mesh to a desired target vertex complexity.
- Parameters
-
_n_vertices | Target complexity, i.e. desired number of remaining vertices after decimation. |
- Returns
- Number of collapses that were actually performed.
- Note
- This operation only marks the removed mesh elements for deletion. In order to actually remove the decimated elements from the mesh, a subsequent call to ArrayKernel::garbage_collection() is required.
Definition at line 124 of file DecimaterT.hh.
Attempts to decimate the mesh until a desired vertex or face complexity is achieved.
- Parameters
-
_n_vertices | Target vertex complexity. |
_n_faces | Target face complexity. |
- Returns
- Number of collapses that were actually performed.
- Note
- Decimation stops as soon as either one of the two complexity bounds is satisfied.
-
This operation only marks the removed mesh elements for deletion. In order to actually remove the decimated elements from the mesh, a subsequent call to ArrayKernel::garbage_collection() is required.
Definition at line 260 of file DecimaterT.cc.
The documentation for this class was generated from the following files:
- libs_required/OpenMesh/src/OpenMesh/Tools/Decimater/DecimaterT.hh
- libs_required/OpenMesh/src/OpenMesh/Tools/Decimater/DecimaterT.cc