Skip to content

v2.4.1

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Sep 00:32
· 21 commits to main since this release
87be8c6

🚨 Breaking Changes

  • Removed ability to set config options directly on NiiVue object - by @AnthonyAndroulakis in #202 (7108b5f)
    • Config options must now be set via the opts trait (e.g., nv.opts.pen_value = 1.0)

🚀 Features

New Example Notebooks:

New Methods:

  • Added set_opacity method to NiiVue class (a20279f)
  • Added set_modulation_image method to NiiVue class (5af854c)
  • Added set_colormap_negative method to NiiVue class (72cdd9e)
  • Added set_corner_orientation_text method to NiiVue class (41225e3)
  • Added set_mesh_thickness_on_2d method to NiiVue class (41225e3)
  • Added set_slice_mosaic_string method to NiiVue class (75c8309)
  • Added set_multiplanar_pad_pixels method to NiiVue class (4d3f709)
  • Added scene_extents_min_max method to NiiVue class (46afd0b)
  • Added mm2frac and frac2mm methods to NiiVue class (4e886a2)
  • Added broadcast_to and sync methods for syncing multiple NiiVue instances (bb774d3)
  • Added convert_frac2mm and convert_mm2frac methods to Volume class (4e886a2)
  • Added save_to_disk method to Volume class (72cdd9e)
  • Added on_canvas_attached event handler to NiiVue class (bb774d3)

New Properties:

  • Added scene property to NiiVue class for managing scene state (5af854c)
  • Added overlay_outline_width property to NiiVue class (7ff942d)
  • Added overlay_alpha_shader property to NiiVue class (590b9b8)
  • Added cal_min_neg and cal_max_neg properties to Volume class (72cdd9e)
  • Added colormap_type property to Volume class (72cdd9e)
  • Added modulation_image and modulate_alpha properties to Volume class (5af854c)
  • Added extents_min_ortho, extents_max_ortho, frac2mm, frac2mm_ortho, dims_ras, and mat_ras properties to Volume class (979a72d)
  • Added extents_min and extents_max properties to Mesh class (83abf11)

New Traits & Classes:

  • Added Scene trait class for scene configuration (5af854c)
  • Added VolumeObject3DData trait class for 3D volume object metadata (979a72d)
  • Added ColormapType enum (72cdd9e)
  • Added PenType enum (7c65b3c)

Misc

  • Updated to niivue@0.62.1 - by @AnthonyAndroulakis in #195
  • Fixed atlas.ipynb example to respond properly to mouse clicks (bd15c31)
  • Removed deprecated DragModePrimary enum, merged functionality into DragMode (bd15c31)
  • Updated enum documentation for new DragMode values (b08821e)
  • Added new serializers and deserializers (979a72d)
    View changes on GitHub