Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error : Cannot setup 2 different CrossHairTool at the same time #122

Open
Celian-abd opened this issue Jun 3, 2022 · 2 comments
Open

Error : Cannot setup 2 different CrossHairTool at the same time #122

Celian-abd opened this issue Jun 3, 2022 · 2 comments

Comments

@Celian-abd
Copy link
Contributor

Hello, I was trying to setup 2 Crosshair on different viewports but when I try to activate both at the same time I got the following error :

image

However, when I try to activate only one of them, it works perfectly.
Knowing that I have 2 rows of 3 viewports with an unique RenderingEngineID, viewportIDs and toolgroupID for each row. Both aren't linked.

You can run a simple build here : https://github.com/Pixilib/Dat_Scan_Viewer/tree/crosshairs-sync-minimal
You only need to install cornerstone's packages and to do :
-> cd datscan
-> npm start

And then you can drag and drop the files to load the viewer.

@salimkanoun
Copy link
Contributor

Update : we succed to sync crosshair by displaying the two studies in the same rendering engine.
However it might still be a bug that we can set 2 cross hair on 2 rendering engine (they should not see each other, isn't it ? )

@sedghi
Copy link
Member

sedghi commented Oct 13, 2023

Crosshairs require a full revamp which is on my todo list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants