Get an fs.surface brain mesh from an rgl tmesh3d instance.
Source:R/coloredmesh.R
tmesh3d.to.fs.surface.RdGet an fs.surface brain mesh from an rgl tmesh3d instance.
Arguments
- tmesh
a tmesh3d instance, see
rgl::tmesh3dfor details.
Value
an fs.surface instance, as returned by subject.surface or freesurferformats::read.fs.surface.