In the source for the vtkLineWidget there are references to being able to make the handles non-visible but still intractable by the user. I am attempting to draw SVG elements where the handles are, the same as glance and volview, but am unable to drag a handle once it has been placed. The app I’m building is using react so VolView and Glance can’t be copied 1-to-1 since they use Vue. Any help would be appreciated
An easy trick is to render the handles with opacity of 0.001.
The clean way is to play with updateRepresentationForRender
. It controls the representation of handles depending if you are “rendering” or “picking”.