Please take me off this list. I have summit to the unsubscribe on numerous of occasions. It is very aggravating that your system does not work as intended.<br><br><div class="gmail_quote">On Fri, Apr 20, 2012 at 10:11 AM,  <span dir="ltr">&lt;<a href="mailto:vtkusers-request@vtk.org">vtkusers-request@vtk.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send vtkusers mailing list submissions to<br>
        <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:vtkusers-request@vtk.org">vtkusers-request@vtk.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:vtkusers-owner@vtk.org">vtkusers-owner@vtk.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of vtkusers digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: Fill in 2D vtkPolyData (Jonathan Morra)<br>
   2. Re: Fill in 2D vtkPolyData (David Gobbi)<br>
   3. Fwd:  About relationship between a point and a cube (Rong Xu)<br>
   4. Re: [ParaViewWeb] compile problem with class      vtkJPEGWriter<br>
      and function SetInput (Tuan Ha Tran)<br>
   5. Reset Window Level / Pressing &#39;r&#39; key (FrankWhite)<br>
   6. Loading Point Data using Python (Dan Barker)<br>
   7. Re: Reset Window Level / Pressing &#39;r&#39; key (David Doria)<br>
   8. Re: [ParaViewWeb] compile problem with class vtkJPEGWriter<br>
      and function SetInput (Sebastien Jourdain)<br>
   9. Re: Loading Point Data using Python (David E DeMarle)<br>
  10. Re: [ParaViewWeb] compile problem with class      vtkJPEGWriter<br>
      and function SetInput (Tuan Ha Tran)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 19 Apr 2012 10:44:16 -0700<br>
From: Jonathan Morra &lt;<a href="mailto:jonmorra@gmail.com">jonmorra@gmail.com</a>&gt;<br>
Subject: Re: [vtkusers] Fill in 2D vtkPolyData<br>
To: David Gobbi &lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt;<br>
Cc: VTK Mailing List &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;CAF8LAAWhUWEdTFK0=PhyPY0exbsbE3=<a href="mailto:bMYCDwj6yK33N9JVsFw@mail.gmail.com">bMYCDwj6yK33N9JVsFw@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
After using your filter for a little while, for the most part it works<br>
great, however I have discovered a few cases where it doesn&#39;t work.  I&#39;ve<br>
attached a screen shot showing a failure,  The first image is the input<br>
vtkPolyData, and the second is the result of running through your filter.<br>
 Can you determine what is going on?  If not, I&#39;d be happy to give you the<br>
poly data I&#39;m using, just let me know how to export it to disk, and I can<br>
email it to you.<br>
<br>
Thanks<br>
<br>
PS The behavior seems unpredictable, as sometimes with shapes just as<br>
complicated it works fine, I can&#39;t seem to tell what makes it fail.<br>
<br>
[image: Inline image 3]<br>
<br>
[image: Inline image 4]<br>
<br>
<br>
On Tue, Apr 10, 2012 at 12:26 PM, David Gobbi &lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Use the PickableOff() method (on the actor, not the data).<br>
&gt;<br>
&gt; On Tue, Apr 10, 2012 at 1:17 PM, Jonathan Morra &lt;<a href="mailto:jonmorra@gmail.com">jonmorra@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt; &gt; One more question along this same line.  Now that I have opaque<br>
&gt; vtkPolyData,<br>
&gt; &gt; I&#39;m noticing that my vtkPicker is no longer hitting the same data it was<br>
&gt; &gt; before, it&#39;s hitting the now opaque poly data.  This makes sense to me,<br>
&gt; but<br>
&gt; &gt; I don&#39;t want it to happen.  Is there a way to tell the vtkPicker to<br>
&gt; ignore<br>
&gt; &gt; some vtkPolyData (ie always pick the underlying data).<br>
&gt; &gt;<br>
&gt; &gt; Thanks<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20120419/22dffd1f/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20120419/22dffd1f/attachment-0001.htm</a>&gt;<br>

-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: not available<br>
Type: image/png<br>
Size: 27306 bytes<br>
Desc: not available<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20120419/22dffd1f/attachment-0002.png" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20120419/22dffd1f/attachment-0002.png</a>&gt;<br>

-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: not available<br>
Type: image/png<br>
Size: 25353 bytes<br>
Desc: not available<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20120419/22dffd1f/attachment-0003.png" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20120419/22dffd1f/attachment-0003.png</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 19 Apr 2012 12:03:10 -0600<br>
From: David Gobbi &lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt;<br>
Subject: Re: [vtkusers] Fill in 2D vtkPolyData<br>
To: Jonathan Morra &lt;<a href="mailto:jonmorra@gmail.com">jonmorra@gmail.com</a>&gt;<br>
Cc: VTK Mailing List &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;CANwS1=<a href="mailto:EtFBm4QANFf9Y_fS0uRDce58EeJvo8HHK2kFJxa53J7A@mail.gmail.com">EtFBm4QANFf9Y_fS0uRDce58EeJvo8HHK2kFJxa53J7A@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
Hi Jonathan,<br>
<br>
This is why I haven&#39;t added this filter to VTK yet. ?When the input<br>
has multiple contours, the code doesn&#39;t yet have the necessary logic<br>
for determining which contours are holes. ?In your case, it has<br>
incorrectly marked the large contour as a hole.<br>
<br>
Unfortunately I cannot provide you with a timeline for when I will<br>
finish this filter, lately I&#39;ve been crazy busy on other projects.<br>
But if you want to give it a shot yourself, take a look at the code<br>
for?vtkContourToPolygonFilter::MakePolysFromContours(). The<br>
section that needs to be modified is the block that starts with<br>
&quot;if (normal == 0)&quot;.<br>
<br>
?- David<br>
<br>
<br>
On Thu, Apr 19, 2012 at 11:44 AM, Jonathan Morra &lt;<a href="mailto:jonmorra@gmail.com">jonmorra@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; After using your filter for a little while, for the most part it works great, however I have discovered a few cases where it doesn&#39;t work. ?I&#39;ve attached a screen shot showing a failure, ?The first image is the input vtkPolyData, and the second is the result of running through your filter. ?Can you determine what is going on? ?If not, I&#39;d be happy to give you the poly data I&#39;m using, just let me know how to export it to disk, and I can email it to you.<br>

&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; PS The behavior seems unpredictable, as sometimes with shapes just as complicated it works fine, I can&#39;t seem to tell what makes it fail.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Apr 10, 2012 at 12:26 PM, David Gobbi &lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Use the PickableOff() method (on the actor, not the data).<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Apr 10, 2012 at 1:17 PM, Jonathan Morra &lt;<a href="mailto:jonmorra@gmail.com">jonmorra@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; One more question along this same line. ?Now that I have opaque vtkPolyData,<br>
&gt;&gt; &gt; I&#39;m noticing that my vtkPicker is no longer hitting the same data it was<br>
&gt;&gt; &gt; before, it&#39;s hitting the now opaque poly data. ?This makes sense to me, but<br>
&gt;&gt; &gt; I don&#39;t want it to happen. ?Is there a way to tell the vtkPicker to ignore<br>
&gt;&gt; &gt; some vtkPolyData (ie always pick the underlying data).<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks<br>
&gt;<br>
&gt;<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 20 Apr 2012 09:55:09 +0900<br>
From: Rong Xu &lt;<a href="mailto:xurong1981@gmail.com">xurong1981@gmail.com</a>&gt;<br>
Subject: [vtkusers] Fwd:  About relationship between a point and a<br>
        cube<br>
To: VTKUsers &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;CAN=5JPaiVFbaHXMQceXBr0=ozRZQO=xGGgA=<a href="mailto:BruGyiA%2BoQemWA@mail.gmail.com">BruGyiA+oQemWA@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;gb2312&quot;<br>
<br>
Dear David Daria:<br>
<br>
2012/4/20 David Doria &lt;<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>&gt;<br>
<br>
&gt; 2012/4/19 Rong Xu &lt;<a href="mailto:xurong1981@gmail.com">xurong1981@gmail.com</a>&gt;<br>
&gt;<br>
&gt;&gt; Dear all:<br>
&gt;&gt;<br>
&gt;&gt; I am doing work on a judgement about relationship between a point and an<br>
&gt;&gt; arbitrary cube. I have known the 8 coordinates of  the cube vertex and have<br>
&gt;&gt; draw it out, and also I have known the coordinate of one point. Then I want<br>
&gt;&gt; to judge whether this point is inside the cube or outside the cube.<br>
&gt;&gt;<br>
&gt;&gt; One of my idea is first I rotate the arbitrary cube to make its three<br>
&gt;&gt; edges coincide with three axises (x, y, and z), and make one of its<br>
&gt;&gt; vertices on the origin of the coordinate system. But I don&#39;t know whether<br>
&gt;&gt; there are methods in VTK that can be used to realize this purpose ? Or does<br>
&gt;&gt; anyone have any other ideas on judging the relationship between the point<br>
&gt;&gt; and the cube ?<br>
&gt;&gt;<br>
&gt;&gt; Thank you very much for your ideas !<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt; I&#39;m not sure I followed completely, but it sounds like you might be<br>
&gt; looking for a &quot;point inside object&quot; test?<br>
&gt;<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PointInsideObject" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PointInsideObject</a><br>
&gt;<br>
<br>
That&#39;a very useful to realize my purpose, and also save my much time !<br>
<br>
Thank you very much!<br>
<br>
<br>
&gt;<br>
&gt; David<br>
&gt;<br>
<br>
<br>
<br>
--<br>
<br>
---------------------<br>
Best Regards!<br>
<br>
===============================================<br>
Rong Xu,  Ph.D Student<br>
Ohya Lab<br>
Graduate School of Global Information and Telecommunication<br>
Studies (GITS), Waseda University<br>
1-6-1 Nishi Waseda, Shinjuku-ku, Tokyo, Japan (?169-8050)<br>
<br>
Tel:          <a href="tel:%2B81-80-4208-1207" value="+818042081207">+81-80-4208-1207</a><br>
E-mail:     <a href="mailto:xurong1981@gmail.com">xurong1981@gmail.com</a><br>
               <a href="mailto:xurong@fuji.waseda.jp">xurong@fuji.waseda.jp</a><br>
===============================================<br>
<br>
<br>
<br>
<br>
--<br>
<br>
---------------------<br>
Best Regards!<br>
<br>
===============================================<br>
Rong Xu,  Ph.D Student<br>
Ohya Lab<br>
Graduate School of Global Information and Telecommunication<br>
Studies (GITS), Waseda University<br>
1-6-1 Nishi Waseda, Shinjuku-ku, Tokyo, Japan (?169-8050)<br>
<br>
Tel:          <a href="tel:%2B81-80-4208-1207" value="+818042081207">+81-80-4208-1207</a><br>
E-mail:     <a href="mailto:xurong1981@gmail.com">xurong1981@gmail.com</a><br>
               <a href="mailto:xurong@fuji.waseda.jp">xurong@fuji.waseda.jp</a><br>
===============================================<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20120420/741c7abf/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20120420/741c7abf/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Fri, 20 Apr 2012 09:57:49 +0200 (CEST)<br>
From: Tuan Ha Tran &lt;<a href="mailto:tuan-ha.tran@insa-lyon.fr">tuan-ha.tran@insa-lyon.fr</a>&gt;<br>
Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
        vtkJPEGWriter and function SetInput<br>
To: Sebastien Jourdain &lt;<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>&gt;<br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: &lt;8d4f3f55-e720-4fac-b458-1bcee450c0b5@zstore2&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Hi Seb,<br>
   So, in the log file, it &quot;bad X server connections&quot; with &quot;vtkXOpenGLRenderWindow&quot;.<br>
   I checked the configuration of pw-config.properties but nothing abnormal.<br>
   If you have any idea ...<br>
<br>
----- Original Message -----<br>
From: Sebastien Jourdain &lt;<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>&gt;<br>
To: Tuan Ha Tran &lt;<a href="mailto:tuan-ha.tran@insa-lyon.fr">tuan-ha.tran@insa-lyon.fr</a>&gt;<br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>, Frederic Cervenansky &lt;<a href="mailto:frederic.cervenansky@creatis.insa-lyon.fr">frederic.cervenansky@creatis.insa-lyon.fr</a>&gt;<br>
Sent: Thu, 19 Apr 2012 15:30:40 +0200 (CEST)<br>
Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class vtkJPEGWriter and function SetInput<br>
<br>
Try to stop all the services (tomcat + activemq). Remove all the logs<br>
of tomcat and the one that are inside WORK_DIR/logs that you setup in<br>
CMake and that is specified inside the pw-config.propertie.<br>
<br>
Once done, start again activemq and tomcat. Test again and if it<br>
fails, you will have to look at all those logs to see if you have any<br>
feedback of the reason of the issue...<br>
<br>
Seb<br>
<br>
On Thu, Apr 19, 2012 at 4:43 AM, Tuan Ha Tran  wrote:<br>
&gt; Seb,<br>
&gt; All theses problems are gone, but now, the latest :<br>
&gt; When I tried to create a new session, now nothing appears, and I have, in my<br>
&gt; &quot;Apache-activemq&quot; shell &quot;INFO | Transport failed: java.io.EOFException&quot;<br>
&gt; If you can help me ..... thank you very much indeed<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ----- Original Message -----<br>
&gt; From: Sebastien Jourdain<br>
&gt; To: Tuan Ha Tran<br>
&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>, Frederic Cervenansky<br>
&gt;<br>
&gt; Sent: Wed, 18 Apr 2012 19:01:48 +0200 (CEST)<br>
&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt; vtkJPEGWriter and function SetInput<br>
&gt;<br>
&gt; What do you mean by &quot;my apache-tomcat-7.0.26&quot; ?<br>
&gt; If it&#39;s a tgz file that you download with your user, you DO NOT HAVE<br>
&gt; TO read the documentation<br>
&gt; &quot;<a href="http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package" target="_blank">http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package</a>&quot;<br>
&gt;<br>
&gt; By system tomcat, I mean: &quot;apt-get install tomcat&quot;<br>
&gt; And with system tomcat, it is trickier to install ParaViewWeb due to<br>
&gt; security reason... (class path, security grant...)<br>
&gt; That&#39;s why a custom read me is provided otherwise, you just setup a<br>
&gt; path where you want tomcat to write its data and that&#39;s it...<br>
&gt;<br>
&gt; Seb<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Apr 18, 2012 at 12:52 PM, Sebastien Jourdain<br>
&gt; wrote:<br>
&gt;&gt; How did you installed tomcat ?<br>
&gt;&gt;<br>
&gt;&gt; Seb<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Apr 18, 2012 at 11:59 AM, Tuan Ha Tran<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt; So the result is &quot;No&quot;, always the same error.<br>
&gt;&gt;&gt; Yes, another information : I didn&#39;t find any file named<br>
&gt;&gt;&gt;              /etc/init.d/tomcat6,<br>
&gt;&gt;&gt;              /var/lib/tomcat6/conf/policy.d/03catalina.policy,<br>
&gt;&gt;&gt;              /var/lib/tomcat6/conf/policy.d/04webapps.policy<br>
&gt;&gt;&gt; so I went to conf folder in my apache-tomcat-7.0.26 and added all in<br>
&gt;&gt;&gt; &quot;catalina.policy&quot;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt; From: Tuan Ha Tran<br>
&gt;&gt;&gt; To: Sebastien Jourdain<br>
&gt;&gt;&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>, Frederic Cervenansky<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Sent: Wed, 18 Apr 2012 17:53:48 +0200 (CEST)<br>
&gt;&gt;&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt;&gt;&gt; vtkJPEGWriter and function SetInput<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thank you for your reponse.<br>
&gt;&gt;&gt; As I said, I followed the tutorial in the<br>
&gt;&gt;&gt; &quot;<a href="http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package" target="_blank">http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package</a>&quot;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; cd ..<br>
&gt;&gt;&gt; chown -R tomcat6 paraviewweb-work<br>
&gt;&gt;&gt; chgrp -R tomcat6 paraviewweb-work<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; And, the right is set to tomcat (because there is an error &quot;no user named<br>
&gt;&gt;&gt; tomcat6&quot;) (I don&#39;t know if we can use root)<br>
&gt;&gt;&gt; However, I will try with root and we&#39;ll see.<br>
&gt;&gt;&gt; Thank again Seb<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt; From: Sebastien Jourdain<br>
&gt;&gt;&gt; To: Tuan Ha Tran<br>
&gt;&gt;&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>, Frederic Cervenansky<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Sent: Wed, 18 Apr 2012 17:31:51 +0200 (CEST)<br>
&gt;&gt;&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt;&gt;&gt; vtkJPEGWriter and function SetInput<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi Tuan,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Those your local tomcat that run under your user has the right to<br>
&gt;&gt;&gt; write in that directory ?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; /var/lib/tomcat6/paraviewweb-work/ ?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Seb<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, Apr 18, 2012 at 11:10 AM, Tuan Ha Tran<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt; Hi Seb,<br>
&gt;&gt;&gt;&gt;     I have another thing to ask you (I&#39;m sorry if this question is<br>
&gt;&gt;&gt;&gt; already<br>
&gt;&gt;&gt;&gt; asked, but I found my problem different)<br>
&gt;&gt;&gt;&gt;     I use super build to build ParaViewWeb with all the settings by<br>
&gt;&gt;&gt;&gt; default.<br>
&gt;&gt;&gt;&gt; It&#39;s done.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;     Next :<br>
&gt;&gt;&gt;&gt;     - I downloaded the apache-tomcat-7.0.26<br>
&gt;&gt;&gt;&gt;     - Copied all the *.war generated by the SuperBuild into<br>
&gt;&gt;&gt;&gt; tomcat7.0.26&#39;s<br>
&gt;&gt;&gt;&gt; webapps folder<br>
&gt;&gt;&gt;&gt;     - Copied pw-config.properties into apache-tomcat-7.0.26/lib<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;     To run PWApps,<br>
&gt;&gt;&gt;&gt;     - I started JMS broker d4apache Activemq, the latest version is<br>
&gt;&gt;&gt;&gt; 5.5.1<br>
&gt;&gt;&gt;&gt; (./activemq-admin start)<br>
&gt;&gt;&gt;&gt;     - I started server Tomcat (./catalina.sh start)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;     Result: when I tried to open a session in PWApps @<br>
&gt;&gt;&gt;&gt; <a href="http://localhost:8080/PWApp/" target="_blank">http://localhost:8080/PWApp/</a><br>
&gt;&gt;&gt;&gt;     the error appeared : An error occured during the loading.<br>
&gt;&gt;&gt;&gt; org.hibernate.exception.GenericJDBCException: Cannot open connection<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;     It&#39;s absolutely a problem with hibernate, the connection with the<br>
&gt;&gt;&gt;&gt; database. But I don&#39;t quite understand how to fix this.<br>
&gt;&gt;&gt;&gt;     Do we have to modify pw-config.properties? What do we have to do?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;     About the working directory, I followed the tutorial @<br>
&gt;&gt;&gt;&gt; <a href="http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package" target="_blank">http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package</a>.<br>
&gt;&gt;&gt;&gt;     Thank you for your help.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ********************************************************************<br>
&gt;&gt;&gt;&gt; ***************** pw-config.properties<br>
&gt;&gt;&gt;&gt; **********************************<br>
&gt;&gt;&gt;&gt; ********************************************************************<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; # Directory used to store application files<br>
&gt;&gt;&gt;&gt; pw.working.directory=/var/lib/tomcat6/paraviewweb-work/<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; # Logging level that should be used [DEBUG, INFO, WARNING, ERROR,<br>
&gt;&gt;&gt;&gt; CRITICAL]<br>
&gt;&gt;&gt;&gt; pw.logging.level=ERROR<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; # Do we enable logging [on, off, yes, no]<br>
&gt;&gt;&gt;&gt; paraview.logging=OFF<br>
&gt;&gt;&gt;&gt; pw.logging=ON<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; # Inactivity timeout for garbage collecting PWServer applications<br>
&gt;&gt;&gt;&gt; # time is given in minute<br>
&gt;&gt;&gt;&gt; pw.garbage.collector.timeout=5<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; # Administration page user credentials<br>
&gt;&gt;&gt;&gt; pw.admin.login=admin<br>
&gt;&gt;&gt;&gt; pw.admin.password=admin<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; # Total number of resources available<br>
&gt;&gt;&gt;&gt; pw.max.resources=5<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; # PWServer executable path settings<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; pw.executable.path.default=/var/lib/tomcat6/paraviewweb-work/bin/PWServer.sh<br>
&gt;&gt;&gt;&gt; #<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; pw.executable.path.parallel=/home/thtran/projects/ParaViewWeb/install-pw/bin/PWServer<br>
&gt;&gt;&gt;&gt; # pw.executable.path.manta=/home/seb/tmp/ParaWeb-work/exec/manta.sh<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; # pvserver executable path settings<br>
&gt;&gt;&gt;&gt; # pvserver.executable.path.demo=/home/seb/tmp/ParaWeb-work/exec/demo.sh<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; # Plugin directory settings<br>
&gt;&gt;&gt;&gt; pw.plugins.default=/var/lib/tomcat6/paraviewweb-work/plugins<br>
&gt;&gt;&gt;&gt; # pw.plugins.parallel=/usr/local/PVW/PWSer_WD/plugins<br>
&gt;&gt;&gt;&gt; # pw.plugins.manta=/usr/local/PVW/PWSer_WD/plugins<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; # Resource consumption definition<br>
&gt;&gt;&gt;&gt; pw.resource.consumption.default=1<br>
&gt;&gt;&gt;&gt; # pw.resource.consumption.parallel=4<br>
&gt;&gt;&gt;&gt; # pw.resource.consumption.manta=2<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; # Optional thirdpart properties<br>
&gt;&gt;&gt;&gt; pw.gwt-app.data=/var/lib/tomcat6/paraviewweb-work/data<br>
&gt;&gt;&gt;&gt; pw.gwt-app.states=/var/lib/tomcat6/paraviewweb-work/states<br>
&gt;&gt;&gt;&gt; # pw.gwt-app.webgl=/usr/local/PVW/PWSer_WD/webgl<br>
&gt;&gt;&gt;&gt; pw.gwt-app.confs=default<br>
&gt;&gt;&gt;&gt; # Optional PWApp upload properties<br>
&gt;&gt;&gt;&gt; # - size in MegaBytes<br>
&gt;&gt;&gt;&gt; # - timeout in minute<br>
&gt;&gt;&gt;&gt; # - types provides the set of extension allowed<br>
&gt;&gt;&gt;&gt; pw.gwt-app.upload.size=10<br>
&gt;&gt;&gt;&gt; pw.gwt-app.upload.timeout=2<br>
&gt;&gt;&gt;&gt; pw.gwt-app.upload.types=vtp:vtk<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; # Remote server command line<br>
&gt;&gt;&gt;&gt; #  * Tomcat will call any script in the following directory and will<br>
&gt;&gt;&gt;&gt; execute<br>
&gt;&gt;&gt;&gt; the<br>
&gt;&gt;&gt;&gt; #    following command line where portnumber is an available portnumber:<br>
&gt;&gt;&gt;&gt; #       &gt; fullScriptPath username password<br>
&gt;&gt;&gt;&gt; #  * Documentation on How to start a pvserver<br>
&gt;&gt;&gt;&gt; #    - <a href="http://www.cmake.org/Wiki/Setting_up_a_ParaView_Server" target="_blank">http://www.cmake.org/Wiki/Setting_up_a_ParaView_Server</a><br>
&gt;&gt;&gt;&gt; # pw.remote.settings=/usr/local/PVW/PWSer_WD/remote-settings<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; pw.remote.log.dir=/var/lib/tomcat6/paraviewweb-work/logs<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; # Optional PWStateApp working directory<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; pw.state.working.directory=/var/lib/tomcat6/paraviewweb-work/states-workdir<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ***********************************************************<br>
&gt;&gt;&gt;&gt; ************ end of pw-config.properties*************************<br>
&gt;&gt;&gt;&gt; ***********************************************************<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt;&gt; From: Sebastien Jourdain<br>
&gt;&gt;&gt;&gt; To: Tuan Ha Tran<br>
&gt;&gt;&gt;&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
&gt;&gt;&gt;&gt; Sent: Fri, 06 Apr 2012 19:33:40 +0200 (CEST)<br>
&gt;&gt;&gt;&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt;&gt;&gt;&gt; vtkJPEGWriter and function SetInput<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; You should use ParaView 3.14.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I&#39;m sure you are doing something wrong that I&#39;m not aware of, because<br>
&gt;&gt;&gt;&gt; I&#39;m using ParaViewWeb with ParaView 3.14 myself. So if I managed to<br>
&gt;&gt;&gt;&gt; build it, you should too, unless we are doing something different.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; What did you do with the SuperBuild ? Did it manage to fetch ParaView<br>
&gt;&gt;&gt;&gt; and ParaViewWeb and start building those as well as their dependency<br>
&gt;&gt;&gt;&gt; like apr ?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Seb<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Fri, Apr 6, 2012 at 11:04 AM, Tuan Ha Tran wrote:<br>
&gt;&gt;&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;&gt;&gt;  I tried your solution with SuperBuild but the problem still exist.<br>
&gt;&gt;&gt;&gt;&gt;  I wonder if I should reuse ParaView 3.10.1?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;  Thank you Seb<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt;&gt;&gt; From: &quot;Sebastien Jourdain&quot;<br>
&gt;&gt;&gt;&gt;&gt; To: &quot;Tuan Ha Tran&quot;<br>
&gt;&gt;&gt;&gt;&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
&gt;&gt;&gt;&gt;&gt; Sent: Friday, April 6, 2012 4:53:43 PM<br>
&gt;&gt;&gt;&gt;&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt;&gt;&gt;&gt;&gt; vtkJPEGWriter and function SetInput<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Hi Tuan Ha Tran,<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; The documentation was written when ParaView 3.10 was out and that<br>
&gt;&gt;&gt;&gt;&gt; version was lacking some fixed that were on git/master at that time<br>
&gt;&gt;&gt;&gt;&gt; but I should definitely update the documentation to recommend to use<br>
&gt;&gt;&gt;&gt;&gt; ParaView 3.14 and not git/master.<br>
&gt;&gt;&gt;&gt;&gt; In fact, two weeks ago the latest changes in VTK that breaks its<br>
&gt;&gt;&gt;&gt;&gt; backward compatibility went into ParaView and for which I didn&#39;t get<br>
&gt;&gt;&gt;&gt;&gt; the time to update ParaViewWeb.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Regarding your ParaView build issue, I&#39;m wondering what you did... But<br>
&gt;&gt;&gt;&gt;&gt; anyway, if you want to ease the build process, you should definitely<br>
&gt;&gt;&gt;&gt;&gt; try to use the SuperBuild package so every third party get<br>
&gt;&gt;&gt;&gt;&gt; automatically compiled for you with the correct arguments and options.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; <a href="http://www.paraview.org/Wiki/ParaViewWeb_SuperBuild" target="_blank">http://www.paraview.org/Wiki/ParaViewWeb_SuperBuild</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Seb<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; On Fri, Apr 6, 2012 at 9:25 AM, Tuan Ha Tran wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt; Seb,<br>
&gt;&gt;&gt;&gt;&gt;&gt; Thank you for your reply. I just followed the instructions in the<br>
&gt;&gt;&gt;&gt;&gt;&gt; ParaViewWeb site.<br>
&gt;&gt;&gt;&gt;&gt;&gt; - Mkdir ParaViewWeb<br>
&gt;&gt;&gt;&gt;&gt;&gt; - Clone git from it address<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I used the Ccmake command (in build-pw) for the source in the<br>
&gt;&gt;&gt;&gt;&gt;&gt; ParaViewWeb<br>
&gt;&gt;&gt;&gt;&gt;&gt; directory (build-pw is a sub-directory of ParaViewWeb). I compiled and<br>
&gt;&gt;&gt;&gt;&gt;&gt; then<br>
&gt;&gt;&gt;&gt;&gt;&gt; the errors.<br>
&gt;&gt;&gt;&gt;&gt;&gt; I used the latest release (3.14) of ParaView.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; there was a problem with ParaView, it is the problem of share library.<br>
&gt;&gt;&gt;&gt;&gt;&gt; but I resolved this by adding -fPIC in the CFLAGS and CXXFLAGS, I<br>
&gt;&gt;&gt;&gt;&gt;&gt; don&#39;t<br>
&gt;&gt;&gt;&gt;&gt;&gt; know<br>
&gt;&gt;&gt;&gt;&gt;&gt; if that is the problem.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; so, the vtkJPEGWriter is in the ParaView folder?<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Thank you once more.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt;&gt;&gt;&gt; From: &quot;Sebastien Jourdain&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt; To: &quot;Tuan Ha Tran&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; Sent: Friday, April 6, 2012 3:11:17 PM<br>
&gt;&gt;&gt;&gt;&gt;&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt;&gt;&gt;&gt;&gt;&gt; vtkJPEGWriter and function SetInput<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Hi Tuan Ha Tran,<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; how did you build ParaViewWeb ? Did you do from the super build or<br>
&gt;&gt;&gt;&gt;&gt;&gt; from the main repository ?<br>
&gt;&gt;&gt;&gt;&gt;&gt; ParaViewWeb basically rely on ParaView that embed VTK which embed that<br>
&gt;&gt;&gt;&gt;&gt;&gt; vtkJPEGWriter.cxx<br>
&gt;&gt;&gt;&gt;&gt;&gt; Which version of ParaView did you used ? The latest release (3.14) is<br>
&gt;&gt;&gt;&gt;&gt;&gt; known to work...<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Seb<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On Fri, Apr 6, 2012 at 5:12 AM, Tuan Ha Tran wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi everybody,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;   I have a problem when trying to compile ParaViewWeb<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;   This is the detail of my problem<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ***********************************************************************<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; %] Built target ParaWebPlugin<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Scanning dependencies of target PWServer<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [ 30%] Building CXX object<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ParaViewAdapter/CMakeFiles/PWServer.dir/vtkPWProcessingEngine.cxx.o<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/thtran/projects/ParaViewWeb/ParaViewAdapter/vtkPWProcessingEngine.cxx:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; In member function ?double<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; vtkPWProcessingEngine::ProcessAndSendImage(const<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; char*, vtkImageData*)?:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/thtran/projects/ParaViewWeb/ParaViewAdapter/vtkPWProcessingEngine.cxx:439:19:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; error: ?class vtkJPEGWriter? has no member named ?SetInput?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/thtran/projects/ParaViewWeb/ParaViewAdapter/vtkPWProcessingEngine.cxx:448:18:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; error: ?class vtkPNGWriter? has no member named ?SetInput?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; make[2]: ***<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; [ParaViewAdapter/CMakeFiles/PWServer.dir/vtkPWProcessingEngine.cxx.o]<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Error<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; 1<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; make[1]: *** [ParaViewAdapter/CMakeFiles/PWServer.dir/all] Error 2<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; make: *** [all] Error 2<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; *************************************************************************<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; When I went to the &quot;wtkPWProcesingEngine.cxx&quot;, I found out that<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; wtkJPEGWriter is included by #include vtkJPEGWriter.h&quot;. But I<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; couldn&#39;t<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; find<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; wtkJPEGWriter.h neither vtkJPEGWriter.cxx.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; When I tried to look for vtkJPEGWriter.cxx by Google, I found this<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; file<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; but I couldn&#39;t find any function &quot;SetInput&quot;.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; When I tried to deactivate the line where SetInput is located,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ParaViewWeb compile, but I think there are some problems with it.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I want to know if someone has the same problem? How to fix that?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Thank you all.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Ha<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20120420/a1576e71/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20120420/a1576e71/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Fri, 20 Apr 2012 02:42:21 -0700 (PDT)<br>
From: FrankWhite &lt;<a href="mailto:frankwhite@live.nl">frankwhite@live.nl</a>&gt;<br>
Subject: [vtkusers] Reset Window Level / Pressing &#39;r&#39; key<br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: &lt;<a href="mailto:1334914941826-5653790.post@n5.nabble.com">1334914941826-5653790.post@n5.nabble.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi<br>
<br>
Does anyone know the code behind pressing the &#39;r&#39; key or how to duplicate<br>
its functionality?<br>
<br>
I want the camera to reset such that all actors are in the center of the<br>
window.<br>
<br>
I tried:<br>
- renderer-&gt;ResetCamera();<br>
- renderer-&gt;Render();<br>
- Invoking the ResetWindowLevel event<br>
- ..<br>
<br>
None seem to do the job right. Only when I press &#39;r&#39; it is centered<br>
correctly.<br>
<br>
I hope someone can shed some light over this.<br>
<br>
Thanks in advance.<br>
<br>
Frank W.<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Reset-Window-Level-Pressing-r-key-tp5653790p5653790.html" target="_blank">http://vtk.1045678.n5.nabble.com/Reset-Window-Level-Pressing-r-key-tp5653790p5653790.html</a><br>

Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Fri, 20 Apr 2012 11:05:10 +0000<br>
From: Dan Barker &lt;<a href="mailto:dbpvusrlist@hotmail.co.uk">dbpvusrlist@hotmail.co.uk</a>&gt;<br>
Subject: [vtkusers] Loading Point Data using Python<br>
To: &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;<br>
Message-ID: &lt;DUB111-W280B736982AC122574DA28E4220@phx.gbl&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
<br>
Dear All,<br>
I have some data files which are written by our simulation they are .vtp format with point data. Each point has several properties such as &quot;Density&quot; or &quot;Pressure&quot; associated with it. I wish to load these files using a python script which I can then use to look at their properties and extract the results I&#39;m interested in. I have successfully loaded the files and I can read the points positions&#39; but I have no idea how to access the accompanying properties, could anybody suggest how to do this?<br>

Currently to load the file I am doing the following;<br>
reader = vtk.vtkXMLPolyDataReader()reader.SetFileName(file)reader.Update()data = reader.GetOutput()data.Update()<br>
print(str(type(data)))  #outputs &lt;type &#39;vtkobject&#39;&gt;<br>
 for i in range(data.GetNumberOfPoints()):  p = data.GetPoints().GetPoint(i) #p is a tuple with the x,y &amp; z coordinates.<br>
<br>
Thanks,<br>
Dan<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20120420/3aed46ea/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20120420/3aed46ea/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Fri, 20 Apr 2012 08:07:17 -0400<br>
From: David Doria &lt;<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>&gt;<br>
Subject: Re: [vtkusers] Reset Window Level / Pressing &#39;r&#39; key<br>
To: FrankWhite &lt;<a href="mailto:frankwhite@live.nl">frankwhite@live.nl</a>&gt;<br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
        &lt;<a href="mailto:CABDpjTk0v3LALGffyQUX5%2BLbaTPBWTxbgREM6fvHGNaGGzq8dw@mail.gmail.com">CABDpjTk0v3LALGffyQUX5+LbaTPBWTxbgREM6fvHGNaGGzq8dw@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
On Fri, Apr 20, 2012 at 5:42 AM, FrankWhite &lt;<a href="mailto:frankwhite@live.nl">frankwhite@live.nl</a>&gt; wrote:<br>
<br>
&gt; Hi<br>
&gt;<br>
&gt; Does anyone know the code behind pressing the &#39;r&#39; key or how to duplicate<br>
&gt; its functionality?<br>
&gt;<br>
&gt; I want the camera to reset such that all actors are in the center of the<br>
&gt; window.<br>
&gt;<br>
&gt; I tried:<br>
&gt; - renderer-&gt;ResetCamera();<br>
&gt; - renderer-&gt;Render();<br>
&gt; - Invoking the ResetWindowLevel event<br>
&gt; - ..<br>
&gt;<br>
&gt; None seem to do the job right. Only when I press &#39;r&#39; it is centered<br>
&gt; correctly.<br>
&gt;<br>
&gt; I hope someone can shed some light over this.<br>
&gt;<br>
&gt; Thanks in advance.<br>
&gt;<br>
&gt; Frank W.<br>
&gt;<br>
<br>
In vtkInteractorStyle.cxx this is the relevant code in the OnChar()<br>
function:<br>
<br>
    case &#39;r&#39; :<br>
    case &#39;R&#39; :<br>
      this-&gt;FindPokedRenderer(rwi-&gt;GetEventPosition()[0],<br>
                              rwi-&gt;GetEventPosition()[1]);<br>
      if(this-&gt;CurrentRenderer!=0)<br>
        {<br>
        this-&gt;CurrentRenderer-&gt;ResetCamera();<br>
        }<br>
      else<br>
        {<br>
        vtkWarningMacro(&lt;&lt;&quot;no current renderer on the interactor style.&quot;);<br>
        }<br>
      rwi-&gt;Render();<br>
      break;<br>
<br>
As you can see all it does is call ResetCamera(). The centering is exactly<br>
the job of the ResetCamera() function - why do you think it is not working<br>
correctly? Can you make the shortest possible example to show us a case<br>
where it doesn&#39;t work?<br>
<br>
David<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20120420/79ceb010/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20120420/79ceb010/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 8<br>
Date: Fri, 20 Apr 2012 08:11:37 -0400<br>
From: Sebastien Jourdain &lt;<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>&gt;<br>
Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
        vtkJPEGWriter and function SetInput<br>
To: Tuan Ha Tran &lt;<a href="mailto:tuan-ha.tran@insa-lyon.fr">tuan-ha.tran@insa-lyon.fr</a>&gt;<br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
        &lt;CABObKxcXMA2VAH6YZokPq=<a href="mailto:6inTW6-JLH89GdtRGaowoGSSs34Q@mail.gmail.com">6inTW6-JLH89GdtRGaowoGSSs34Q@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=windows-1252<br>
<br>
Sure I do.<br>
<br>
The PWServer process need to have access to the X server as it is<br>
using OpenGL to do the rendering.<br>
Basically tomcat need to run on a graphical session, and that session<br>
needs to remains open. Otherwise, you will need to build ParaView with<br>
OSMesa. OSMesa will use the CPU instead of of the GPU and therefore<br>
will be slower but then you will be able to run the server without any<br>
graphical session.<br>
<br>
That&#39;s the whole purpose of that wiki section which is meant to<br>
advanced user that have some constraints on their deployment... (No<br>
GPU and want to use system package)<br>
<br>
ParaViewWeb with system tomcat package: This section explain how to<br>
use a system tomcat package with ParaViewWeb on headless server.<br>
(Offscreen rendering + system security setting)<br>
<br>
Seb<br>
<br>
On Fri, Apr 20, 2012 at 3:57 AM, Tuan Ha Tran &lt;<a href="mailto:tuan-ha.tran@insa-lyon.fr">tuan-ha.tran@insa-lyon.fr</a>&gt; wrote:<br>
&gt; Hi Seb,<br>
&gt; ?? So, in the log file, it &quot;bad X server connections&quot;<br>
&gt; with?&quot;vtkXOpenGLRenderWindow&quot;.<br>
&gt; ?? I checked the configuration of pw-config.properties but nothing abnormal.<br>
&gt; ?? If you have any idea ...<br>
&gt;<br>
&gt;<br>
&gt; ----- Original Message -----<br>
&gt; From: Sebastien Jourdain &lt;<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>&gt;<br>
&gt; To: Tuan Ha Tran &lt;<a href="mailto:tuan-ha.tran@insa-lyon.fr">tuan-ha.tran@insa-lyon.fr</a>&gt;<br>
&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>, Frederic Cervenansky<br>
&gt; &lt;<a href="mailto:frederic.cervenansky@creatis.insa-lyon.fr">frederic.cervenansky@creatis.insa-lyon.fr</a>&gt;<br>
&gt; Sent: Thu, 19 Apr 2012 15:30:40 +0200 (CEST)<br>
&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt; vtkJPEGWriter and function SetInput<br>
&gt;<br>
&gt; Try to stop all the services (tomcat + activemq). Remove all the logs<br>
&gt; of tomcat and the one that are inside WORK_DIR/logs that you setup in<br>
&gt; CMake and that is specified inside the pw-config.propertie.<br>
&gt;<br>
&gt; Once done, start again activemq and tomcat. Test again and if it<br>
&gt; fails, you will have to look at all those logs to see if you have any<br>
&gt; feedback of the reason of the issue...<br>
&gt;<br>
&gt; Seb<br>
&gt;<br>
&gt; On Thu, Apr 19, 2012 at 4:43 AM, Tuan Ha Tran wrote:<br>
&gt;&gt; Seb,<br>
&gt;&gt; All theses problems are gone, but now, the latest :<br>
&gt;&gt; When I tried to create a new session, now nothing appears, and I have, in<br>
&gt;&gt; my<br>
&gt;&gt; &quot;Apache-activemq&quot; shell &quot;INFO | Transport failed: java.io.EOFException&quot;<br>
&gt;&gt; If you can help me ..... thank you very much indeed<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ----- Original Message -----<br>
&gt;&gt; From: Sebastien Jourdain<br>
&gt;&gt; To: Tuan Ha Tran<br>
&gt;&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>, Frederic Cervenansky<br>
&gt;&gt;<br>
&gt;&gt; Sent: Wed, 18 Apr 2012 19:01:48 +0200 (CEST)<br>
&gt;&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt;&gt; vtkJPEGWriter and function SetInput<br>
&gt;&gt;<br>
&gt;&gt; What do you mean by &quot;my apache-tomcat-7.0.26&quot; ?<br>
&gt;&gt; If it&#39;s a tgz file that you download with your user, you DO NOT HAVE<br>
&gt;&gt; TO read the documentation<br>
&gt;&gt; &quot;<a href="http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package" target="_blank">http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package</a>&quot;<br>
&gt;&gt;<br>
&gt;&gt; By system tomcat, I mean: &quot;apt-get install tomcat&quot;<br>
&gt;&gt; And with system tomcat, it is trickier to install ParaViewWeb due to<br>
&gt;&gt; security reason... (class path, security grant...)<br>
&gt;&gt; That&#39;s why a custom read me is provided otherwise, you just setup a<br>
&gt;&gt; path where you want tomcat to write its data and that&#39;s it...<br>
&gt;&gt;<br>
&gt;&gt; Seb<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Apr 18, 2012 at 12:52 PM, Sebastien Jourdain<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt; How did you installed tomcat ?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Seb<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, Apr 18, 2012 at 11:59 AM, Tuan Ha Tran<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt; So the result is &quot;No&quot;, always the same error.<br>
&gt;&gt;&gt;&gt; Yes, another information : I didn&#39;t find any file named<br>
&gt;&gt;&gt;&gt; ???????????? /etc/init.d/tomcat6,<br>
&gt;&gt;&gt;&gt; ???????????? /var/lib/tomcat6/conf/policy.d/03catalina.policy,<br>
&gt;&gt;&gt;&gt; ???????????? /var/lib/tomcat6/conf/policy.d/04webapps.policy<br>
&gt;&gt;&gt;&gt; so I went to conf folder in my apache-tomcat-7.0.26 and added all in<br>
&gt;&gt;&gt;&gt; &quot;catalina.policy&quot;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt;&gt; From: Tuan Ha Tran<br>
&gt;&gt;&gt;&gt; To: Sebastien Jourdain<br>
&gt;&gt;&gt;&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>, Frederic Cervenansky<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Sent: Wed, 18 Apr 2012 17:53:48 +0200 (CEST)<br>
&gt;&gt;&gt;&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt;&gt;&gt;&gt; vtkJPEGWriter and function SetInput<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thank you for your reponse.<br>
&gt;&gt;&gt;&gt; As I said, I followed the tutorial in the<br>
&gt;&gt;&gt;&gt; &quot;<a href="http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package" target="_blank">http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package</a>&quot;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; cd ..<br>
&gt;&gt;&gt;&gt; chown -R tomcat6 paraviewweb-work<br>
&gt;&gt;&gt;&gt; chgrp -R tomcat6 paraviewweb-work<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; And, the right is set to tomcat (because there is an error &quot;no user<br>
&gt;&gt;&gt;&gt; named<br>
&gt;&gt;&gt;&gt; tomcat6&quot;) (I don&#39;t know if we can use root)<br>
&gt;&gt;&gt;&gt; However, I will try with root and we&#39;ll see.<br>
&gt;&gt;&gt;&gt; Thank again Seb<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt;&gt; From: Sebastien Jourdain<br>
&gt;&gt;&gt;&gt; To: Tuan Ha Tran<br>
&gt;&gt;&gt;&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>, Frederic Cervenansky<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Sent: Wed, 18 Apr 2012 17:31:51 +0200 (CEST)<br>
&gt;&gt;&gt;&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt;&gt;&gt;&gt; vtkJPEGWriter and function SetInput<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi Tuan,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Those your local tomcat that run under your user has the right to<br>
&gt;&gt;&gt;&gt; write in that directory ?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; /var/lib/tomcat6/paraviewweb-work/ ?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Seb<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Wed, Apr 18, 2012 at 11:10 AM, Tuan Ha Tran<br>
&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt; Hi Seb,<br>
&gt;&gt;&gt;&gt;&gt; ??? I have another thing to ask you (I&#39;m sorry if this question is<br>
&gt;&gt;&gt;&gt;&gt; already<br>
&gt;&gt;&gt;&gt;&gt; asked, but I found my problem different)<br>
&gt;&gt;&gt;&gt;&gt; ? ? I use super build to build ParaViewWeb with all the settings by<br>
&gt;&gt;&gt;&gt;&gt; default.<br>
&gt;&gt;&gt;&gt;&gt; It&#39;s done.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ? ? Next :<br>
&gt;&gt;&gt;&gt;&gt; ? ? - I downloaded the apache-tomcat-7.0.26<br>
&gt;&gt;&gt;&gt;&gt; ? ? - Copied all the *.war generated by the SuperBuild into<br>
&gt;&gt;&gt;&gt;&gt; tomcat7.0.26&#39;s<br>
&gt;&gt;&gt;&gt;&gt; webapps folder<br>
&gt;&gt;&gt;&gt;&gt; ??? - Copied pw-config.properties into apache-tomcat-7.0.26/lib<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ??? To run PWApps,<br>
&gt;&gt;&gt;&gt;&gt; ??? - I started JMS broker d4apache Activemq, the latest version is<br>
&gt;&gt;&gt;&gt;&gt; 5.5.1<br>
&gt;&gt;&gt;&gt;&gt; (./activemq-admin start)<br>
&gt;&gt;&gt;&gt;&gt; ??? - I started server Tomcat (./catalina.sh start)<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ??? Result: when I tried to open a session in PWApps @<br>
&gt;&gt;&gt;&gt;&gt; <a href="http://localhost:8080/PWApp/" target="_blank">http://localhost:8080/PWApp/</a><br>
&gt;&gt;&gt;&gt;&gt; ??? the error appeared : An error occured during the loading.<br>
&gt;&gt;&gt;&gt;&gt; org.hibernate.exception.GenericJDBCException: Cannot open connection<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ??? It&#39;s absolutely a problem with hibernate, the connection with the<br>
&gt;&gt;&gt;&gt;&gt; database. But I don&#39;t quite understand how to fix this.<br>
&gt;&gt;&gt;&gt;&gt; ??? Do we have to modify pw-config.properties? What do we have to do?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ??? About the working directory, I followed the tutorial @<br>
&gt;&gt;&gt;&gt;&gt; <a href="http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package" target="_blank">http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package</a>.<br>
&gt;&gt;&gt;&gt;&gt; ? ? Thank you for your help.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ********************************************************************<br>
&gt;&gt;&gt;&gt;&gt; ***************** pw-config.properties<br>
&gt;&gt;&gt;&gt;&gt; **********************************<br>
&gt;&gt;&gt;&gt;&gt; ********************************************************************<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Directory used to store application files<br>
&gt;&gt;&gt;&gt;&gt; pw.working.directory=/var/lib/tomcat6/paraviewweb-work/<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Logging level that should be used [DEBUG, INFO, WARNING, ERROR,<br>
&gt;&gt;&gt;&gt;&gt; CRITICAL]<br>
&gt;&gt;&gt;&gt;&gt; pw.logging.level=ERROR<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Do we enable logging [on, off, yes, no]<br>
&gt;&gt;&gt;&gt;&gt; paraview.logging=OFF<br>
&gt;&gt;&gt;&gt;&gt; pw.logging=ON<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Inactivity timeout for garbage collecting PWServer applications<br>
&gt;&gt;&gt;&gt;&gt; # time is given in minute<br>
&gt;&gt;&gt;&gt;&gt; pw.garbage.collector.timeout=5<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Administration page user credentials<br>
&gt;&gt;&gt;&gt;&gt; pw.admin.login=admin<br>
&gt;&gt;&gt;&gt;&gt; pw.admin.password=admin<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Total number of resources available<br>
&gt;&gt;&gt;&gt;&gt; pw.max.resources=5<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # PWServer executable path settings<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; pw.executable.path.default=/var/lib/tomcat6/paraviewweb-work/bin/PWServer.sh<br>
&gt;&gt;&gt;&gt;&gt; #<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; pw.executable.path.parallel=/home/thtran/projects/ParaViewWeb/install-pw/bin/PWServer<br>
&gt;&gt;&gt;&gt;&gt; # pw.executable.path.manta=/home/seb/tmp/ParaWeb-work/exec/manta.sh<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # pvserver executable path settings<br>
&gt;&gt;&gt;&gt;&gt; # pvserver.executable.path.demo=/home/seb/tmp/ParaWeb-work/exec/demo.sh<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Plugin directory settings<br>
&gt;&gt;&gt;&gt;&gt; pw.plugins.default=/var/lib/tomcat6/paraviewweb-work/plugins<br>
&gt;&gt;&gt;&gt;&gt; # pw.plugins.parallel=/usr/local/PVW/PWSer_WD/plugins<br>
&gt;&gt;&gt;&gt;&gt; # pw.plugins.manta=/usr/local/PVW/PWSer_WD/plugins<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Resource consumption definition<br>
&gt;&gt;&gt;&gt;&gt; pw.resource.consumption.default=1<br>
&gt;&gt;&gt;&gt;&gt; # pw.resource.consumption.parallel=4<br>
&gt;&gt;&gt;&gt;&gt; # pw.resource.consumption.manta=2<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Optional thirdpart properties<br>
&gt;&gt;&gt;&gt;&gt; pw.gwt-app.data=/var/lib/tomcat6/paraviewweb-work/data<br>
&gt;&gt;&gt;&gt;&gt; pw.gwt-app.states=/var/lib/tomcat6/paraviewweb-work/states<br>
&gt;&gt;&gt;&gt;&gt; # pw.gwt-app.webgl=/usr/local/PVW/PWSer_WD/webgl<br>
&gt;&gt;&gt;&gt;&gt; pw.gwt-app.confs=default<br>
&gt;&gt;&gt;&gt;&gt; # Optional PWApp upload properties<br>
&gt;&gt;&gt;&gt;&gt; # - size in MegaBytes<br>
&gt;&gt;&gt;&gt;&gt; # - timeout in minute<br>
&gt;&gt;&gt;&gt;&gt; # - types provides the set of extension allowed<br>
&gt;&gt;&gt;&gt;&gt; pw.gwt-app.upload.size=10<br>
&gt;&gt;&gt;&gt;&gt; pw.gwt-app.upload.timeout=2<br>
&gt;&gt;&gt;&gt;&gt; pw.gwt-app.upload.types=vtp:vtk<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Remote server command line<br>
&gt;&gt;&gt;&gt;&gt; #? * Tomcat will call any script in the following directory and will<br>
&gt;&gt;&gt;&gt;&gt; execute<br>
&gt;&gt;&gt;&gt;&gt; the<br>
&gt;&gt;&gt;&gt;&gt; #??? following command line where portnumber is an available<br>
&gt;&gt;&gt;&gt;&gt; portnumber:<br>
&gt;&gt;&gt;&gt;&gt; #?????? &gt; fullScriptPath username password<br>
&gt;&gt;&gt;&gt;&gt; #? * Documentation on How to start a pvserver<br>
&gt;&gt;&gt;&gt;&gt; #??? - <a href="http://www.cmake.org/Wiki/Setting_up_a_ParaView_Server" target="_blank">http://www.cmake.org/Wiki/Setting_up_a_ParaView_Server</a><br>
&gt;&gt;&gt;&gt;&gt; # pw.remote.settings=/usr/local/PVW/PWSer_WD/remote-settings<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; pw.remote.log.dir=/var/lib/tomcat6/paraviewweb-work/logs<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Optional PWStateApp working directory<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; pw.state.working.directory=/var/lib/tomcat6/paraviewweb-work/states-workdir<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ***********************************************************<br>
&gt;&gt;&gt;&gt;&gt; ************ end of pw-config.properties*************************<br>
&gt;&gt;&gt;&gt;&gt; ***********************************************************<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt;&gt;&gt; From: Sebastien Jourdain<br>
&gt;&gt;&gt;&gt;&gt; To: Tuan Ha Tran<br>
&gt;&gt;&gt;&gt;&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
&gt;&gt;&gt;&gt;&gt; Sent: Fri, 06 Apr 2012 19:33:40 +0200 (CEST)<br>
&gt;&gt;&gt;&gt;&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt;&gt;&gt;&gt;&gt; vtkJPEGWriter and function SetInput<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; You should use ParaView 3.14.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; I&#39;m sure you are doing something wrong that I&#39;m not aware of, because<br>
&gt;&gt;&gt;&gt;&gt; I&#39;m using ParaViewWeb with ParaView 3.14 myself. So if I managed to<br>
&gt;&gt;&gt;&gt;&gt; build it, you should too, unless we are doing something different.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; What did you do with the SuperBuild ? Did it manage to fetch ParaView<br>
&gt;&gt;&gt;&gt;&gt; and ParaViewWeb and start building those as well as their dependency<br>
&gt;&gt;&gt;&gt;&gt; like apr ?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Seb<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; On Fri, Apr 6, 2012 at 11:04 AM, Tuan Ha Tran wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;&gt;&gt;&gt; ?I tried your solution with SuperBuild but the problem still exist.<br>
&gt;&gt;&gt;&gt;&gt;&gt; ?I wonder if I should reuse ParaView 3.10.1?<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; ?Thank you Seb<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt;&gt;&gt;&gt; From: &quot;Sebastien Jourdain&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt; To: &quot;Tuan Ha Tran&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; Sent: Friday, April 6, 2012 4:53:43 PM<br>
&gt;&gt;&gt;&gt;&gt;&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt;&gt;&gt;&gt;&gt;&gt; vtkJPEGWriter and function SetInput<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Hi Tuan Ha Tran,<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; The documentation was written when ParaView 3.10 was out and that<br>
&gt;&gt;&gt;&gt;&gt;&gt; version was lacking some fixed that were on git/master at that time<br>
&gt;&gt;&gt;&gt;&gt;&gt; but I should definitely update the documentation to recommend to use<br>
&gt;&gt;&gt;&gt;&gt;&gt; ParaView 3.14 and not git/master.<br>
&gt;&gt;&gt;&gt;&gt;&gt; In fact, two weeks ago the latest changes in VTK that breaks its<br>
&gt;&gt;&gt;&gt;&gt;&gt; backward compatibility went into ParaView and for which I didn&#39;t get<br>
&gt;&gt;&gt;&gt;&gt;&gt; the time to update ParaViewWeb.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Regarding your ParaView build issue, I&#39;m wondering what you did... But<br>
&gt;&gt;&gt;&gt;&gt;&gt; anyway, if you want to ease the build process, you should definitely<br>
&gt;&gt;&gt;&gt;&gt;&gt; try to use the SuperBuild package so every third party get<br>
&gt;&gt;&gt;&gt;&gt;&gt; automatically compiled for you with the correct arguments and options.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.paraview.org/Wiki/ParaViewWeb_SuperBuild" target="_blank">http://www.paraview.org/Wiki/ParaViewWeb_SuperBuild</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Seb<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On Fri, Apr 6, 2012 at 9:25 AM, Tuan Ha Tran wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Seb,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Thank you for your reply. I just followed the instructions in the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ParaViewWeb site.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; - Mkdir ParaViewWeb<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; - Clone git from it address<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I used the Ccmake command (in build-pw) for the source in the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ParaViewWeb<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory (build-pw is a sub-directory of ParaViewWeb). I compiled<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; and<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; then<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the errors.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I used the latest release (3.14) of ParaView.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; there was a problem with ParaView, it is the problem of share<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; library.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; but I resolved this by adding -fPIC in the CFLAGS and CXXFLAGS, I<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; don&#39;t<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; know<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; if that is the problem.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; so, the vtkJPEGWriter is in the ParaView folder?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Thank you once more.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; From: &quot;Sebastien Jourdain&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; To: &quot;Tuan Ha Tran&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent: Friday, April 6, 2012 3:11:17 PM<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; vtkJPEGWriter and function SetInput<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi Tuan Ha Tran,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; how did you build ParaViewWeb ? Did you do from the super build or<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; from the main repository ?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ParaViewWeb basically rely on ParaView that embed VTK which embed<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; that<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; vtkJPEGWriter.cxx<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Which version of ParaView did you used ? The latest release (3.14) is<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; known to work...<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Seb<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Fri, Apr 6, 2012 at 5:12 AM, Tuan Ha Tran wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi everybody,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ? I have a problem when trying to compile ParaViewWeb<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ? This is the detail of my problem<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ***********************************************************************<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; %] Built target ParaWebPlugin<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Scanning dependencies of target PWServer<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [ 30%] Building CXX object<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ParaViewAdapter/CMakeFiles/PWServer.dir/vtkPWProcessingEngine.cxx.o<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/thtran/projects/ParaViewWeb/ParaViewAdapter/vtkPWProcessingEngine.cxx:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; In member function ?double<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; vtkPWProcessingEngine::ProcessAndSendImage(const<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; char*, vtkImageData*)?:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/thtran/projects/ParaViewWeb/ParaViewAdapter/vtkPWProcessingEngine.cxx:439:19:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; error: ?class vtkJPEGWriter? has no member named ?SetInput?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/thtran/projects/ParaViewWeb/ParaViewAdapter/vtkPWProcessingEngine.cxx:448:18:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; error: ?class vtkPNGWriter? has no member named ?SetInput?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; make[2]: ***<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [ParaViewAdapter/CMakeFiles/PWServer.dir/vtkPWProcessingEngine.cxx.o]<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Error<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 1<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; make[1]: *** [ParaViewAdapter/CMakeFiles/PWServer.dir/all] Error 2<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; make: *** [all] Error 2<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; *************************************************************************<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; When I went to the &quot;wtkPWProcesingEngine.cxx&quot;, I found out that<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wtkJPEGWriter is included by #include vtkJPEGWriter.h&quot;. But I<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; couldn&#39;t<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; find<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wtkJPEGWriter.h neither vtkJPEGWriter.cxx.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; When I tried to look for vtkJPEGWriter.cxx by Google, I found this<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; but I couldn&#39;t find any function &quot;SetInput&quot;.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; When I tried to deactivate the line where SetInput is located,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ParaViewWeb compile, but I think there are some problems with it.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I want to know if someone has the same problem? How to fix that?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Thank you all.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Ha<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
<br>
<br>
------------------------------<br>
<br>
Message: 9<br>
Date: Fri, 20 Apr 2012 08:33:10 -0400<br>
From: David E DeMarle &lt;<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>&gt;<br>
Subject: Re: [vtkusers] Loading Point Data using Python<br>
To: Dan Barker &lt;<a href="mailto:dbpvusrlist@hotmail.co.uk">dbpvusrlist@hotmail.co.uk</a>&gt;<br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
        &lt;<a href="mailto:CANjZAi-O7si2d%2BLEJR7%2BkVDAfn5eOPwLCigoEQj5PyBHJ%2BsZhA@mail.gmail.com">CANjZAi-O7si2d+LEJR7+kVDAfn5eOPwLCigoEQj5PyBHJ+sZhA@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
On Fri, Apr 20, 2012 at 7:05 AM, Dan Barker &lt;<a href="mailto:dbpvusrlist@hotmail.co.uk">dbpvusrlist@hotmail.co.uk</a>&gt; wrote:<br>
&gt; Dear All,<br>
&gt;<br>
&gt; I have some data files which are written by our simulation they are .vtp<br>
&gt; format with point data. Each point has several properties such as &quot;Density&quot;<br>
&gt; or &quot;Pressure&quot; associated with it. I wish to load these files using a python<br>
&gt; script which I can then use to look at their properties and extract the<br>
&gt; results I&#39;m interested in. I have successfully loaded the files and I can<br>
&gt; read the points positions&#39; but I have no idea how to access the accompanying<br>
&gt; properties, could anybody suggest how to do this?<br>
&gt;<br>
&gt; Currently to load the file I am doing the following;<br>
&gt;<br>
&gt; reader = vtk.vtkXMLPolyDataReader()<br>
&gt; reader.SetFileName(file)<br>
&gt; reader.Update()<br>
&gt; data = reader.GetOutput()<br>
&gt; data.Update()<br>
&gt;<br>
&gt; print(str(type(data))) ?#outputs &lt;type &#39;vtkobject&#39;&gt;<br>
&gt;<br>
&gt; ?for i in range(data.GetNumberOfPoints()):<br>
&gt; ? p = data.GetPoints().GetPoint(i) #p is a tuple with the x,y &amp; z<br>
<br>
     valueFoo = data.GetPointData().GetArray(&quot;Foo&quot;).GetTuple(i)<br>
     valueBar = data.GetPointData().GetArray(&quot;Bar&quot;).GetTuple(i)<br>
<br>
&gt; coordinates.<br>
&gt;<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Dan<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
<br>
<br>
------------------------------<br>
<br>
Message: 10<br>
Date: Fri, 20 Apr 2012 17:11:22 +0200 (CEST)<br>
From: Tuan Ha Tran &lt;<a href="mailto:tuan-ha.tran@insa-lyon.fr">tuan-ha.tran@insa-lyon.fr</a>&gt;<br>
Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
        vtkJPEGWriter and function SetInput<br>
To: Sebastien Jourdain &lt;<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>&gt;<br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: &lt;914b1394-85ac-4688-8f01-b017b2099124@zstore2&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Seb,<br>
     So I found the solution, I think that is obvious to you but however, I&#39;ll write out my solution so it could be useful later.<br>
     In CCMake of ParaView, because there is &quot;bad X server connection&quot;, so we must disable X<br>
     - VTK_OPENGL_HAS_OSMESA            ON<br>
     - VTK_USE_OFFSCREEN                        ON<br>
     - VTK_USE_X                                           OFF<br>
<br>
     And then bingo.<br>
     So thank you very much for helping me all these times.<br>
<br>
----- Original Message -----<br>
From: Sebastien Jourdain &lt;<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>&gt;<br>
To: Tuan Ha Tran &lt;<a href="mailto:tuan-ha.tran@insa-lyon.fr">tuan-ha.tran@insa-lyon.fr</a>&gt;<br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>, Frederic Cervenansky &lt;<a href="mailto:frederic.cervenansky@creatis.insa-lyon.fr">frederic.cervenansky@creatis.insa-lyon.fr</a>&gt;<br>
Sent: Fri, 20 Apr 2012 14:11:37 +0200 (CEST)<br>
Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class vtkJPEGWriter and function SetInput<br>
<br>
Sure I do.<br>
<br>
The PWServer process need to have access to the X server as it is<br>
using OpenGL to do the rendering.<br>
Basically tomcat need to run on a graphical session, and that session<br>
needs to remains open. Otherwise, you will need to build ParaView with<br>
OSMesa. OSMesa will use the CPU instead of of the GPU and therefore<br>
will be slower but then you will be able to run the server without any<br>
graphical session.<br>
<br>
That&#39;s the whole purpose of that wiki section which is meant to<br>
advanced user that have some constraints on their deployment... (No<br>
GPU and want to use system package)<br>
<br>
ParaViewWeb with system tomcat package: This section explain how to<br>
use a system tomcat package with ParaViewWeb on headless server.<br>
(Offscreen rendering + system security setting)<br>
<br>
Seb<br>
<br>
On Fri, Apr 20, 2012 at 3:57 AM, Tuan Ha Tran  wrote:<br>
&gt; Hi Seb,<br>
&gt;    So, in the log file, it &quot;bad X server connections&quot;<br>
&gt; with &quot;vtkXOpenGLRenderWindow&quot;.<br>
&gt;    I checked the configuration of pw-config.properties but nothing abnormal.<br>
&gt;    If you have any idea ...<br>
&gt;<br>
&gt;<br>
&gt; ----- Original Message -----<br>
&gt; From: Sebastien Jourdain<br>
&gt; To: Tuan Ha Tran<br>
&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>, Frederic Cervenansky<br>
&gt;<br>
&gt; Sent: Thu, 19 Apr 2012 15:30:40 +0200 (CEST)<br>
&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt; vtkJPEGWriter and function SetInput<br>
&gt;<br>
&gt; Try to stop all the services (tomcat + activemq). Remove all the logs<br>
&gt; of tomcat and the one that are inside WORK_DIR/logs that you setup in<br>
&gt; CMake and that is specified inside the pw-config.propertie.<br>
&gt;<br>
&gt; Once done, start again activemq and tomcat. Test again and if it<br>
&gt; fails, you will have to look at all those logs to see if you have any<br>
&gt; feedback of the reason of the issue...<br>
&gt;<br>
&gt; Seb<br>
&gt;<br>
&gt; On Thu, Apr 19, 2012 at 4:43 AM, Tuan Ha Tran wrote:<br>
&gt;&gt; Seb,<br>
&gt;&gt; All theses problems are gone, but now, the latest :<br>
&gt;&gt; When I tried to create a new session, now nothing appears, and I have, in<br>
&gt;&gt; my<br>
&gt;&gt; &quot;Apache-activemq&quot; shell &quot;INFO | Transport failed: java.io.EOFException&quot;<br>
&gt;&gt; If you can help me ..... thank you very much indeed<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ----- Original Message -----<br>
&gt;&gt; From: Sebastien Jourdain<br>
&gt;&gt; To: Tuan Ha Tran<br>
&gt;&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>, Frederic Cervenansky<br>
&gt;&gt;<br>
&gt;&gt; Sent: Wed, 18 Apr 2012 19:01:48 +0200 (CEST)<br>
&gt;&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt;&gt; vtkJPEGWriter and function SetInput<br>
&gt;&gt;<br>
&gt;&gt; What do you mean by &quot;my apache-tomcat-7.0.26&quot; ?<br>
&gt;&gt; If it&#39;s a tgz file that you download with your user, you DO NOT HAVE<br>
&gt;&gt; TO read the documentation<br>
&gt;&gt; &quot;<a href="http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package" target="_blank">http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package</a>&quot;<br>
&gt;&gt;<br>
&gt;&gt; By system tomcat, I mean: &quot;apt-get install tomcat&quot;<br>
&gt;&gt; And with system tomcat, it is trickier to install ParaViewWeb due to<br>
&gt;&gt; security reason... (class path, security grant...)<br>
&gt;&gt; That&#39;s why a custom read me is provided otherwise, you just setup a<br>
&gt;&gt; path where you want tomcat to write its data and that&#39;s it...<br>
&gt;&gt;<br>
&gt;&gt; Seb<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Apr 18, 2012 at 12:52 PM, Sebastien Jourdain<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt; How did you installed tomcat ?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Seb<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, Apr 18, 2012 at 11:59 AM, Tuan Ha Tran<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt; So the result is &quot;No&quot;, always the same error.<br>
&gt;&gt;&gt;&gt; Yes, another information : I didn&#39;t find any file named<br>
&gt;&gt;&gt;&gt;              /etc/init.d/tomcat6,<br>
&gt;&gt;&gt;&gt;              /var/lib/tomcat6/conf/policy.d/03catalina.policy,<br>
&gt;&gt;&gt;&gt;              /var/lib/tomcat6/conf/policy.d/04webapps.policy<br>
&gt;&gt;&gt;&gt; so I went to conf folder in my apache-tomcat-7.0.26 and added all in<br>
&gt;&gt;&gt;&gt; &quot;catalina.policy&quot;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt;&gt; From: Tuan Ha Tran<br>
&gt;&gt;&gt;&gt; To: Sebastien Jourdain<br>
&gt;&gt;&gt;&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>, Frederic Cervenansky<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Sent: Wed, 18 Apr 2012 17:53:48 +0200 (CEST)<br>
&gt;&gt;&gt;&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt;&gt;&gt;&gt; vtkJPEGWriter and function SetInput<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thank you for your reponse.<br>
&gt;&gt;&gt;&gt; As I said, I followed the tutorial in the<br>
&gt;&gt;&gt;&gt; &quot;<a href="http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package" target="_blank">http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package</a>&quot;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; cd ..<br>
&gt;&gt;&gt;&gt; chown -R tomcat6 paraviewweb-work<br>
&gt;&gt;&gt;&gt; chgrp -R tomcat6 paraviewweb-work<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; And, the right is set to tomcat (because there is an error &quot;no user<br>
&gt;&gt;&gt;&gt; named<br>
&gt;&gt;&gt;&gt; tomcat6&quot;) (I don&#39;t know if we can use root)<br>
&gt;&gt;&gt;&gt; However, I will try with root and we&#39;ll see.<br>
&gt;&gt;&gt;&gt; Thank again Seb<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt;&gt; From: Sebastien Jourdain<br>
&gt;&gt;&gt;&gt; To: Tuan Ha Tran<br>
&gt;&gt;&gt;&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>, Frederic Cervenansky<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Sent: Wed, 18 Apr 2012 17:31:51 +0200 (CEST)<br>
&gt;&gt;&gt;&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt;&gt;&gt;&gt; vtkJPEGWriter and function SetInput<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi Tuan,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Those your local tomcat that run under your user has the right to<br>
&gt;&gt;&gt;&gt; write in that directory ?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; /var/lib/tomcat6/paraviewweb-work/ ?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Seb<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Wed, Apr 18, 2012 at 11:10 AM, Tuan Ha Tran<br>
&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt; Hi Seb,<br>
&gt;&gt;&gt;&gt;&gt;     I have another thing to ask you (I&#39;m sorry if this question is<br>
&gt;&gt;&gt;&gt;&gt; already<br>
&gt;&gt;&gt;&gt;&gt; asked, but I found my problem different)<br>
&gt;&gt;&gt;&gt;&gt;     I use super build to build ParaViewWeb with all the settings by<br>
&gt;&gt;&gt;&gt;&gt; default.<br>
&gt;&gt;&gt;&gt;&gt; It&#39;s done.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;     Next :<br>
&gt;&gt;&gt;&gt;&gt;     - I downloaded the apache-tomcat-7.0.26<br>
&gt;&gt;&gt;&gt;&gt;     - Copied all the *.war generated by the SuperBuild into<br>
&gt;&gt;&gt;&gt;&gt; tomcat7.0.26&#39;s<br>
&gt;&gt;&gt;&gt;&gt; webapps folder<br>
&gt;&gt;&gt;&gt;&gt;     - Copied pw-config.properties into apache-tomcat-7.0.26/lib<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;     To run PWApps,<br>
&gt;&gt;&gt;&gt;&gt;     - I started JMS broker d4apache Activemq, the latest version is<br>
&gt;&gt;&gt;&gt;&gt; 5.5.1<br>
&gt;&gt;&gt;&gt;&gt; (./activemq-admin start)<br>
&gt;&gt;&gt;&gt;&gt;     - I started server Tomcat (./catalina.sh start)<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;     Result: when I tried to open a session in PWApps @<br>
&gt;&gt;&gt;&gt;&gt; <a href="http://localhost:8080/PWApp/" target="_blank">http://localhost:8080/PWApp/</a><br>
&gt;&gt;&gt;&gt;&gt;     the error appeared : An error occured during the loading.<br>
&gt;&gt;&gt;&gt;&gt; org.hibernate.exception.GenericJDBCException: Cannot open connection<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;     It&#39;s absolutely a problem with hibernate, the connection with the<br>
&gt;&gt;&gt;&gt;&gt; database. But I don&#39;t quite understand how to fix this.<br>
&gt;&gt;&gt;&gt;&gt;     Do we have to modify pw-config.properties? What do we have to do?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;     About the working directory, I followed the tutorial @<br>
&gt;&gt;&gt;&gt;&gt; <a href="http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package" target="_blank">http://www.paraview.org/Wiki/ParaViewWeb_with_system_tomcat_package</a>.<br>
&gt;&gt;&gt;&gt;&gt;     Thank you for your help.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ********************************************************************<br>
&gt;&gt;&gt;&gt;&gt; ***************** pw-config.properties<br>
&gt;&gt;&gt;&gt;&gt; **********************************<br>
&gt;&gt;&gt;&gt;&gt; ********************************************************************<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Directory used to store application files<br>
&gt;&gt;&gt;&gt;&gt; pw.working.directory=/var/lib/tomcat6/paraviewweb-work/<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Logging level that should be used [DEBUG, INFO, WARNING, ERROR,<br>
&gt;&gt;&gt;&gt;&gt; CRITICAL]<br>
&gt;&gt;&gt;&gt;&gt; pw.logging.level=ERROR<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Do we enable logging [on, off, yes, no]<br>
&gt;&gt;&gt;&gt;&gt; paraview.logging=OFF<br>
&gt;&gt;&gt;&gt;&gt; pw.logging=ON<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Inactivity timeout for garbage collecting PWServer applications<br>
&gt;&gt;&gt;&gt;&gt; # time is given in minute<br>
&gt;&gt;&gt;&gt;&gt; pw.garbage.collector.timeout=5<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Administration page user credentials<br>
&gt;&gt;&gt;&gt;&gt; pw.admin.login=admin<br>
&gt;&gt;&gt;&gt;&gt; pw.admin.password=admin<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Total number of resources available<br>
&gt;&gt;&gt;&gt;&gt; pw.max.resources=5<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # PWServer executable path settings<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; pw.executable.path.default=/var/lib/tomcat6/paraviewweb-work/bin/PWServer.sh<br>
&gt;&gt;&gt;&gt;&gt; #<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; pw.executable.path.parallel=/home/thtran/projects/ParaViewWeb/install-pw/bin/PWServer<br>
&gt;&gt;&gt;&gt;&gt; # pw.executable.path.manta=/home/seb/tmp/ParaWeb-work/exec/manta.sh<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # pvserver executable path settings<br>
&gt;&gt;&gt;&gt;&gt; # pvserver.executable.path.demo=/home/seb/tmp/ParaWeb-work/exec/demo.sh<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Plugin directory settings<br>
&gt;&gt;&gt;&gt;&gt; pw.plugins.default=/var/lib/tomcat6/paraviewweb-work/plugins<br>
&gt;&gt;&gt;&gt;&gt; # pw.plugins.parallel=/usr/local/PVW/PWSer_WD/plugins<br>
&gt;&gt;&gt;&gt;&gt; # pw.plugins.manta=/usr/local/PVW/PWSer_WD/plugins<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Resource consumption definition<br>
&gt;&gt;&gt;&gt;&gt; pw.resource.consumption.default=1<br>
&gt;&gt;&gt;&gt;&gt; # pw.resource.consumption.parallel=4<br>
&gt;&gt;&gt;&gt;&gt; # pw.resource.consumption.manta=2<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Optional thirdpart properties<br>
&gt;&gt;&gt;&gt;&gt; pw.gwt-app.data=/var/lib/tomcat6/paraviewweb-work/data<br>
&gt;&gt;&gt;&gt;&gt; pw.gwt-app.states=/var/lib/tomcat6/paraviewweb-work/states<br>
&gt;&gt;&gt;&gt;&gt; # pw.gwt-app.webgl=/usr/local/PVW/PWSer_WD/webgl<br>
&gt;&gt;&gt;&gt;&gt; pw.gwt-app.confs=default<br>
&gt;&gt;&gt;&gt;&gt; # Optional PWApp upload properties<br>
&gt;&gt;&gt;&gt;&gt; # - size in MegaBytes<br>
&gt;&gt;&gt;&gt;&gt; # - timeout in minute<br>
&gt;&gt;&gt;&gt;&gt; # - types provides the set of extension allowed<br>
&gt;&gt;&gt;&gt;&gt; pw.gwt-app.upload.size=10<br>
&gt;&gt;&gt;&gt;&gt; pw.gwt-app.upload.timeout=2<br>
&gt;&gt;&gt;&gt;&gt; pw.gwt-app.upload.types=vtp:vtk<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Remote server command line<br>
&gt;&gt;&gt;&gt;&gt; #  * Tomcat will call any script in the following directory and will<br>
&gt;&gt;&gt;&gt;&gt; execute<br>
&gt;&gt;&gt;&gt;&gt; the<br>
&gt;&gt;&gt;&gt;&gt; #    following command line where portnumber is an available<br>
&gt;&gt;&gt;&gt;&gt; portnumber:<br>
&gt;&gt;&gt;&gt;&gt; #       &gt; fullScriptPath username password<br>
&gt;&gt;&gt;&gt;&gt; #  * Documentation on How to start a pvserver<br>
&gt;&gt;&gt;&gt;&gt; #    - <a href="http://www.cmake.org/Wiki/Setting_up_a_ParaView_Server" target="_blank">http://www.cmake.org/Wiki/Setting_up_a_ParaView_Server</a><br>
&gt;&gt;&gt;&gt;&gt; # pw.remote.settings=/usr/local/PVW/PWSer_WD/remote-settings<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; pw.remote.log.dir=/var/lib/tomcat6/paraviewweb-work/logs<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; # Optional PWStateApp working directory<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; pw.state.working.directory=/var/lib/tomcat6/paraviewweb-work/states-workdir<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ***********************************************************<br>
&gt;&gt;&gt;&gt;&gt; ************ end of pw-config.properties*************************<br>
&gt;&gt;&gt;&gt;&gt; ***********************************************************<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt;&gt;&gt; From: Sebastien Jourdain<br>
&gt;&gt;&gt;&gt;&gt; To: Tuan Ha Tran<br>
&gt;&gt;&gt;&gt;&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
&gt;&gt;&gt;&gt;&gt; Sent: Fri, 06 Apr 2012 19:33:40 +0200 (CEST)<br>
&gt;&gt;&gt;&gt;&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt;&gt;&gt;&gt;&gt; vtkJPEGWriter and function SetInput<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; You should use ParaView 3.14.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; I&#39;m sure you are doing something wrong that I&#39;m not aware of, because<br>
&gt;&gt;&gt;&gt;&gt; I&#39;m using ParaViewWeb with ParaView 3.14 myself. So if I managed to<br>
&gt;&gt;&gt;&gt;&gt; build it, you should too, unless we are doing something different.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; What did you do with the SuperBuild ? Did it manage to fetch ParaView<br>
&gt;&gt;&gt;&gt;&gt; and ParaViewWeb and start building those as well as their dependency<br>
&gt;&gt;&gt;&gt;&gt; like apr ?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Seb<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; On Fri, Apr 6, 2012 at 11:04 AM, Tuan Ha Tran wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;&gt;&gt;&gt;  I tried your solution with SuperBuild but the problem still exist.<br>
&gt;&gt;&gt;&gt;&gt;&gt;  I wonder if I should reuse ParaView 3.10.1?<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;  Thank you Seb<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt;&gt;&gt;&gt; From: &quot;Sebastien Jourdain&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt; To: &quot;Tuan Ha Tran&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; Sent: Friday, April 6, 2012 4:53:43 PM<br>
&gt;&gt;&gt;&gt;&gt;&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt;&gt;&gt;&gt;&gt;&gt; vtkJPEGWriter and function SetInput<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Hi Tuan Ha Tran,<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; The documentation was written when ParaView 3.10 was out and that<br>
&gt;&gt;&gt;&gt;&gt;&gt; version was lacking some fixed that were on git/master at that time<br>
&gt;&gt;&gt;&gt;&gt;&gt; but I should definitely update the documentation to recommend to use<br>
&gt;&gt;&gt;&gt;&gt;&gt; ParaView 3.14 and not git/master.<br>
&gt;&gt;&gt;&gt;&gt;&gt; In fact, two weeks ago the latest changes in VTK that breaks its<br>
&gt;&gt;&gt;&gt;&gt;&gt; backward compatibility went into ParaView and for which I didn&#39;t get<br>
&gt;&gt;&gt;&gt;&gt;&gt; the time to update ParaViewWeb.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Regarding your ParaView build issue, I&#39;m wondering what you did... But<br>
&gt;&gt;&gt;&gt;&gt;&gt; anyway, if you want to ease the build process, you should definitely<br>
&gt;&gt;&gt;&gt;&gt;&gt; try to use the SuperBuild package so every third party get<br>
&gt;&gt;&gt;&gt;&gt;&gt; automatically compiled for you with the correct arguments and options.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.paraview.org/Wiki/ParaViewWeb_SuperBuild" target="_blank">http://www.paraview.org/Wiki/ParaViewWeb_SuperBuild</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Seb<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On Fri, Apr 6, 2012 at 9:25 AM, Tuan Ha Tran wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Seb,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Thank you for your reply. I just followed the instructions in the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ParaViewWeb site.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; - Mkdir ParaViewWeb<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; - Clone git from it address<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I used the Ccmake command (in build-pw) for the source in the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ParaViewWeb<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; directory (build-pw is a sub-directory of ParaViewWeb). I compiled<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; and<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; then<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the errors.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I used the latest release (3.14) of ParaView.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; there was a problem with ParaView, it is the problem of share<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; library.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; but I resolved this by adding -fPIC in the CFLAGS and CXXFLAGS, I<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; don&#39;t<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; know<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; if that is the problem.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; so, the vtkJPEGWriter is in the ParaView folder?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Thank you once more.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; From: &quot;Sebastien Jourdain&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; To: &quot;Tuan Ha Tran&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent: Friday, April 6, 2012 3:11:17 PM<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Subject: Re: [vtkusers] [ParaViewWeb] compile problem with class<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; vtkJPEGWriter and function SetInput<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi Tuan Ha Tran,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; how did you build ParaViewWeb ? Did you do from the super build or<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; from the main repository ?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ParaViewWeb basically rely on ParaView that embed VTK which embed<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; that<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; vtkJPEGWriter.cxx<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Which version of ParaView did you used ? The latest release (3.14) is<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; known to work...<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Seb<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Fri, Apr 6, 2012 at 5:12 AM, Tuan Ha Tran wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi everybody,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   I have a problem when trying to compile ParaViewWeb<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   This is the detail of my problem<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ***********************************************************************<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; %] Built target ParaWebPlugin<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Scanning dependencies of target PWServer<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [ 30%] Building CXX object<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ParaViewAdapter/CMakeFiles/PWServer.dir/vtkPWProcessingEngine.cxx.o<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/thtran/projects/ParaViewWeb/ParaViewAdapter/vtkPWProcessingEngine.cxx:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; In member function ?double<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; vtkPWProcessingEngine::ProcessAndSendImage(const<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; char*, vtkImageData*)?:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/thtran/projects/ParaViewWeb/ParaViewAdapter/vtkPWProcessingEngine.cxx:439:19:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; error: ?class vtkJPEGWriter? has no member named ?SetInput?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; /home/thtran/projects/ParaViewWeb/ParaViewAdapter/vtkPWProcessingEngine.cxx:448:18:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; error: ?class vtkPNGWriter? has no member named ?SetInput?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; make[2]: ***<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [ParaViewAdapter/CMakeFiles/PWServer.dir/vtkPWProcessingEngine.cxx.o]<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Error<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 1<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; make[1]: *** [ParaViewAdapter/CMakeFiles/PWServer.dir/all] Error 2<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; make: *** [all] Error 2<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; *************************************************************************<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; When I went to the &quot;wtkPWProcesingEngine.cxx&quot;, I found out that<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wtkJPEGWriter is included by #include vtkJPEGWriter.h&quot;. But I<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; couldn&#39;t<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; find<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wtkJPEGWriter.h neither vtkJPEGWriter.cxx.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; When I tried to look for vtkJPEGWriter.cxx by Google, I found this<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; file<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; but I couldn&#39;t find any function &quot;SetInput&quot;.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; When I tried to deactivate the line where SetInput is located,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ParaViewWeb compile, but I think there are some problems with it.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I want to know if someone has the same problem? How to fix that?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Thank you all.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Ha<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20120420/b609d430/attachment.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20120420/b609d430/attachment.htm</a>&gt;<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
vtkusers mailing list<br>
<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
End of vtkusers Digest, Vol 96, Issue 24<br>
****************************************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Dorian A. Flowers<br><br><div>I don&#39;t believe you have to be better than everybody else. I believe you have to be better than you ever thought you could be.</div>
<div><div>Ken Venturi</div></div><br>