I’m trying to use a vtkLineWidget in a React environment. I can get much of it working, but the handles on the two ends of the line doesn’t show, so I really can’t move its endpoints. The code is
Basically, I started with vtk.js
and changed not to use a vtkFullScreenRenderWindow, but a react div.
Can someone tell me what I’m doing wrong?