-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Bug] If viewport grid are displaying the same orientation view in 2 or more viewports crosshairs is broken. #3486
Comments
Update : Crosshair doesn't seems broken anymore but when displaying 2 viewport same orientation and returning displaying 3 different axis, the crosshair position take a position outside the image |
So is there a remaining bug you are saying? |
Yes it is there are inconsistencies in the cross hairs position if a same orientation is displayed in multiple viewport |
After our discussion with Salim, we have identified a multifaceted issue. Specifically, when there are more than three viewports, there is currently no standardized method for handling the manipulation of handles due to the presence of multiple lines on the viewports. One possible solution we considered is having the additional viewports project their lines onto the three main viewports. However, I remain unconvinced that the existing reference lines are inadequate for this particular use case. |
Hum I thought that reference line are only for stack viewport and crosshairs replace the reference line for volume viewport ? But yes it is basically the same feature, the feature of the crosshairs is to be interactable and this tool can be limited to up to 3 viewport only. I the reference line if you can specify which viewport orientation should be displayed on which other viewport than i guess it will be customizable in the Hanging protocols so you have full controls of how many reference line you want to render and keep the crosshair separatly for interaction with the limitation of 3 maximum viewport (per display set) |
No reference lines are for both stack and volume viewports. |
OK great so I think we can have 2 tools : |
Hi, are there any updates regarding this issue? Also saw there's a TODO comment in the code about it: https://github.com/cornerstonejs/cornerstone3D/blob/4801e79796b659e5baa2806bf882ed2b7bb127b0/packages/tools/src/tools/CrosshairsTool.ts#L358C5-L358C69 |
Describe the Bug
Crosshairs has an issue if the users changes the viewport orientation and displays multiple time the same volume orientation, errors are raised and ohif display is broken.
Steps to Reproduce
The current behavior
Error making the user needing to restart OHIF
The expected behavior
If a same orientation is display multiple time in different viewport, crosshair should be duplicated in each viewport without failing.
OS
Windows
Node version
18
Browser
Chrome updated
The text was updated successfully, but these errors were encountered: