Get information from vtk model


I am trying to get information from a vtk model that I load at Slicer. More specifically I have a vtk model, (two cylinders) that I import it at Slicer and I want to find the center of each one in RAS. Is there any module/way that can be helpful?


See this topic about how to compute “center” of a model/segment: Get center of gravity of a segment

1 Like

Thanks, that works as fine!
What if I want to get the orientation of the cylinders?