付作光 | 3 Jul 06:03 2015

some problems about saving point set rendered by Point Sprite mode

Dear all the Paraview users,

I have some problems about saving point set rendered by Point Sprite mode
both in eps format and in jpg format in paraview.

(1) When I employed eps format to save the current screen, it gives me
nothing but the points without any rendering, just like fig.1 below.
The reason I think maybe either that Point Sprite mode can not any more
encourage the eps saving or that there is something wrong in the saving process

(2) Then I used jpg format to save, but the only successful one is provided by
choosing the default resolution (925 * 718 here)(fig.2). Others may finally lead to
failure(fig.3). Now I get no point about this.

Does anyone get the solution? I need your help!

Best regards
Zuoguang Fu



<div>
<div>
<p>Dear all the Paraview users&#65292;</p>
<p>I have some problems about saving point set rendered by Point Sprite mode<br>both in eps format and in jpg format in paraview.</p>
<p>(1) When I employed eps format to save the current screen, it gives me<br>nothing but the points without any rendering, just like fig.1 below.<br>The reason I think maybe either that Point Sprite mode can not any more<br>encourage the eps saving or that there is something wrong in the saving process</p>
<p>(2) Then I used jpg format to save, but the only successful one is provided by<br>choosing the default resolution (925 * 718 here)(fig.2). Others may finally lead to<br>failure(fig.3). Now I get no point about this.</p>
<p>Does anyone get the solution? I need your help!</p>
<p>Best regards<br>Zuoguang Fu</p>
</div>
<br><br><span title="neteasefooter"><span></span></span>
</div>
憨憨 | 2 Jul 17:29 2015

转发:Remote visualization configuration of paraview



Hi, everyone. 
I intend to use the paraview remote visualization by run pvserver and paraview on different computer in a LAN environment. However, the paraview client cannot connect to pvserver as there is no DNS in LAN, and the server configuration has the syntax "cs://localhost:11111". It seems that pvserver must be configured as a domain resource, which is impractical in LAN. I wonder if the pvserver can be configured just using IP address, or other configurations needed. Can somebody provide me useful suggestions?
<div>
<br><br>Hi,&nbsp;everyone.&nbsp;<br>I&nbsp;intend&nbsp;to&nbsp;use&nbsp;the&nbsp;paraview&nbsp;remote&nbsp;visualization&nbsp;by&nbsp;run&nbsp;pvserver&nbsp;and&nbsp;paraview&nbsp;on&nbsp;different&nbsp;computer&nbsp;in&nbsp;a&nbsp;LAN&nbsp;environment.&nbsp;However,&nbsp;the&nbsp;paraview&nbsp;client&nbsp;cannot&nbsp;connect&nbsp;to&nbsp;pvserver&nbsp;as&nbsp;there&nbsp;is&nbsp;no&nbsp;DNS&nbsp;in&nbsp;LAN,&nbsp;and&nbsp;the&nbsp;server&nbsp;configuration&nbsp;has&nbsp;the&nbsp;syntax&nbsp;"cs://localhost:11111".&nbsp;It&nbsp;seems&nbsp;that&nbsp;pvserver&nbsp;must&nbsp;be&nbsp;configured&nbsp;as&nbsp;a&nbsp;domain&nbsp;resource,&nbsp;which&nbsp;is&nbsp;impractical&nbsp;in&nbsp;LAN.&nbsp;I&nbsp;wonder&nbsp;if&nbsp;the&nbsp;pvserver&nbsp;can&nbsp;be&nbsp;configured&nbsp;just&nbsp;using&nbsp;IP&nbsp;address,&nbsp;or&nbsp;other&nbsp;configurations&nbsp;needed.&nbsp;Can&nbsp;somebody&nbsp;provide&nbsp;me&nbsp;useful&nbsp;suggestions?<br>
</div>
Andy Bauer | 2 Jul 16:58 2015

Re: IntegrateVariables filter (add variables)

Hi,

Please keep the discussions on the mailing list so that everyone can follow.

Thanks,
Andy

On Thu, Jul 2, 2015 at 10:57 AM, Andrew <antech777 <at> gmail.com> wrote:
Hello.
Thanks for advice! I didn't try Wavelet source, but I will as soon as possible and will report the result. Surely I can share an example of results:
Files are in "postprocessing" directory (open the RESULTS.case file) and have an EnSight Gold format.

<div>
<div dir="ltr">
<div>
<div>
<div>Hi,<br><br>
</div>Please keep the discussions on the mailing list so that everyone can follow.<br><br>
</div>Thanks,<br>
</div>Andy<br>
</div>
<div class="gmail_extra">
<br><div class="gmail_quote">On Thu, Jul 2, 2015 at 10:57 AM, Andrew <span dir="ltr">&lt;<a href="mailto:antech777 <at> gmail.com" target="_blank">antech777 <at> gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div dir="ltr">
<div>Hello.</div>
<div>Thanks for advice! I didn't try Wavelet source, but I will as soon as possible and will report the result. Surely I can share an example of results:</div>
<div><a href="https://drive.google.com/open?id=0BzPt_Ya8Zu8nU2NRT2NWN1ZxV0U" target="_blank">https://drive.google.com/open?id=0BzPt_Ya8Zu8nU2NRT2NWN1ZxV0U</a></div>
<div>Files are in "postprocessing" directory (open the RESULTS.case file) and&nbsp;have an&nbsp;EnSight Gold format.</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
mctolille | 2 Jul 16:47 2015

Re: Probe location in a script

Thanks for the tip. I actually already used tracing in order to find the command:
    Probelocation.ProbeType.Center = [10.0,20.0,30.0]

But the problem is that I don't know how to access to the data (rho, vx, vy...) at that location in the python script

And since tracing does not capture "Save data", I don't even know how to write the data in a file

Cheers,
Mc Fly




Date : 02/07/2015 15:55:04 CEST

Hi McFly,

The Python Tracing facility in ParaView is perfect for this kind of task. It records a trace of your actions in the ParaView GUI to a Python script that you can modify a bit to process a bunch of files. To turn on tracing, choose the Tools -> Start Trace menu item.

More info on tracing is available in the ParaView User Guide [1] under section 1.6.2.

Best regards,
Cory


On Thu, Jul 2, 2015 at 9:39 AM, <mctolille <at> netcourrier.com> wrote:

Hi everybody,

I am a new Paraview user. I am trying to extract points from a bunch of vtu files. It is pretty easily done with "probe location". But since I have a lot of files, I would like to automatize the process (with a macro or a python script).

Could someone maybe show me how it's done?

My best guess is that I should have the following in a python script:
Probelocation.ProbeType.Center = [10.0,20.0,30.0]
assuming I want to probe at x=10, y=20, z=30. But then, I don't really know how to retrieve the variables values at that location.

Thanks a lot,
Mc Fly

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview




--
Cory Quammen
R&D Engineer
Kitware, Inc.
<div>Thanks for the tip. I actually already used tracing in order to find the command:<br>&nbsp;&nbsp;&nbsp; Probelocation.ProbeType.Center = [10.0,20.0,30.0] <br><br>But the problem is that I don't know how to access to the data (rho, vx, vy...) at that location in the python script<br><br>And since tracing does not capture "Save data", I don't even know how to write the data in a file<br><br>Cheers,<br>Mc Fly<br><br><br><br><br>
Date : 02/07/2015 15:55:04 CEST<br><br><div dir="ltr">Hi McFly,<div><br></div>
<div>The Python Tracing facility in ParaView is perfect for this kind of task. It records a trace of your actions in the ParaView GUI to a Python script that you can modify a bit to process a bunch of files. To turn on tracing, choose the Tools -&gt; Start Trace menu item.</div>
<div><br></div>
<div>More info on tracing is available in the ParaView User Guide [1] under section 1.6.2.</div>
<div><br></div>
<div>Best regards,</div>
<div>Cory</div>
<div><br></div>
<div>[1]&nbsp;<a href="http://www.paraview.org/paraview-guide/">http://www.paraview.org/paraview-guide/</a>
</div>
</div>
<div class="gmail_extra">
<br><div class="gmail_quote">On Thu, Jul 2, 2015 at 9:39 AM,  <span dir="ltr">&lt;<a href="mailto:mctolille <at> netcourrier.com">mctolille <at> netcourrier.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">

<div>
<br>Hi everybody,<br><br>
I am a new Paraview user. I am trying to extract points from a bunch of 
vtu files. It is pretty easily done with "probe location". But since I 
have a lot of files, I would like to automatize the process (with a 
macro or a python script). <br><br>
Could someone maybe show me how it's done?<br><br>My best guess is that I should have the following in a python script:<br>Probelocation.ProbeType.Center = [10.0,20.0,30.0] <br>assuming I want to probe at x=10, y=20, z=30. But then, I don't really know how to retrieve the variables values at that location.<br><br>
Thanks a lot,<br>Mc Fly<br>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer">www.kitware.com</a><br><br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer">http://www.kitware.com/opensource/opensource.html</a><br><br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer">http://paraview.org/Wiki/ParaView</a><br><br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer">http://markmail.org/search/?q=ParaView</a><br><br>
Follow this link to subscribe/unsubscribe:<br><a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer">http://public.kitware.com/mailman/listinfo/paraview</a><br><br>
</blockquote>
</div>
<br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&amp;D Engineer<br>Kitware, Inc.</div>
</div>
</div>
Andrew | 2 Jul 16:19 2015
Picon

Re: IntegrateVariables filter (add variables)

Hello.
I use ParaView to visualize Code_Saturne (CFD) calculation results (ParaVis module in Salome). But I cannot integrate any variable except coordinates and area or volume. I tried the "Cell data to point data" before IntegrateVariables, it changed nothing. I asked this question on Salome and CFD-Online forums, but noone replied me. Please, help.
Thanks.
<div><div dir="ltr"><div class="gmail_quote"><div dir="ltr">
<div>Hello.</div>
<div>I use ParaView to visualize Code_Saturne (CFD) calculation results (ParaVis module in Salome). But I cannot integrate any variable except coordinates and area or volume. I tried the "Cell data to point data" before IntegrateVariables, it changed nothing. I asked this question on Salome and CFD-Online forums, but noone replied me. Please, help.</div>
<div>Thanks.<br>
</div>
</div></div></div></div>
mctolille | 2 Jul 15:39 2015

Probe location in a script


Hi everybody,

I am a new Paraview user. I am trying to extract points from a bunch of vtu files. It is pretty easily done with "probe location". But since I have a lot of files, I would like to automatize the process (with a macro or a python script).

Could someone maybe show me how it's done?

My best guess is that I should have the following in a python script:
Probelocation.ProbeType.Center = [10.0,20.0,30.0]
assuming I want to probe at x=10, y=20, z=30. But then, I don't really know how to retrieve the variables values at that location.

Thanks a lot,
Mc Fly
<div>
<br>Hi everybody,<br><br>
I am a new Paraview user. I am trying to extract points from a bunch of 
vtu files. It is pretty easily done with "probe location". But since I 
have a lot of files, I would like to automatize the process (with a 
macro or a python script). <br><br>
Could someone maybe show me how it's done?<br><br>My best guess is that I should have the following in a python script:<br>Probelocation.ProbeType.Center = [10.0,20.0,30.0] <br>assuming I want to probe at x=10, y=20, z=30. But then, I don't really know how to retrieve the variables values at that location.<br><br>
Thanks a lot,<br>Mc Fly<br>
</div>
Norman Goldstein | 2 Jul 07:57 2015
Picon

Creating a vtp file

From net examples and on-line docs, I have gleaned some of the info to create a full 1-piece vtp file:

Call
vtkXMLPolyDataWriter::SetInputData( vtkDataObject *)

where you pass in a vtkPolyData, which you first set up with the methods:

SetVerts
SetLines
SetPolys
SetStrips

and the parent method

SetPoints

What I have not figured out is how to set the vtp fields
PointData and CellData

Any pointers much appreciated ...




<div>
    From net examples and on-line docs, I have gleaned some of the info
    to create a full 1-piece vtp file:<br><br>
    Call<br>
    vtkXMLPolyDataWriter::SetInputData( <a class="el" href="http://www.vtk.org/doc/nightly/html/classvtkDataObject.html">vtkDataObject</a>
    *)<br><br>
    where you pass in a vtkPolyData, which you first set up with the
    methods:<br><br>
    SetVerts<br>
    SetLines<br>
    SetPolys<br>
    SetStrips<br><br>
    and the parent method<br><br>
    SetPoints<br><br>
    What I have not figured out is how to set the vtp fields<br>
    PointData and CellData<br><br>
    Any pointers much appreciated ...<br><br><br><br><br>
</div>
Hermano ... | 2 Jul 06:25 2015
Picon

Supress windows on pv_web_visualizer.py

Hello everyone

I am using Paraview Web with the Jetty launcher and the Web Visualizer. Anytime a new page is loaded for a new visualization, also a new window appears on my desktop (I am using ubuntu with KDE installed, and running the web server locally for test purposes). I'd like to know if there is a way to supress theses windows with the visualizations. They are a little bit annoying.
To me it's enough to show the visualization on the browser only.

I ran 
pv_web_visualizer.py with --help , but there wasn't any option related to my "issue". So I wonder if there's a way of doing it.

Thanks in advance.


<div><div dir="ltr">
<span>Hello everyone<br><br>I am using Paraview Web with the Jetty launcher and the Web Visualizer. Anytime a new page is loaded for a new visualization, also a new&nbsp;window appears on my desktop (I am using ubuntu with KDE installed, and running the web server locally for test purposes). I'd like to know if there is a way to supress theses windows with the visualizations.&nbsp;They are a little bit annoying.<br>To me it's enough to show the visualization on the browser only.<br><br>I ran&nbsp;</span><span>pv_web_visualizer.py with&nbsp;</span><span>--help , but there wasn't any option related to my "issue". So I wonder if there's a way of doing it.<br><br>Thanks in advance.</span><div><span><br></span></div>
<div><span><br></span></div> 		 	   		  </div></div>
Jordan Deyton | 2 Jul 00:12 2015
Picon

Zooming through the ParaViewWeb API

ParaViewWeb gurus,

Is there a correct way to send a zoom request through the ParaViewWeb API?

I'm especially looking at the PVW MouseHandler (documentation here -- 
http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/api/protocols.ParaViewWebMouseHandler)

I have had some success by sending a right-click with a small y value 
(looks like it needs to be between 0 and 1), the action set to "none", 
and buttonRight set to "true". However, when I afterward rotate the view 
(using the same RPC call with different methods), the rendered object 
just vanishes, although the axes and legend are still there.

Jordan

--

-- 
Jordan Deyton
Oak Ridge National Laboratory
Telephone: (865) 574-1091
Email: deytonjh <at> ornl.gov

cunrein | 1 Jul 23:37 2015

Adding functionality to the apply event

Hello List,

In a [much much] older version of ParaView, I have a working 
filter/objectPanel pair that inherits from pqAutoGeneratedObjectPanel 
and overloads the accept method.  I want to update this to work with 
PV4.3.  ObjectPanels have been replaced with the PropertyPanel.  Do I 
want to inherit from pqPropertyPanel and overload the apply method?  If 
so, is there a CMake macro to add this?  It doesn't look like 
ADD_PARAVIEW_OBJECT_PANEL will work with the new panel philosophy.  If 
creating a new panel is not the right thing to do anymore, how do I add 
functionality to the apply event?

Thanks, Chris
Norman Goldstein | 1 Jul 23:29 2015
Picon

ParaView builds part of VTK

I am running on fedora 20, x86-64, and have successfully built ParaView 
4.3 and the VTK 6.2 subset that comes along for the ride. 
(congratulations to the devel team that have prepared such a painless 
build for this complex system!).  I am wondering what is the most 
painless / recommended way for me to have access to all of VTK 6.2:

1.  Somehow tell the ParaView build system to build all of VTK (not just 
the part it needs),
2.  Run a separate build on the VTK folder that ships with ParaView,
3.  Do an independent install of VTK 6.2 (this would mean having a 
potential problem with two installs of VTK), or
4.  Tell ParaView to use an externally built VTK 6.2

For the #4, I know there is the cmake flag

-DUSE_EXTERNAL_VTK:BOOL=ON

but I am not clear what else needs to be done to make #4 work

Thanks

Gmane