Skip to content

v1.6.0

Compare
Choose a tag to compare
@tsherif tsherif released this 06 May 21:16
· 539 commits to master since this release
  • General changes
    • Event model moved into BrainBrowser.events.
    • Network and file loading code moved into BrainBrowser.loader.
    • Error events are triggered more broadly in both applications.
  • Surface Viewer
    • Utilities now in BrainBrowser.SurfaceViewer.utils.
    • viewer.getVertexInfo renamed to viewer.getVertex and now only returns vertex.
  • Volume Viewer
    • minc2volume-viewer.js has been created to simplify the creation of header and raw data files required by the Volume Viewer.
    • Can now load data from local files using the following methods:
      • viewer.loadVolumes()
      • viewer.loadVolume()
      • viewer.loadVolumeColorMapFromFile()
      • viewer.loadDefaultColorMapFromFile()
    • viewer.loadVolumes() now only loads volumes:
      • It no longer loads color maps (now done by various viewer.loadColorMapFromXXX methods).
      • It no longer sets panel size (now done by viewer.setPanelSize()).
      • It no longer starts rendering (now done by viewer.render()).
    • Volumes and other data can now be loaded and removed dynamically using the following methods:
      • viewer.loadVolumes()
      • viewer.loadVolume()
      • viewer.clearVolumes()
      • viewer.loadVolumeColorMapFromURL()
      • viewer.loadDefaultColorMapFromURL()
      • viewer.loadVolumeColorMapFromFile()
      • viewer.loadDefaultColorMapFromFile()
    • Panel size can be adjusted dynamically using viewer.setPanelSize().
    • New events:
      • error
      • volumesloaded
      • rendering
      • volumeuiloaded
    • ready event is now deprecated.