stoune
(Oussama Eddahri)
1
In an inferior vtk.js version I could use functions from widgetState (vtkResliceCursorWidget):
const widget = vtkResliceCursorWidget.newInstance();
const widgetState = widget.getWidgetState();
// functions like:
widgetState.setOpacity(1);
widgetState.setSphereRadius(10);
widgetState.setLineThickness(1);
widgetState.setShowCenter(false);
But in the latest vtk.js version, those functions don’t work, I didn’t find an alternatif in the documentation, how can we do the same thing please?
Thank you
stoune
(Oussama Eddahri)
2
I can answer myself, as I have just the answer!
@finetjul
1 Like