// Client viewId setup https://github.com/Kitware/divvy/blob/master/Sources/scatterPlotManager.js#L135-L138
// Client / server ID exchange https://github.com/Kitware/divvy/blob/master/Sources/scatterPlotManager.js#L78-L83 https://github.com/Kitware/divvy/blob/master/Server/scatterplotProtocol.py#L552-L556 On Mon, May 14, 2018 at 8:07 AM Sgouros, Thomas <[email protected]> wrote: > Great, thank you. Do you have an example of how to use it on the client > side? > > Thanks, > > -Tom > > On Sun, May 13, 2018 at 5:51 PM, Sebastien Jourdain < > [email protected]> wrote: > >> You should set the viewId to the VtkRenderer based on which view from the >> server you want to be bound to. >> To retrieve the view Id on the server side, just call on the python side. >> >> view.GetGlobalDAsString() >> >> I may have small typo for the method name, but in either case the number >> you want is the "GlobalID". >> >> HTH, >> >> Seb >> >> On Fri, May 11, 2018 at 4:47 PM Sgouros, Thomas <[email protected]> >> wrote: >> >>> Hi All: >>> >>> I have a ParaViewWeb application going with a pvpython back end, and it >>> looks great. I want to show views of multiple datasets in it now. I gather >>> that the layout() methods are not supported in pvpython, so I have to use >>> separate windows. >>> >>> I'm creating the render window on the client with this: >>> >>> const renderer = VtkRenderer.newInstance({ client: model.pvwClient }); >>> >>> I can certainly create two such renderer objects, but I don't see how to >>> link the Render on my pvpython server to one or the other of the client's >>> renderer objects. >>> >>> I assume I've been using some default behavior where my Show() and >>> Update() commands get sent to the one renderer, but how do I direct them to >>> one or the other? >>> >>> Thank you, >>> >>> -Tom >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> https://public.kitware.com/mailman/listinfo/paraview >>> >> >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: https://public.kitware.com/mailman/listinfo/paraview
