Re: [Paraview] Python Reader

2010-10-19 Thread Paul Edwards
Hi Patrick, Have you tried adding a StringVectorProperty to your XML for a filename (with ) and having a GUI XML file for adding a reader? I think someone suggested you look at the helix source xml ( http://paraview.org/gitweb?p=ParaView.git;a=blob;f=Examples/Plugins/HelixSource/helix.xml;h=d6c38

Re: [Paraview] Python Reader

2010-10-19 Thread Brockmann Patrick
Paul Edwards a écrit : Hi Patrick, Have you tried adding a StringVectorProperty to your XML for a filename (with ) and having a GUI XML file for adding a reader? I think someone suggested you look at the helix source xml (http://paraview.org/gitweb?p=ParaView.git;a=blob;f=Examples/Plugins/H

Re: [Paraview] Python Reader

2010-10-19 Thread Paul Edwards
You will need a separate xml file for the GUI plugin to tell paraview about the new format. Look at pqReader.xml in "Examples/Plugins/Reader". Regards, Paul On 19 October 2010 14:26, Brockmann Patrick wrote: > Paul Edwards a écrit : > > Hi Patrick, >> >> Have you tried adding a StringVectorPr

Re: [Paraview] Python Reader

2010-10-19 Thread Aurélien Marsan
In doing so, it seems that the reader must have a "SetFileName" function. How do you handle this with python ? Or can you avoid this ? I do not think the integration of a python script in the GUI can be as perfect as that of a reader writen in c++. 2010/10/19 Paul Edwards > You will need a sepa

Re: [Paraview] Fwd: Interpolation problem

2010-10-19 Thread Aurélien Marsan
Thanks for this explanation. Really interesting. I'm glad having read that mail. What would happen if the square were not in the (x,y) plane. The function become a f(x,y,z) function ? Or by writing f(x,y) you meant f(i,j) where i and j are locl coordinates ? 2010/10/15 Moreland, Kenneth > If I

[Paraview] Saving Views

2010-10-19 Thread Phil Tiller
Hi, This must be very simple in Paraview but I can't seem to work it out. I'd like to save a view for one dataset so that I can then go and get another dataset and present the new data at exactly the same viewpoint thus making it easy to see the differences. I thought I could do it using th

Re: [Paraview] Fwd: Interpolation problem

2010-10-19 Thread Moreland, Kenneth
The interpolations (in VTK) are done in parametric space, so the location of the polygon in 3D space is inconsequential. Although I used x,y in my discussion, it would be more correct to use parametric parameters u,v (or i,j or whatever). I didn’t talk about parametric space because I didn’t w

[Paraview] Probe Location

2010-10-19 Thread Phil Tiller
Hi, I've been trying to use the 'probe location' filter to extract values at certain points. How does this work? I find that if I bring the filter up and enter a position then I can see the point displayed at the position that I wanted. When I go to the information tab, the data at this posit

Re: [Paraview] Probe Location

2010-10-19 Thread Utkarsh Ayachit
You need to hit "Apply" after having positioned the probe filter at the location you want. After that the "Information' tab will update. Utkarsh On Tue, Oct 19, 2010 at 12:16 PM, Phil Tiller wrote: > > Hi, > > I've been trying to use the 'probe location' filter to extract values at > certain poi

Re: [Paraview] Python Reader

2010-10-19 Thread Paul Edwards
Are you trying to do this without compiling anything? I'm not even sure you can load in a GUI plugin via XML - maybe someone else can confirm here? Sorry I can't be more help, Paul On 19 October 2010 16:15, Brockmann Patrick wrote: > Paul Edwards a écrit : > > You will need a separate xml file

[Paraview] Python command to exit ParaView question

2010-10-19 Thread Scott, W Alan
Is there a python command in a Python script that will tell ParaView to exit? Thanks, Alan W. Alan Scott ParaView Support Manager GAITS Sandia National Laboratories, MS 0822 Org 9326 - Building 880 A1-C (505) 284-0932 FAX (505) 845-0833

Re: [Paraview] Saving Views

2010-10-19 Thread Samuel Key
Phil, For me, I do the following: 1) Read in first datum set and create view and datum display in which I am interested. 2) Read in second datum set "on top" of the first datum set; they now overlay with exactly the same view settings. 3) Crea

Re: [Paraview] Saving Views

2010-10-19 Thread burlen
Hi Phil, Saving (and re-applying) the camera settings should do what you need. Are the two datasets the same size? Did you apply the saved settings after loading the second dataset? Burlen On 10/19/2010 09:12 AM, Phil Tiller wrote: Hi, This must be very simple in Paraview but I can't seem to

Re: [Paraview] Python command to exit ParaView question

2010-10-19 Thread Utkarsh Ayachit
Nope. Python is not supposed to "drive" the ParaView Qt GUI. If that's what you indeed want, why not simply use pvpython/pvbatch? Utkarsh On Tue, Oct 19, 2010 at 1:20 PM, Scott, W Alan wrote: > Is there a python command in a Python script that will tell ParaView to > exit? > > Thanks, > > Alan >

Re: [Paraview] Python command to exit ParaView question

2010-10-19 Thread pat marion
Not unless you want to type something like this... from PyQt4 import QtCore QtCore.QCoreApplication.quit() Pat On Tue, Oct 19, 2010 at 1:48 PM, Utkarsh Ayachit < utkarsh.ayac...@kitware.com> wrote: > Nope. Python is not supposed to "drive" the ParaView Qt GUI. If that's > what you inde

[Paraview] windows build problems, cmake errors

2010-10-19 Thread m . c . wilkins
Hi, I get an error while trying to build the make files for building paraview on Windows. The error is: Entering Z:/Utilities/VTKClientServer/Common CMake Error at Utilities/VTKClientServer/vtkClientServer.cmake:16 (INCLUDE): include could not find load file: C:/build/pv/V

Re: [Paraview] windows build problems, cmake errors

2010-10-19 Thread Dave Partyka
How are your build/source directories organized? Is the source dir on the Z drive and the build dir is on C? On Tue, Oct 19, 2010 at 8:23 PM, wrote: > > Hi, > > I get an error while trying to build the make files for building > paraview on Windows. The error is: > > Entering Z:/Ut

Re: [Paraview] windows build problems, cmake errors

2010-10-19 Thread m . c . wilkins
Hi, Yes, the source dir is on the Z drive and the build dir is on C. My windows machine is running in virtualbox on my linux machine. The source directory, Z:, is a drive mapped through to a directory on my linux box. The build directory is C:/build/pv. Thanks Matt Wilkins On Tue, Oct 19, 2