<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">I looked into it.<br>
Seems that I have to get rid of the vtkweb-loader.js and load the
js, tpl and css myself.<br>
<br>
<br>
<br>
Am 29.08.2016 um 10:19 schrieb Daniel Zuidinga:<br>
</div>
<blockquote
cite="mid:d095dace-f185-6381-22dd-fd38171bfcac@seoaachen.de"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<p>Hi,</p>
<p>I try to get pv web visualizer to work inside an angular2
component.</p>
<p>The window opens on server and connection object seems right.
But I get pv is not defined when try to call
<meta charset="UTF-8">
</p>
<p>
<title>Snippet</title>
</p>
<pre style="font-family:Consolas;font-size:13;color:gainsboro;background:#1e1e1e;">pv.initializeVisualizer(...)
</pre>
. Any ideas why this could be?<br>
<p><br>
</p>
<p>ReferenceError: pv is not defined<br>
at start
(<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://localhost:24264/dist/main.js?v=xuC12Bx2k7ItiM0wdgeP9OjgnSb7SIXqeGE04k7xU20:57595:18">http://localhost:24264/dist/main.js?v=xuC12Bx2k7ItiM0wdgeP9OjgnSb7SIXqeGE04k7xU20:57595:18</a>)<br>
at q.connectionInfo.connection.onopen (<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://localhost:24264/lib/core/vtkweb-all.min.js:30:556">http://localhost:24264/lib/core/vtkweb-all.min.js:30:556</a>)<br>
at w.b._session.onjoin (<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://localhost:24264/ext/core/autobahn.min.js:29:210">http://localhost:24264/ext/core/autobahn.min.js:29:210</a>)<br>
at Object.f._socket.onmessage (<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://localhost:24264/ext/core/autobahn.min.js:95:330">http://localhost:24264/ext/core/autobahn.min.js:95:330</a>)<br>
at WebSocket.window.b.onmessage (<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://localhost:24264/ext/core/autobahn.min.js:114:422">http://localhost:24264/ext/core/autobahn.min.js:114:422</a>)<br>
</p>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>
Search the list archives at: <a class="moz-txt-link-freetext" href="http://markmail.org/search/?q=ParaView">http://markmail.org/search/?q=ParaView</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/paraview">http://public.kitware.com/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>