scikit-surgeryvtk icon indicating copy to clipboard operation
scikit-surgeryvtk copied to clipboard

Logic to face vtkCamera at an image should be refactored, and generalised to arbitrary image planes.

Open thompson318 opened this issue 4 years ago • 2 comments

In GitLab by @MattClarkson on Feb 5, 2019, 20:43

In vtk_overlay_widget there is logic in __update_video_image_camera. This positions the camera to face an image, but assumes the x and y axis are fixed.

For applications where you want a vtkActor to move in one window (eg. tracked US probe), but in another window for the camera to always face the image, then the logic in __update_video_image_camera should be generalised to accept images that are at an arbitrary dimension.

Implemented in NifTK here.

thompson318 avatar May 20 '20 08:05 thompson318