Difference between VTK widgets and 3D Slicer widgets

Hello, what’s the difference between VTK widgets and 3D Slicer widgets in terms of rendering? When trying to compile to wasm, the vtk widget is successfully displayed, when trying to get the widget from the 3D Slicer, WebGL gives errors with shaders. I try get LineWidget from VTK (success in web assembly) and 3D Slicer (not success in web assembly). Thanks in advance for your reply.


The main difference is that Slicer widgets represent MRML nodes, while VTK widgets represent VTK objects.