View in #cornerstone3d on Slack
@Julian_Linares: Having that implemented, I’ve noticed that the StackScrollTool uses a separate index that the one you can set with viewport.setImageIdIndex(). This means that if I scroll with a scrollbar that uses .setImageIdIndex() and then scroll with StackScrollTool, the tool would start with an index of 0 (which was the default). Is there any other function rather than setImageIdIndex() that would fix this?
@Peter_Newhook: Did you ever find the solution to this? I’m running into the same problem.
Found it, utilitites.jumpToSlice()
syncs the StackScrollTool appropriately https://www.cornerstonejs.org/docs/api/core/namespaces/utilities/functions/jumpToSlice