fsbrain_style_to_scimesh_options: Map an fsbrain rendering style to scimesh render options

View source: R/scimesh_bridge.R

fsbrain_style_to_scimesh_optionsR Documentation

Map an fsbrain rendering style to scimesh render options

Description

Translates fsbrain style names ("default", "shiny", "semitransparent", "glass", "edges") to scimesh render_options() parameters.

Usage

fsbrain_style_to_scimesh_options(
  style = "default",
  bg_rgba = c(1, 1, 1, 1),
  width = 800L,
  height = 600L
)

Arguments

style

character string, an fsbrain style name. See get.rglstyle for valid options.

bg_rgba

numeric vector of length 4, the background color in RGBA (0-1 scale).

width

integer, output image width in pixels. Defaults to 800.

height

integer, output image height in pixels. Defaults to 600.

Value

a scimesh render options list from render_options().


fsbrain documentation built on Aug. 23, 2026, 5:06 p.m.