Test fixtures now resolve region names dynamically via
ggseg.formats::atlas_regions() instead of hard-coding schema-specific
strings, so ggseg3d checks cleanly against both the released and
development ggseg.formats atlas schema. Geometry snapshots skip on CRAN.
print() on a ggsegray object now returns the object invisibly, as print
methods are expected to. It still renders the scene; only the return value
changed, and piping was never supported off print().
ggseg.formats inflated meshes and ggseg.meshes pial/white/etc.
surfaces arrived in different axis conventions. resolve_brain_mesh()
now normalises to the shared x = LR, y = AP, z = SI frame and
separates hemispheres at x = 0.set_positioning() no longer wrongly shifts subcortical meshes whose
region names happen to contain "Left"/"Right" (e.g. Left-Thalamus); it
only repositions cortical meshes named "<hemi> <surface>".add_glassbrain() warns and skips when the widget already contains a
flat (2D) mesh such as a cerebellar flatmap, since flatmaps share no
coordinate frame with anatomical 3D meshes.add_glassbrain() now defaults to surface = "inflated" so it works
without ggseg.meshes installed (inflated ships with ggseg.formats).\dontrun{} wrappers in widget-construction examples with
executable code so examples run under R CMD check and render inline
in pkgdown. Examples that require rgl (Suggests) are now gated with
@examplesIf rlang::is_installed("rgl").LICENSE.note documenting the bundled Three.js and OrbitControls
libraries and credited their authors in Authors@R.native_offset() / to_native_coords() / position_hemisphere()
helpers. They were workarounds for the previous axis-convention mismatch
and are no longer needed now that all meshes share a single frame.cerebellar_atlas class with prepare_brain_meshes.cerebellar_atlas()
method for rendering SUIT cerebellar surfaces with vertex-based colouring.surface_opacity parameter controls cerebellar surface transparency when
deep nuclei are present.sysdata.rda.set_background() - set background colourset_legend() - control legend visibilityset_dimensions() - set widget width and heightset_edges() - add region boundary edgesset_flat_shading() - disable lighting for exact coloursset_orthographic() - use orthographic projectionpan_camera() - position camera at standard anatomical viewsadd_glassbrain() - add translucent brain surface overlaysnapshot_brain() - save widget as PNG imageedge.by parameter for edge grouping by data columnsdk_3d to reduce size and pass CRAN checks... to plotly::add_trace for people to add more argumentsatlas_info()brain_pal()brain_pals_infodisplay_brain_pal()NEWS.md file to track changes to the packagedata options to .data to decrease possibility of column naming overlapgrouped data.frames