Renders a list of mesh3d objects using ontology-defined colors

seg_meshlist_render(
  segmentation,
  subset_str = NULL,
  iterations = 4,
  group_first = TRUE,
  style = "matte",
  mono_color = "gray"
)

Arguments

segmentation

a `segmentation` class object

subset_str

a character vector indicating the structure(s) to be rendered, by acronym. Default is NULL, meaning the whole segmentation will be rendered as a single mesh.

iterations

numeric, iterations for HC smoothing of the meshes

group_first

logical, in the case of ambiguous acronyms, should the rendering privilege plotting the group or the single structure? Default is TRUE, meaning the group will be given priority.

style

character, one of "matte", "shiny" or "monochrome" as a rendering style

mono_color

character, the color of meshes when character = "monochrome"

Value

a plot of all meshes selected from the segmentation `meshes` slot, smoothed and rendered in a rgl window.