Creates mesh data structures for tract atlases with per-vertex colouring. Supports palette colours (uniform per tract) or orientation-based RGB colours computed from centerline tangent vectors.
build_tract_meshes(
atlas_data,
na_colour,
color_by = "colour",
atlas_centerlines = NULL,
text_by = NULL,
label_by = "region"
)List of mesh data structures
Prepared atlas data frame with label, colour, and mesh columns
Colour for NA values
How to colour tracts: "colour" (use colour column), "orientation" (direction-based RGB from tangents)