I’m currently developing a web platform utilizing a simple variation of “remote” VTK rendering for volume visualiziation/interaction (C#) with rather complex VTK algorithms (C++) to achieve the goals of my project. I incorporated a large number of different VTk concepts, filters, pipelines within C++ and execute those function through PInvoke from my C# webserver.
The current remote rendering prinicple relies on rendering offscreen images on the server (into JPEG format) and sending those base64 encoded images over websocket to the client eventually displaying them within a HTML element.
I want to port this principle to a more stable solution with a VTK web server and VTK js on the client for VTK interaction.
I’m kinda struggling to fetch all the information needed to deploy such a solution. i’m still wondering if it’s somehow possible to setup a VTK server with my current C++ implementation as the core module (slight changes in implementation will have to be made, but i dont want to rewrite all my C++ code).
I’ve read something about VTK as a server within python. But that means that I cannot use my C++ VTK code and that I would have to rewrite it with the VTK python bindings?
Can you give me any kind of information which would help me figuring out which kind of infrastructure/concept/solution i should focus on to achieve a remote VTK renderer with client side interaction, ideally keeping most of my C++ code as it is?