Skip to content
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

replace itkwidgets viewer in jupyter notebooks with pyvista viewer #1186

Closed
cchriste opened this issue Mar 30, 2021 · 1 comment · Fixed by #1181
Closed

replace itkwidgets viewer in jupyter notebooks with pyvista viewer #1186

cchriste opened this issue Mar 30, 2021 · 1 comment · Fixed by #1181

Comments

@cchriste
Copy link
Contributor

cchriste commented Mar 30, 2021

Lots of info in #1168, including the underlying reason for this: crashes most likely due to python module linking issues.

Note that the pyvista can do anything vtk can do. It's just built on vtk with a more comprehensible interface (kind of like ShapeWorks on itk). It's classes are just wrappers around vtk classes. For example, adding a volume to a plotter returns the vtk.vtkVolume, and all functions (help(vtk.vtkVolume)) are available.
If we put our heads together I'm sure we can figure this out.

Note also that itkwidgets's viewer is built on vtk, so look for def view(... in here if you want to try to emulate it more closely.

@sheryjoe
Copy link
Contributor

@jadie1 @iyerkrithika21 you will take the lead on this as you restructure the notebooks.

@jadie1 jadie1 linked a pull request Jun 7, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants