Closed IT-Highmore closed 3 months ago
cornerstoneViewportService.getRenderingEngine().getViewport('mpr-coronal').getCurrentImageIdIndex() data incorrect which causes other data to be incorrect such as camera focalPoint data
cornerstoneViewportService.getRenderingEngine().getViewport('mpr-coronal').getCurrentImageIdIndex()
window.services.cornerstoneViewportService.getRenderingEngine().getViewport('mpr-coronal').getCurrentImageIdIndex()
current result is 63 incorrect
It should be 64
Windows 10
18.17.0
Chrome 126.0.6478.63
use getSliceIndex or getViewReference
I don't want to take this index,What I want to say is that mpr-coronal deault image index does not match the focalPoint
Describe the Bug
cornerstoneViewportService.getRenderingEngine().getViewport('mpr-coronal').getCurrentImageIdIndex()
data incorrect which causes other data to be incorrect such as camera focalPoint dataSteps to Reproduce
window.services.cornerstoneViewportService.getRenderingEngine().getViewport('mpr-coronal').getCurrentImageIdIndex()
in consoleThe current behavior
current result is 63 incorrect
The expected behavior
It should be 64
OS
Windows 10
Node version
18.17.0
Browser
Chrome 126.0.6478.63