Uh oh!
There was an error while loading. Please reload this page.
feat(Camera): Synchronize image slices and cameras - #615
Conversation
❌ Deploy Preview for volview-dev failed. Why did it fail? →Built without sensitive environment variables
|
lchauvin
commented
Jun 26, 2024
The only issue right now, it that it seems the camera is reset when changing images (which defeat the purpose of having camera synchronized). I think it may have something to do with |
PaulHax
commented
Jun 27, 2024
I'm not sure about the order VTK.js camera is updated on switching images. But maybe to diagnose: keep the existing reset stuff, (might be setting needed camera parameters not included in the "synced" ones) and add a composable/hook to trigger the position, focalpont, etc sync after the resets. |
lchauvin
commented
Jun 27, 2024
I'm not sure where or how to do that. What shoud I hook for ? |
PaulHax
commented
Jun 27, 2024
I'ed want to test if the problem is the timing of the camera property sync vs something else. So could add some temp code to call the sync function on a button press, or wherever you see a camera reset. |
lchauvin
commented
Jun 28, 2024
It's still unclear to me how you want to test this. What I could tell so far, is that the properties of the sync cameras are well updated. I looked in the pinia store, and I could see the values changing for all cameras when sync. However, when I change image, it resets these properties, and because images are sync, it resets to all of them. |
lchauvin
commented
Jun 28, 2024
I tried to monitor the events, but all I can see when changing image is an event called |
floryst
commented
Aug 19, 2025
Any status on this? Or can we close? |
lchauvin
commented
Sep 13, 2025
I'd still like to get this working, but I don't have time to work on it for now unfortunately. |
This feature will allow to synchronize images (i.e. slices) and cameras, so it will be easy to compare images from different modalities for a given subject for example