Skip to content

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

Description

@thompson318

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions