You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I passed the resetToCenter Parameter to false, but when resetCamera is running, it moves to the center of the volume.
The expected behavior
I expect that when the resetCamera is executed with the resetToCenter parameter to false,
keep the current coordinates without moving to the center of the volume
OS
macOS sonoma 14.0
Node version
20.14
Browser
chomre 129.0.6668.101
The text was updated successfully, but these errors were encountered:
Describe the Bug
I passed the resetToCenter Parameter to false, but when resetCamera is running, it moves to the center of the volume.
Steps to Reproduce
const viewports = this.renderingEngine?.getViewports() as cornerstone3DCore.Types.IVolumeViewport[]
viewports?.forEach((viewport) => {
viewport.resetCamera(true, true, false)
viewport.render()
})
The current behavior
I passed the resetToCenter Parameter to false, but when resetCamera is running, it moves to the center of the volume.
The expected behavior
I expect that when the resetCamera is executed with the resetToCenter parameter to false,
keep the current coordinates without moving to the center of the volume
OS
macOS sonoma 14.0
Node version
20.14
Browser
chomre 129.0.6668.101
The text was updated successfully, but these errors were encountered: