[vtkusers] Reading a .vtp

mariagrazia.madaschi at unibg.it mariagrazia.madaschi at unibg.it
Wed May 19 10:33:14 EDT 2010


Hi,
I really know very little about vtk. Maybe my answer could be a bit stupid
to many of you.
I've got a problem to resolve. I create a file .vtp with many cells of
kidney. This cells are obviously composed of many points. I need to
calculate the centroid of every cells and to do this I need all points
coordinates of every cells.
I know that .vtp contain the information I need, but I really don't know
how to get it.
(I usually use Python as language)

Can someone help me?

Thanks.





More information about the vtkusers mailing list