Adding vtkImplicitPlaneWidget to scene #156
Unanswered
loisvazquezind
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You should first start testing your code with the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
I'm trying to integrate the vtkImplicitPlaneWidget with the intention of making cuts in the mesh in a visual way for the final user, with a switch button to show/hide it. Also, I have a slider field that is related to the plane, so that it moves according to the slider. In the following image, I show the slider in two different positions and the plane that is drawn based on that slider (note that I am also showing the mesh with low opacity, simply in order to position the plane more intuitively, but it does not affect the current problem).
In short, the workflow would be:
I have two problems:
The code that defines the plane widget is:
What I do get with this code is that the plane does not move with the slider, that is, its functionality is somehow disabled but it is not visually hidden:
In particular, the code that I have tried to use in my workflow, together with the code shown above, is the following.
Thank you very much in advance for the help.
Greetings.
Beta Was this translation helpful? Give feedback.
All reactions