scenerygraphics / sciview

sciview is a tool for visualization and interaction with ND image and mesh data
BSD 2-Clause "Simplified" License
68 stars 17 forks source link

Sanity check default scale for new volume #420

Closed kephale closed 1 year ago

kephale commented 3 years ago

To repeat,

  1. open T1 Head in Fiji (File>Open Samples)
  2. in sciview, Edit>add>volume
  3. notice that the volume is very small, but if you zoom in you can see it

The size of the volume is at the point where controls become awkward to use.

kephale commented 1 year ago

It looks like units are not being properly respected (I tried T1-head with units in meter and it is still tiny):

image
kephale commented 1 year ago

@skalarproduktraum @ctrueden it looks like the callback for harvesting voxel dimensions isn't getting triggered for AddVolume e.g. here: https://github.com/scenerygraphics/sciview/blob/master/src/main/kotlin/sc/iview/commands/edit/add/AddVolume.kt#L67