Hey all,

I got some problems working with .vtu / .pvtu files in MITK. When i save a 1 
piece (no time steps) unstructured grid in the workbench to either a .vtu or 
.pvtu, it will create 2 files: 
- The actual piece as unstructuredGrid_0.vtu 
- and a composition of pieces as unstructuredGrid.vtu which is basically an 
empty header with a reference to unstructuredGrid_0.vtu. 
However, when trying to load the composition with the workbench, it seems to 
ignore the referenced piece and will only load the empty header. Other 
applications (e.g. Paraview) load the files correctly.

I had a look at the mitkUnstructuredGridVtkWriter, but i can’t figure out why 
this is happening. I tried to reproduce the behavior in a standalone VTK 
application using the code in mitkUnstructuredGridVtkWriter.txx, but i always 
get the expected result of just 1 file.

Preferably i’d like to have the output in 1 file only which is afaik how VTK 
handles this by default. 

Any ideas?

Thomas
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to