Template Function lvr2::writeDebugContourMesh
Defined in File Debug.hpp
Function Documentation
-
template<typename BaseVecT>
void lvr2::writeDebugContourMesh(const BaseMesh<BaseVecT> &mesh, string filename = "debug-contours.ply", RGB8Color connectedColor = {0, 255, 0}, RGB8Color contourColor = {0, 0, 255}, RGB8Color bugColor = {255, 0, 0}) Writes a mesh to the given filename and colors it with the following meaning:
conntectedColor: connected mesh (vertices of edges with 2 connected faces)
contourColor: contour edges (vertices of edges with 1 connected face)
bugColor: edges with neither 1 or 2 conntected faces