🚨 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
optstrait (e.g.,nv.opts.pen_value = 1.0)
- Config options must now be set via the
🚀 Features
New Example Notebooks:
- Added
alphathreshold.ipynbnotebook example - by @AnthonyAndroulakis in #196 - Added
denoise.ipynbnotebook example - by @AnthonyAndroulakis in #190 - Added
modulatescalar.ipynbnotebook example - by @AnthonyAndroulakis in #191 - Added
segment.ipynbnotebook example - by @AnthonyAndroulakis in #192 - Added
mosaics1.ipynbandmosaics2.ipynbnotebook examples - by @AnthonyAndroulakis in #197 - Added
worldspace.ipynbandworldspace2.ipynbnotebook examples - by @AnthonyAndroulakis in #198 - Added
sync.bidirectional.ipynbnotebook example - by @AnthonyAndroulakis in #199
New Methods:
- Added
set_opacitymethod toNiiVueclass (a20279f) - Added
set_modulation_imagemethod toNiiVueclass (5af854c) - Added
set_colormap_negativemethod toNiiVueclass (72cdd9e) - Added
set_corner_orientation_textmethod toNiiVueclass (41225e3) - Added
set_mesh_thickness_on_2dmethod toNiiVueclass (41225e3) - Added
set_slice_mosaic_stringmethod toNiiVueclass (75c8309) - Added
set_multiplanar_pad_pixelsmethod toNiiVueclass (4d3f709) - Added
scene_extents_min_maxmethod toNiiVueclass (46afd0b) - Added
mm2fracandfrac2mmmethods toNiiVueclass (4e886a2) - Added
broadcast_toandsyncmethods for syncing multiple NiiVue instances (bb774d3) - Added
convert_frac2mmandconvert_mm2fracmethods toVolumeclass (4e886a2) - Added
save_to_diskmethod toVolumeclass (72cdd9e) - Added
on_canvas_attachedevent handler toNiiVueclass (bb774d3)
New Properties:
- Added
sceneproperty toNiiVueclass for managing scene state (5af854c) - Added
overlay_outline_widthproperty toNiiVueclass (7ff942d) - Added
overlay_alpha_shaderproperty toNiiVueclass (590b9b8) - Added
cal_min_negandcal_max_negproperties toVolumeclass (72cdd9e) - Added
colormap_typeproperty toVolumeclass (72cdd9e) - Added
modulation_imageandmodulate_alphaproperties toVolumeclass (5af854c) - Added
extents_min_ortho,extents_max_ortho,frac2mm,frac2mm_ortho,dims_ras, andmat_rasproperties toVolumeclass (979a72d) - Added
extents_minandextents_maxproperties toMeshclass (83abf11)
New Traits & Classes:
- Added
Scenetrait class for scene configuration (5af854c) - Added
VolumeObject3DDatatrait class for 3D volume object metadata (979a72d) - Added
ColormapTypeenum (72cdd9e) - Added
PenTypeenum (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
DragModePrimaryenum, merged functionality intoDragMode(bd15c31) - Updated enum documentation for new DragMode values (b08821e)
- Added new serializers and deserializers (979a72d)