Paraview web with Multi Planar Reconstruction support

trame might provide a simpler alternative. It is actually based on the same technology as VTK/ParaView Web but rely on Python only. HTH

Hello,
I am developing application based on sample project: vue-vtkjs-pvw-template
I want to display MPR on the web interface, is there a way to render multiple views using vtk?
Thank you for your help

Yes, you just need to create several views and properly map them with ids.

1 Like

@jourdain Thanks for replying
Can you give me some ideas to convert from paraview to vtk?

I don’t understand what you are asking sorry.

@jourdain Sorry for the unclear question
I looked at rendering multi views using paraview: paraviewweb-examples. I want to use vtk instead of using paraview

The example in vue-vtkjs-pvw-template already provide a ParaView and VTK server side example.
Is the missing part the multi-view? The client side expect a viewId and if not provided (-1), we use the active one. But if you have more than 1 view, you just need to properly set that id.

HTH,

Seb

1 Like

@jourdain Thanks for your answer
If on the backend I have two render window object and I set an ids for them so how can the fontend get that correct view?
Link to template project: vue-vtkjs-pvw-template

you need to push that info to the client via rpc or pub/sub…

It would be so much easier if you were using trame.

1 Like

@jourdain Thanks for your answer.
I will try it