MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Namespaces | Functions
mesh_clean.cc File Reference
#include "math/defines.h"
#include "mve/mesh.h"
#include "mve/mesh_tools.h"
#include "mve/mesh_info.h"
#include "fssr/mesh_clean.h"
Include dependency graph for mesh_clean.cc:

Go to the source code of this file.

Namespaces

namespace  fssr
 

Functions

std::size_t fssr::clean_caps (mve::TriangleMesh::Ptr mesh)
 Cleans caps from the mesh by removing vertices with only three adjacent triangles.
 
std::size_t fssr::clean_mc_mesh (mve::TriangleMesh::Ptr mesh, float needle_ratio_thres=0.4f)
 Removes degenerated triangles from the mesh typical for Marching Cubes.
 
std::size_t fssr::clean_needles (mve::TriangleMesh::Ptr mesh, float needle_ratio_thres)
 Cleans needles from the mesh by collapsing short edges of degenerated triangles.
 
bool fssr::edge_collapse (mve::TriangleMesh::Ptr mesh, mve::MeshInfo &mesh_info, std::size_t v1, std::size_t v2, math::Vec3f const &new_vert, std::vector< std::size_t > const &afaces, float acos_threshold=0.95f)