VtkRemoteLocalView not rendering when updating via python callback #88
Unanswered
earlsioson
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Don't you see several error about missing trame_server? You have several way in fixing it but the following should work def visualize():
with layout:
html_view_container.clear()
with html_view_container:
view = vtk.VtkRemoteLocalView(cone_renderer(), interactive_ratio=(1,))
ctrl.view_update = view.update
ctrl.view_reset_camera = view.reset_camera
view.update() |
Beta Was this translation helpful? Give feedback.
1 reply
-
Does |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Can someone explain to me why having the creation of the VtkRemoteLocalView works in this case...
VS.
having the creation in the callback function like this...
When the creation of VtkRemoteLocalView is in the visualize callback handler, the view will not render.
Beta Was this translation helpful? Give feedback.
All reactions