fs.surface.to.tmesh3d: Get an rgl tmesh3d instance from a brain surface mesh.

View source: R/helpers.R

fs.surface.to.tmesh3dR Documentation

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)

Arguments

surface

an fs.surface instance, as returned freesurferformats::read.fs.surface.

Value

a tmesh3d instance representing the surface, see rgl::tmesh3d for details. It has classes mesh3d and shape3d.


freesurferformats documentation built on May 29, 2024, 5:29 a.m.