MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/H2-Mapping / load_mesh

Function load_mesh

mapping/demo/view.py:175–181  ·  view source on GitHub ↗
(mesh_data)

Source from the content-addressed store, hash-verified

173
174
175def load_mesh(mesh_data):
176 mesh = o3d.geometry.TriangleMesh()
177 mesh.vertices = o3d.utility.Vector3dVector(mesh_data["verts"])
178 mesh.triangles = o3d.utility.Vector3iVector(mesh_data["faces"])
179 mesh.vertex_colors = o3d.utility.Vector3dVector(mesh_data["color"])
180 mesh.compute_vertex_normals()
181 return mesh
182
183
184def get_trajectory(poses, c=[1, 0, 0]):

Callers 1

load_dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected