brainviews {fsbrain} | R Documentation |
Show one or more views of the given meshes in rgl windows.
Description
Show one or more views of the given meshes in rgl windows.
Usage
brainviews(
views,
coloredmeshes,
rgloptions = rglo(),
rglactions = list(),
style = "default",
draw_colorbar = FALSE,
background = "white"
)
Arguments
views |
list of strings. Valid entries include: 'si': single interactive view. 'sd_<angle>': single view from angle <angle>. The <angle> part must be one of the strings returned by |
coloredmeshes |
list of coloredmesh or renderable. A coloredmesh is a named list as returned by the coloredmesh.from.* functions. It has the entries 'mesh' of type tmesh3d, a 'col', which is a color specification for such a mesh. |
rgloptions |
option list passed to |
rglactions |
named list. A list in which the names are from a set of pre-defined actions. The values can be used to specify parameters for the action. |
style |
character string, a rendering style, e.g., 'default', 'shiny' or 'semitransparent'. |
draw_colorbar |
logical, whether to draw a colorbar. WARNING: The colorbar is drawn to a subplot, and this only works if there is enough space for it. You will have to increase the plot size using the 'rlgoptions' parameter for the colorbar to show up. Defaults to FALSE. See |
background |
the background color for the visualization, e.g., 'white' or '#FF0000'. Note that alpha/transparency is not supported by rgl. |
Value
list of coloredmeshes. The coloredmeshes used for the visualization.