I would like to use RemoteView to show CFD simulations results. Results are processed by pvserver, which already has a reader for the data format, and the client application should control pvserver to set up what is shown in RemoteView via vtk.js
So far, I’m able to start pvserver with a python script, load data, and visualize in RemoteView.
However, it is not clear to me how the client can select what is being shown (e.g., what fields, with what color map and data range). In other words, how can pvserver be dynamically controlled from the client? Is there an API and some documentation on how to do so?
Since you have the RemoteView working, you already have wslink fully setup (which is not gRPC).
I understand that you can export methods when starting pvserver using @exportRpc (sorry for my typo, I wrote gRPC out of habit). Am I correct in thinking I must export all the methods the client will call first in python, or can existing vtk methods be added from the client?