fs.surface.to.tmesh3d: Get an rgl tmesh3d instance from a brain surface mesh.
Description
Convert fs.surface
to tmesh
without the rgl
package.
Usage
fs.surface.to.tmesh3d(surface)
Value
a tmesh3d
instance representing the surface, see rgl::tmesh3d
for details. It has classes mesh3d
and shape3d
.
Arguments
- surface
an fs.surface instance, as returned freesurferformats::read.fs.surface
.