<div dir="ltr">In the latest version of ParaViewWeb, I've added the Native implementation of it while the other one was React only. <div>Divvy is the application that use the native one.<div><br></div><div><a href="https://github.com/Kitware/divvy/blob/master/Sources/scatterPlotManager.js#L134-L140">https://github.com/Kitware/divvy/blob/master/Sources/scatterPlotManager.js#L134-L140</a><br></div></div><div><br></div><div>For the client, we initialize it like that:</div><div><a href="https://github.com/Kitware/divvy/blob/master/Sources/client.js#L27-L29">https://github.com/Kitware/divvy/blob/master/Sources/client.js#L27-L29</a><br></div><div><br></div><div>HTH,</div><div><br></div><div>Seb</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 22, 2018 at 12:04 PM, Sgouros, Thomas <span dir="ltr"><<a href="mailto:thomas_sgouros@brown.edu" target="_blank">thomas_sgouros@brown.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>That makes sense. I'm using RemoteRenderer, like this:</div><div><br></div><div>import RemoteRenderer from 'paraviewweb/src/NativeUI/<wbr>Canvas/RemoteRenderer';</div></div><div>...</div><div><div>smartConnect.<wbr>onConnectionReady((connection) => {</div><div>  model.pvwClient =</div><div>    ParaViewWebClient.<wbr>createClient(connection,</div><div>                                   [</div><div>                                     'MouseHandler',</div><div>                                     'ViewPort',</div><div>                                     'ViewPortImageDelivery',</div><div>                                   ],</div><div>                                   amsProtocols);</div><div>  const renderer = new RemoteRenderer(model.<wbr>pvwClient);</div><div> ...</div></div><div><br></div>When I look in my paraviewweb/src/NativeUI/<wbr>Renderers directory, I don't see VtkRenderer, only NativeImageRenderer and RemoteRendererStatsTable. I see VtkRenderer in the other place, though. Are they the same? Do I use them the same way as RemoteRenderer?<div><br></div><div>Thank you,</div><div><br></div><div> -Tom</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 22, 2018 at 1:03 PM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.<wbr>com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ViewPortImageDelivery require the JS side to request a render while VtkImageDelivery allow the server to push the image without the client requesting it (<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">self.getApplication().</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">InvokeE<wbr>vent('UpdateEvent'))</span>.</span><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">VtkImageDelivery is used inside those components:</span><br></span></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-size:12.8px"><a href="https://github.com/Kitware/paraviewweb/tree/master/src/React/Renderers/VtkRenderer" target="_blank">https://github.com/Kitware/par<wbr>aviewweb/tree/master/src/React<wbr>/Renderers/VtkRenderer</a></span><br></span></span></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-size:12.8px"><a href="https://github.com/Kitware/paraviewweb/tree/master/src/NativeUI/Renderers/VtkRenderer" target="_blank">https://github.com/Kitware/par<wbr>aviewweb/tree/master/src/Nativ<wbr>eUI/Renderers/VtkRenderer</a></span><br></span></span></div><div><br></div><div>Which renderer do you use and how do you set it up?</div><div><br></div><div>Seb</div></div><div class="m_-5014033941776761618HOEnZb"><div class="m_-5014033941776761618h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 22, 2018 at 6:38 AM, Sgouros, Thomas <span dir="ltr"><<a href="mailto:thomas_sgouros@brown.edu" target="_blank">thomas_sgouros@brown.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you, but that doesn't seem to change anything for me. Doing this now:<div><br></div><div><div>        self.renderView1.Update()</div><div>        self.getApplication().InvokeEv<wbr>ent('UpdateEvent')</div></div><div><br></div><div>Am I understanding it right that this is communicating with one of the ViewPort or ViewPortImageDelivery protocols? Should I be sure to include one of the other built-in protocols? Right now, I use those two, plus MouseHandler.<div><br></div><div>Thank you,</div><div><br></div><div> -Tom</div></div></div><div class="m_-5014033941776761618m_3524676719014923546HOEnZb"><div class="m_-5014033941776761618m_3524676719014923546h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 21, 2018 at 11:45 PM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.co<wbr>m</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">On the server side you should do something like:<div><a href="https://github.com/Kitware/light-viz/blob/master/server/light_viz_protocols.py#L252" target="_blank">https://github.com/Kitware/lig<wbr>ht-viz/blob/master/server/ligh<wbr>t_viz_protocols.py#L252</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-5014033941776761618m_3524676719014923546m_-6624570865551627070h5">On Wed, Mar 21, 2018 at 4:59 PM, Sgouros, Thomas <span dir="ltr"><<a href="mailto:thomas_sgouros@brown.edu" target="_blank">thomas_sgouros@brown.edu</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-5014033941776761618m_3524676719014923546m_-6624570865551627070h5"><div dir="ltr">Hello all:<div><br></div><div>How do you get the ParaViewWeb client to update the window without clicking in it? I have some controls -- some buttons and sliders -- but when I change them, the view doesn't update until I click in the view frame and move slightly.</div><div><br></div><div>Thank you,<br></div><div><br></div><div> -Tom</div></div>
<br></div></div>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://public.kitware.com/mai<wbr>lman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>