Re: [Paraview] GetPolyData on a BoxWidget

2011-06-08 Thread Laurent Paul
The bit level was not specified, and I had no choice for the compiler... I tried compiling using the 32 bit version of my compiler and it worked. Regarding the clipping, I can't find the vtkPVBox in the paraview sources. Are you sure that it is the class used for clipping DataSet using a box? I

[Paraview] PV 3.10.0 mpi question

2011-06-08 Thread Stephen Wornom
My mpi ParaView had been working correctly in the client/server mode. Since I last ran the mpi mode there have been several ParaView upgrades so I don't know the last version of PV in which it worked correctly. The current installed PV version on the cluster is PV 3.10.0. There are three

Re: [Paraview] GetPolyData on a BoxWidget

2011-06-08 Thread John Drescher
The bit level was not specified, and I had no choice for the compiler... I tried compiling using the 32 bit version of my compiler and it worked. In visual studio you can do that by opening up a 32 bit or 64 bit command prompt for your compiler. John

Re: [Paraview] Concept: A world without the Apply button

2011-06-08 Thread Stephane PLOIX
Hi Utkarsh, If we want to push the demand-driven logic to the end, choosing the arrays to load could be implicit on the readers : they will depend on the arrays needed down the pipeline. The obvious drawback of this approach is that having several arrays availbale for the representation to

Re: [Paraview] GetPolyData on a BoxWidget

2011-06-08 Thread Utkarsh Ayachit
Oh, you're using 3.10, aren't you? vtkPVBox got added in git-master recently. In case of 3.10, it will be a vtkBox. We subclassed it recently to provide an API to set position,scale, orientation separately. In 3.10's case, you can use vtkBox::GetTransform() to obtain the transformation matrix

Re: [Paraview] Concept: A world without the Apply button

2011-06-08 Thread Utkarsh Ayachit
Stephane, Yes, that'd indeed be a path forward, but like you alluded to, it would need a planning of its own especially adding support to the executive, being smart about when to re-execute, and even possibly, cache arrays. Utkarsh On Wed, Jun 8, 2011 at 8:33 AM, Stephane PLOIX

Re: [Paraview] PV 3.10.0 mpi question

2011-06-08 Thread Utkarsh Ayachit
Is it possible for you to share the pvd file? Utkarsh On Wed, Jun 8, 2011 at 5:34 AM, Stephen Wornom stephen.wor...@inria.fr wrote: My mpi ParaView had been working correctly in the client/server mode. Since I last ran the mpi mode there have been several ParaView upgrades so I don't know

Re: [Paraview] GetPolyData on a BoxWidget

2011-06-08 Thread John Drescher
On Wed, Jun 8, 2011 at 8:33 AM, Laurent Paul l.p...@uclouvain.be wrote: No, I mean 32 or 64 bits and VS2010 on the Qt download page. Sorry I was I was talking about building Qt because I know the download page is limited.. To build Qt you open up a command for your compiler (Visual Studio 2008

Re: [Paraview] GetPolyData on a BoxWidget

2011-06-08 Thread Laurent Paul
Ouch... I have configured the project but without any option and it has worked. Running nmake fails because cl tries to use a temp directory that contains ''... Do you know how to make that temp directory pointing elsewhere? Le 8/06/2011 14:54, John Drescher a écrit : On Wed, Jun 8, 2011

Re: [Paraview] GetPolyData on a BoxWidget

2011-06-08 Thread John Drescher
On Wed, Jun 8, 2011 at 9:00 AM, Laurent Paul l.p...@uclouvain.be wrote: Ouch... I have configured the project but without any option and it has worked. Running nmake fails because cl tries to use a temp directory that contains ''... Do you know how to make that temp directory pointing

[Paraview] Python + ParaView

2011-06-08 Thread Nico Schlömer
Hi, I'm just taking first steps with ParaView's Python interface and figured out so far that *snip* exodusReader = ExodusIIReader( FileName=solution.e ) Show( exodusReader ) Render() *snap* would plot the mesh that is stored in

Re: [Paraview] Concept: A world without the Apply button

2011-06-08 Thread Biddiscombe, John A.
[Stephane and I have been considering a proposal to add some degree of caching into the pipeline which would handle exactly the kind of situation where certain arrays could be passed through without the need for portions of the pipeline to reexecute.] (I'd like to see RequestData broken into

Re: [Paraview] Python + ParaView

2011-06-08 Thread Utkarsh Ayachit
The following wiki page talks about how to color using arrays: http://www.paraview.org/Wiki/ParaView/Python_Scripting#Representations_and_Views The easiest way to figure out Python code equivalents is to use the Trace functionality to generate python trace files for actions performed in the GUI

Re: [Paraview] Shapefiles to Paraview (or VTK) format

2011-06-08 Thread Aashish Chaudhary
Hi Takuya, Instead of sending it over the email I decided to put it over gitorious so that it could be maintained. Checkout source code from here: https://gitorious.org/vtkgis_vector_reader The repository has a test program as well that could be used to view a shape file or write shape file

Re: [Paraview] PV 3.10.0 mpi question

2011-06-08 Thread Stephen Wornom
Utkarsh Ayachit wrote: Is it possible for you to share the pvd file? I have attached it. also head solf.003000_100.vtu ?xml version=1.0? VTKFile type=UnstructuredGrid byte_order=LittleEndian UnstructuredGrid Piece NumberOfPoints=6553 NumberOfCells=33400 Points DataArray

Re: [Paraview] Python + ParaView

2011-06-08 Thread Nico Schlömer
Thanks for the hints. The Trace function in indeed quite useful in that it get you where you want to be. When looking at the code there's still a lot of me to understand though, the GetLookupTableForArray() call seems to be crucial for example. * The VectorMode='Magnitude' parameter seems to be

[Paraview] ParaView + Python: WriteImage screenshots broken?

2011-06-08 Thread Nico Schlömer
Hi, everytime I call WriteImage(test.png) from on the python interface, no screenshot is created and instead the error message == *snip* == X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 0

Re: [Paraview] ParaView + Python: WriteImage screenshots broken?

2011-06-08 Thread Utkarsh Ayachit
Does simply calling Render() work? Utkarsh On Wed, Jun 8, 2011 at 11:22 AM, Nico Schlömer nico.schloe...@gmail.com wrote: Hi, everytime I call   WriteImage(test.png) from on the python interface, no screenshot is created and instead the error message == *snip*

Re: [Paraview] ParaView + Python: WriteImage screenshots broken?

2011-06-08 Thread Nico Schlömer
Yeah, render works fine. --Nico On Wed, Jun 8, 2011 at 6:01 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Does simply calling  Render() work? Utkarsh On Wed, Jun 8, 2011 at 11:22 AM, Nico Schlömer nico.schloe...@gmail.com wrote: Hi, everytime I call   WriteImage(test.png)

Re: [Paraview] ParaView + Python: WriteImage screenshots broken?

2011-06-08 Thread Utkarsh Ayachit
Try setting: v.UseOffscreenRenderingForScreenshots = 0 before calling WriteImage. Does that help? Utkarsh On Wed, Jun 8, 2011 at 12:01 PM, Nico Schlömer nico.schloe...@gmail.com wrote: Yeah, render works fine. --Nico On Wed, Jun 8, 2011 at 6:01 PM, Utkarsh Ayachit

Re: [Paraview] Python + ParaView

2011-06-08 Thread Nico Schlömer
If you want to do arbitrary arithmetic, you will have to first generate the array using something like a Calculator filter and then color using the generated array. Oh, if I remember correctly I did look into this before, and found the calculator filter too limited on the arithmetics that you

Re: [Paraview] Python + ParaView

2011-06-08 Thread David E DeMarle
The python programmable filter (and the easier to use python programmable calculator variant of that) will get you beyond all of those limitations. David E DeMarle Kitware, Inc. RD Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Wed, Jun 8, 2011 at 12:11 PM,

Re: [Paraview] Python + ParaView

2011-06-08 Thread David E DeMarle
Also the standard calculator does have conditionals, there just isn't a button corresponding to them on the UI. See the manual for the syntax. David E DeMarle Kitware, Inc. RD Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Wed, Jun 8, 2011 at 12:16 PM, David

[Paraview] Simulation data with CAD model

2011-06-08 Thread Fred Fred
Hello,I am looking for a CFD simulation dataset together with the corresponding CAD model.The bluntfin dataset included in the the PV distrib is ok but unfortunately only the simulation data are provided, do you know where I could download the corresponding CAD data?Any other set (CAD + CFD

Re: [Paraview] ParaView + Python: WriteImage screenshots broken?

2011-06-08 Thread pat marion
Try GetRenderView() instead of GetActiveView(). GetRenderView will get the active render view or create one if one does not already exist. Pat On Wed, Jun 8, 2011 at 12:16 PM, Nico Schlömer nico.schloe...@gmail.comwrote: What do you mean by v? I took a wild guess and did ==

Re: [Paraview] Concept: A world without Any Bugs

2011-06-08 Thread Biddiscombe, John A.
Utkarsh Since you brought up the topic of not applying filters on creation. Can you tell me a quick fix of how to prevent this related bug of multiple execution of filters ... Example 1) Load a dataset in parallel 2) Add a Probe Location filter. I've added output messages to the executives to

Re: [Paraview] Concept: A world without Any Bugs

2011-06-08 Thread Utkarsh Ayachit
I'm pretty sure the Ghost level request is coming from the representation, namely vtkGeometryRepresentation::RequestUpdateExtent(). Can you check where the first Update is coming from? Utkarsh On Wed, Jun 8, 2011 at 4:53 PM, Biddiscombe, John A. biddi...@cscs.ch wrote: Utkarsh Since you

Re: [Paraview] Concept: A world without Any Bugs

2011-06-08 Thread Utkarsh Ayachit
I figured out where the first update is coming from, it's coming from the GUI since it want to determine what type of representation to create based on the data produced by the reader. There it doesn't request any ghost cells. Tricky issue, let me discuss with Berk on how we can solve this.

Re: [Paraview] Concept: A world without Any Bugs

2011-06-08 Thread Biddiscombe, John A.
Our messages crossed in flight. My suggestion would be to set the ghost level to one in the initial request, when running in parallel. -Original Message- From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Biddiscombe, John A. Sent: 08 June 2011 23:12

Re: [Paraview] Surface LIC memory usage

2011-06-08 Thread Burlen Loring
Hi Utkarsh, The issues may be due to my misuse of your design :). I have had immediate mode disabled for quite some time as it had greatly improved performance. however this seams to be a major factor in the huge memory bloat when using LIC rep. When I enabled immediate mode, memory usage

Re: [Paraview] Shapefiles to Paraview (or VTK) format

2011-06-08 Thread Aashish Chaudhary
Sure. I might be able make this reader as part of VTK and if you are willing to share your plugin then probably we could make that as part of Paraview source code. Looking forward to your feedback. Thanks On Wed, Jun 8, 2011 at 8:23 PM, Takuya OSHIMA osh...@eng.niigata-u.ac.jp wrote: Hi