Convert .vtp to 3d array or tensor

Hi all! I use the dataset Vascular Model Repository and in it the aorta models are stored in .vtp . I wanted to ask if someone knows if it is possible in any way (at least programmatically, in any programming language) to convert data from the .vtp format into a 3-dimensional (or 4-dimensional) array or tensor to use for deep learning? Thanks for the opportunity to ask a question!

So, here is the right answer: python - How to convert vtk file to 3D data set? - Stack Overflow