How do you extract de 3D coordinates from a VTK output file? This VTK output file is created using the Model-to-Model Distance module. It does not matter if the coordinates are in the LPS or RAS system, as I need to compare different coordinates. I need to export these coordinates to Excel.
Any suggestions would be really helpful, thankyou in advance.
@pieper thanks for providing the link. Iām wondering if we should always use latest tag (https://slicer.readthedocs.io/en/latestā¦) instead of a specific version (https://slicer.readthedocs.io/en/v4.11) in forum posts, because these posts may be read in several months or even years later and by that time specific tags may be outdated. We could also add a āstableā tag to readthedocs.
Yes, thatās always a tradeoff. Thereās a risk that things will get reformatted and we end up with a dead link. On the wiki we would have a header that was added to pages when new versions were created; can we easily do the same on readthedocs?
Thereās a similar tradeoff with github links to line numbers in branches which can get out of date compared to a link to the commit+line number.
There is no automatic redirect. Maybe after structure of documentation is stabilized we can establish a policy of never deleting documentation page but add links to pages where content is moved to.
I too need to extract the x,y,z coordinates from a VTK file that I imported to Slicer. I was hoping you could be a little more explicit about how to use arrayFromModelPoints? I have imported the VTK and can see the mesh in the viewer, now what? Sorry if this is a trivial question, Iām relatively new to Slicer.
If you can see at the bottom, I attempted to run āslicer.util.arrayFromModelPoints(mesh)ā since my āNodeā is named mesh as far as I can tell. Dead end and I got the error āNameError: name āmeshā is not definedā