VisIVOLab / ViaLacteaVisualAnalytics

ViaLactea Visual Analytics combines different types of visualization to analyze correlations between different kinds of data, such as 2D intensity images with 3D molecular spectral cubes.
Apache License 2.0
6 stars 1 forks source link

Add 2D image visualization in a stack format #112

Closed Pietersielie closed 12 months ago

Pietersielie commented 1 year ago

Behaviour emulates the legacy application as far as I can tell, with the possible exception of removing images. Paraview doesn't have a "removeRepresentation" command or equivalent, so the legends (that are automatically created by Paraview) do not disappear when the images are sets to inactive or are removed. A workaround I use is to set the image to not visible and then discard client side pointers to it. It removes the image from visibility, but does not remove the legend or clean up the memory (until the server connection is closed, that is).

Pietersielie commented 12 months ago

@gtudisco, I've added a workaround for the bug you mentioned. Still don't know why it happens, but this small change should make it not appear.

gtudisco commented 12 months ago

Yes, it is fixed now. Merging the PR.