[Paraview] ParaViewWeb and multiple windows

Sgouros, Thomas thomas_sgouros at brown.edu
Mon May 14 10:07:58 EDT 2018


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 <
sebastien.jourdain at kitware.com> 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 <thomas_sgouros at brown.edu>
> 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
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180514/81e2592b/attachment.html>


More information about the ParaView mailing list