OHIF / react-vtkjs-viewport

VTK.js image viewport component in React
https://react-vtkjs-viewport.netlify.com/
MIT License
144 stars 82 forks source link

Crosshairs samples incorrect location when using Slab operations #63

Closed swederik closed 4 years ago

swederik commented 4 years ago

https://github.com/OHIF/react-vtkjs-viewport/blob/ea4685dc7ff27a48d8c50dd53542e55e4fe32b46/src/VTKViewport/vtkInteractorStyleMPRCrosshairs.js#L71

This needs to add half of the slab thickness in the directional of projection to the world coords. Right now we believe it is using the world coords at the display location projected onto the near clipping plane.

ohif-bot commented 4 years ago

:tada: This issue has been resolved in version 0.3.6 :tada:

The release is available on:

Your semantic-release bot :package::rocket: