I am attempting to run VTK as a server, following this guide: http://kitware.github.io/paraviewweb/examples/RemoteRenderer.html#Using-VTK-as-server
I keep receiving the following error:
File “vtk_server.py”, line 33, in
from vtk.web import protocols
File “C:\Users…\AppData\Local\Programs\Python\Python36\lib\site-packages\vtkmodules\web\protocols.py”, line 10, in
from vtk.vtkWebCore import vtkWebApplication, vtkWebInteractionEvent
ImportError: cannot import name ‘vtkWebApplication’
The vtk repo doesn’t seem to contain a vtkWebCore module so i’ve assumed that this folder is the module and added it to my vtkmodules directory: https://github.com/Kitware/VTK/tree/master/Web/Core
Is this correct?
If so, the vtkWebApplication file is c++ and doesn’t seem to have a python wrapper to call it.?
Could someone please help me understand how to get vtk running as a server and on the web?