Kitware / glance

Kitware Glance is an open-source web application developed at Kitware for visualizing volumetric images, molecular structures, geometric objects, and point clouds. It is part of the ParaView platform and can serve as a foundation for building custom web-based visualization applications involving ITK.js and VTK.js.
https://kitware.github.io/glance
BSD 3-Clause "New" or "Revised" License
247 stars 88 forks source link

How to combine server-side processing with glance? #220

Closed BotellaA closed 5 years ago

BotellaA commented 5 years ago

I am looking at ParaViewWeb and Visualizer and I was wondering if we could combine in the same view the two features: 1) local rendering in the Vue front-end using vtk-js 2) server-side processing using ParaViewWeb.

I read the several documentations and websites you made, but I still do not know where to start and if the vtkProxyManager or vtkViewProxy can handle this.

Do you have any advises on this topic and if it is even possible?

jourdain commented 5 years ago

We've done exactly what you describe with ParaView Lite.

jourdain commented 5 years ago

Except that we did not enabled yet the full local rendering.

BotellaA commented 5 years ago

I did not know about this project. It looks great! :+1:

I need to read more about ViewStream and their link with ViewProxy but from what I understand, the ViewProxy is either entirely remote or local. Can it be both?

Except that we did not enabled yet the full local rendering.

Do you have a timeline for this feature or not yet?

jourdain commented 5 years ago

We do both (remote/local) right now as the orientation axis is active and managed locally.

We just need to enable the synch of the geometry which is not hard to do. But I don't know when we will be able to enable it.

BotellaA commented 5 years ago

By curiosity, how would you implement such synch?

jourdain commented 5 years ago

Like we did in Visualizer https://github.com/Kitware/vtk-js/blob/master/Sources/Rendering/Misc/SynchronizableRenderWindow/index.js https://github.com/Kitware/paraviewweb/blob/master/src/React/Renderers/VtkGeometryRenderer/index.js https://github.com/Kitware/visualizer/blob/master/src/MainView.js#L5 https://github.com/Kitware/visualizer/blob/master/src/MainView.js#L148-L171 https://github.com/Kitware/visualizer/blob/master/server/pvw-visualizer.py#L199

BotellaA commented 5 years ago

I will look at these links.

Thank you and your team for your inspiring work