I’m really stuck, I’m updating the center of a vtkResliceCursorWidget after a button click but the center of the widget is not updated unless I hover in each view, I need to update views right after update the center,
I’m using same code as the official example, and I’m storing the widget object in a useRef():
() => {
const wid = widgetRef.current.widget;
wid.setCenter( [13.9, -73.7, -55.8]);
// I tried to call updateViews() like in the example but it doesn't work
}