Armin,


you said you would rather use vtk directly to access raw data in xdmf files.
I tried to follow your advice, but I struggle with the vtkXdmfReader.
Basically, here is what I do:



import vtk

reader = vtk.vtkXdmfReader()

reader.SetFileName(myfile)

reader.ReadAllScalarsOn()

reader.Update()



However, I don't know how to access the data inside reader once this is
done. The GetOutput() method doesn't seem to work. Do you know what I am
missing here ? If not, I'll try and move the discussion over at the
vtk-users list.



Thank you for your help.



Jean-Michel



---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel 
antivirus Avast.
http://www.avast.com
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to