Skip to content

Coordinates Log while interactive True #387

Answered by marcomusy
Simone100190 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Simone
thanks for your interest in the library. While VTK offers a way to record the camera movements, it's not implemented in vedo, but I think you can still easily do it with a simple callback function following example examples/basic/mouseclick.py
Let me know if encounter any problems.

PS: if you 're keen on using native vtk commands you can leverage these 2 classes:
https://vtk.org/doc/nightly/html/classvtkCameraWidget.html#details
https://vtk.org/doc/nightly/html/classvtkCameraInterpolator.html

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Simone100190
Comment options

Answer selected by Simone100190
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants