I am looking to convert .vtk files to .obj or .json formats. While vtk offers the vtkOBJExporter class for this purpose, I am unsure how to actually achieve this conversion. Upon installing the visualization toolkit, only a console is displayed when opened. How do I go about calling the conversion method?
My goal is to use Ruby to call the vtk.exe and convert all specified .vtk files to a format suited for display in a WebGL canvas. I prefer not to use xtk, but opt for three.js instead.
Is anyone currently working on a similar task or have any ideas on how to accomplish this?