3dct / open_iA

A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
GNU General Public License v3.0
40 stars 16 forks source link

Magic Lens not working when spacing > 1 #33

Open codeling opened 5 years ago

codeling commented 5 years ago

When spacing of dataset is > 1, the magic lens only shows the original dataset in the slicers, never the additional modalities (despite showing their label).

Nepelius commented 6 months ago

When setting spacing to 1 for two samples and using the magic lense, "Slice YZ" 2D view does not work with magic lense. The other two perspectives "Slice XZ" and "Slice XY" are working as expected. The area inside the magic lense rectangle stays unchanged for "Slice YZ" like shown in the screenshot.

grafik

codeling commented 6 months ago

It seems 1 is not the exact threshold. I have not determined yet what the exact conditions are under which the bug appears.

The workaround is to disable the magic lens; then change the spacing via the dataset settings (pencil icon on a dataset), to be safe, set it to a value < 1; then re-enable the magic lens.

codeling commented 6 months ago

This problem also seems to have to do with the dataset size somehow; for a size of ~ 700^3, the issue happens for a spacing ~>= 20; for a dataset of size 100^3, it happens only for a spacing ~>= 150.