Build brain polygon render data for a surface atlas
Source:R/ce_shared_exports.R
build_brain_polygon_data.RdProjects surface atlas geometry into 2D polygon panels for each hemisphere and view. Results are memoised so repeated calls with identical arguments return cached data.
Arguments
- surfatlas
A surfatlas object (e.g. from
schaefer_surf()).- views
Character vector of views to render (e.g.
c("lateral", "medial")).- surface
Character: surface type (
"inflated","pial","white").- projection_smooth
Integer: number of Laplacian smoothing iterations on projected coordinates (default
0L).