InsightSoftwareConsortium / InsightSoftwareConsortium/itkwidgets
How to read XDMF in notebook?
- Dominant language
- Python
- Stars
- 624
- Forks
- 83
- PR merge metrics
- No merged PRs in 30d
Description
Hi all,
I couldn't get to read XDMF files in a notebook
```python
from itkwidgets import view
import vtk
filename='task7/mesh_domains.xdmf'
reader = vtk.vtkXdmfReader()
reader.SetFileName(filename)
reader.Update()
vtk_image = reader.GetOutput()
view(vtk_image)
```
It just produces a black screen:

The XDMF file I'm trying to read can be found [here](https://github.com/RemDelaporteMathurin/FESTIM-workshop/blob/main/tasks/task7/mesh_domains.xdmf).
Is it possible to read XDMF files?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.