I am trying to build a web application that can visualize 3D images using the vtk.js library. I have been following the vtk.js tutorials and I found this library very promising but I am currently stuck on the following problem:
I would like to read a .vtk file that is formatted as a VTK structured grid, however, I am not sure what reader is suitable for this file format.
Edit: I tried using PolyDataReader however it does not support such a format. (Error message: Dataset of type STRUCTURED_GRID not supported)
I am new to this library and would greatly appreciate your help if you could advise me for the above and perhaps direct me to some example codes on how to read such a file!