get_mesh: Extract mesh data from ply

View source: R/mesh-funcs.R

get_meshR Documentation

Extract mesh data from ply

Description

.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.

Usage

get_mesh(ply, ...)

Arguments

ply

path to ply-file

...

arguments to read.ply

Value

list of meshes and faces

Examples

## Not run: 
get_mesh("path/to/surface.ply")

# Turn off showing the ply when reading
get_mesh("path/to/surface.ply", ShowSpecimen = FALSE)

## End(Not run)

LCBC-UiO/ggsegExtra documentation built on May 9, 2022, 1:07 a.m.