the setLineThickness function has just been disappeared

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

I can answer myself, as I have just the answer!

@finetjul :smiley:

1 Like