.ply files contain a lot of information. for ggseg3d, we only need information on the vertices and faces of the mesh. Thes function opens a ply file, and organises the meshes and faces into a single list.
get_mesh(ply, ...)
ply | path to ply-file |
---|---|
... | arguments to |
list of meshes and faces
if (FALSE) { get_mesh("path/to/surface.ply") # Turn off showing the ply when reading get_mesh("path/to/surface.ply", ShowSpecimen = FALSE) }