Function voxblox::createConnectedMesh(const AlignedVector<Mesh::ConstPtr>&, Mesh *, const FloatingPoint)

Function Documentation

void voxblox::createConnectedMesh(const AlignedVector < Mesh::ConstPtr > & meshes, Mesh * connected_mesh, const FloatingPoint approximate_vertex_proximity_threshold = 1e-10)

Combines all given meshes into a single mesh with connected verticies.

Also removes triangles with zero surface area. If you only would like to connect vertices, make sure that the proximity threhsold <<< voxel size. If you would like to simplify the mesh, chose a threshold greater or near the voxel size until you reached the level of simpliciation desired.