About the real-time rendering of images on trame.app #473
Unanswered
BruceLvSwag
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You need to replace |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I run the trame application, I want to control the addition and deletion of vtk.vtkTextActor actors on imageViewer.GetRenderer through a button, and I have implemented this function, but there is a problem, that is, after clicking the button, I need to click again Click the view to complete the addition or deletion, otherwise the view will not change. In fact, after testing, as long as any mouse event occurs against the view, including left-click, middle-click, right-click, and middle-click scrolling, the text will be added or deleted, and the view will be refreshed. But my original intention is that after clicking the button, the text will be successfully added or deleted on the view without triggering any mouse events on the view. Please tell me how to solve this problem.
The following is part of my code.
Beta Was this translation helpful? Give feedback.
All reactions