-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
methods of QtInteractor #17
Comments
Hi @bistek, thanks for doing this manual testing and I'm surprised by the outcome. I think it could be a good idea to have automatic testing for this then once it is fixed. Among the methods crashing, |
Looks like we indeed need to add automated testing for this. Thanks for discovering this! |
I'm happy to help, if I can. Actually YOU are the one who are doing a great job for the community! |
I made another issue but I would add: |
Hi, I goning to embedd pyvistaqt in an gui framework an discovered some similar problems. |
I agree with @condoratberlin in here, the I see two ways to deal with this at the moment:
About EDL, this was fixed in pyvista/pyvista#1113 |
Option 1 was implemented in #78 |
As of now, is there any confusion about the methods of |
Hello, I'm testing some methods of QtInteractor from the new spin-off pyvistaqt library.
BTW, it is more clear to have it in a dedicated library. Thanks!
First I create a plotter widget in a Qt QMainWindow created with Qt Designer:
Then I am able to add some actor and everything works very well!
self.plotter.add_mesh(<vtk_object>, name=<vtk_object_name>)
However some of the methods inherited from BasePlotter() crash the application.
Tested working:
self.plotter.show_axes_all()
self.plotter.hide_axes_all()
self.plotter.add_bounding_box()
self.plotter.show_bounds()
self.plotter.show_grid()
self.plotter.add_floor()
self.plotter.add_scalar_bar()
Tested crashing:
self.plotter.add_orientation_widget()
self.plotter.add_toolbars()
self.plotter.add_menu_bar()
self.plotter.add_legend()
self.plotter.default_camera_tool_bar()
The text was updated successfully, but these errors were encountered: