You should not use paintCamera.set()
, this is an internal function that may not update the camera internal state correctly. I guess a copyCamera()
convenient function could be added in vtkCamera
(please contribute such PR).
The lineWidget handle1 origin is null before the line widget is “placed”. I meant to add the offset AFTER the line widget is placed by the user.