[Paraview] Paraview Web inside web app - pv is not defined

Sebastien Jourdain sebastien.jourdain at kitware.com
Tue Aug 30 10:18:03 EDT 2016


You might also be able to use the url for the iframe to inform the
configuration to use some aditional key/pair.

like http://host/pvw?fileToLoad=disk.vtk

That should work too.

Seb

On Tue, Aug 30, 2016 at 1:41 AM, Daniel Zuidinga <info at seoaachen.de> wrote:

> not yet, but an IFrame is enough for me now. I think I have just to add
> the files added by the loader.
>
>
> Am 29.08.2016 um 18:53 schrieb Sebastien Jourdain:
>
> Did you figure out how to load everything by hand?
>
> On Mon, Aug 29, 2016 at 4:47 AM, Daniel Zuidinga <info at seoaachen.de>
> wrote:
>
>>
>> I looked into it.
>> Seems that I have to get rid of the vtkweb-loader.js and load the js, tpl
>> and css myself.
>>
>>
>>
>>
>> Am 29.08.2016 um 10:19 schrieb Daniel Zuidinga:
>>
>> Hi,
>>
>> I try to get pv web visualizer to work inside an angular2 component.
>>
>> The window opens on server and connection object seems right. But I get
>> pv is not defined when try to call
>>
>> pv.initializeVisualizer(...)
>>
>> . Any ideas why this could be?
>>
>>
>> ReferenceError: pv is not defined
>>     at start (http://localhost:24264/dist/main.js?v=xuC12Bx2k7ItiM0wdgeP9
>> OjgnSb7SIXqeGE04k7xU20:57595:18)
>>     at q.connectionInfo.connection.onopen (http://localhost:24264/lib/co
>> re/vtkweb-all.min.js:30:556)
>>     at w.b._session.onjoin (http://localhost:24264/ext/co
>> re/autobahn.min.js:29:210)
>>     at Object.f._socket.onmessage (http://localhost:24264/ext/co
>> re/autobahn.min.js:95:330)
>>     at WebSocket.window.b.onmessage (http://localhost:24264/ext/co
>> re/autobahn.min.js:114:422)
>>
>>
>>
>> _______________________________________________
>> 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:http://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/ParaV
>> iew Search the list archives at: http://markmail.org/search/?q=ParaView
>> Follow this link to subscribe/unsubscribe: http://public.kitware.com/mail
>> man/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160830/c1ae710f/attachment.html>


More information about the ParaView mailing list