Re: [Paraview] Import of .PLY fails in Paraview 5.1

2016-07-15 Thread stephaneンドング メファネ
Hello, I do not think it is a size problem, as i tried also very small files. Also, Sujin Philip managed to open the sample file I sent him without any problem. Stephane 川崎工場 火力タービン部 計画設計課 ンドング-メファネ ステファン 工学博士 富士電機株式会社 〒210-9530川崎市川崎区田辺新田1-1 TEL 044-329-2155 FAX 044-329-2394 On Fri, Jul 15,

[Paraview] Example of Programmable Filter that is Time aware?

2016-07-15 Thread Dean Neumann
I am trying to find documentation on how to access different timesteps of field data within a Python Programmable Filter. (Specifically, I want to output a vtkTable of the cross-correlation sequences of scalar field arrays A and B over all timesteps.) The only reference I found was this comment

Re: [Paraview] Custom Python plugin with multiple input ports

2016-07-15 Thread Utkarsh Ayachit
Doh! I forgot that the number of ports need to set in the constructor of the vtkAlgorithm subclass. Grr...let me see if there's a workaround. I'll get back to you on it. On Fri, Jul 15, 2016 at 2:37 PM, LB wrote: > Hi Utkarsh, > > Multiple input ports are exactly what I

Re: [Paraview] Custom Python plugin with multiple input ports

2016-07-15 Thread LB
Hi Utkarsh, Multiple input ports are exactly what I want. But I can't get it to work. I've attached my last XML plugin attempt with different port_index definition. When I try to use it, I have the following error: /ParaViewVTK/Common/ExecutionModel/vtkAlgorithm.cxx, line 893

Re: [Paraview] custom filter doesn't update property in the Paraview UI

2016-07-15 Thread Cory Quammen
Corinna, Looking at the ParaView source code, I believe that vector properties with information properties must have a domain associated with them. In your case, you can add an IntRangeDomain with only a minimum defined: 0 seems like a reasonable minimum in your case. Keep your

Re: [Paraview] Custom Python plugin with multiple input ports

2016-07-15 Thread Utkarsh Ayachit
Sorry for chiming in late, but here are some things to note: * Both Dennis and Cory are talking about multiple connections on the same input port. This is arguably not too well supported since the order cannot be determined easily. * Seems to me you want multiple input ports, each with a single

Re: [Paraview] Horizontal averages

2016-07-15 Thread Utkarsh Ayachit
I believe the best way to deal with this would be using a Python programmable filter. Let me see if I can put something together for you. I'll get back to you. Utkarsh On Wed, Jul 13, 2016 at 7:47 PM, Marie Kajan wrote: > Hello, > > I'm working with data on a spherical

Re: [Paraview] Problem to compute the gradient of a scalar field

2016-07-15 Thread Stéphane Dellacherie
Thanks very much. This works ! Stéph Le 15/07/2016 10:13, Andy Bauer a écrit : I mispelled it -- it's the Tessellate filter. I'm not sure how the Point Data To Cell Data filter is supposed to fix the problem. The Gradient of Unstructured Data Set filter uses that filter in the

Re: [Paraview] Problem to compute the gradient of a scalar field

2016-07-15 Thread Andy Bauer
I mispelled it -- it's the Tessellate filter. I'm not sure how the Point Data To Cell Data filter is supposed to fix the problem. The Gradient of Unstructured Data Set filter uses that filter in the implementation. On Fri, Jul 15, 2016 at 7:37 AM, Stéphane Dellacherie <

Re: [Paraview] Programmable sphere source - update position each timestep from csv file

2016-07-15 Thread James Avery
Hi Cory, Thanks for your help. Sorry if the message was rambling, but I had a script which made the spheres is called from the python shell as you suggest. However, I was looking for a solution that was automatically updated when changing the timestep in the GUI - I was not clear on this,

Re: [Paraview] Problem to compute the gradient of a scalar field

2016-07-15 Thread Stéphane Dellacherie
Dear Andy, Thank you for your answer. I don't find the "tesselate filter" in the alphabetical list : would you tell me what is the right filter ? Thank you. Moreover, if the pb is due to the fact that I use quadratic triangles, the filter GradientOfUnstructuredDataSet should works after the

Re: [Paraview] Custom Python plugin with multiple input ports

2016-07-15 Thread LB
Hi Cory, As I understand, the Python Programmable filter can accept only one input port, but this port can accept multiple connections. The order of multiple connections on the same port cannot be controlled by the user. My filter need two input datasets, but they are not commutable. The user

Re: [Paraview] custom filter doesn't update property in the Paraview UI

2016-07-15 Thread corinna reuter
Cory, thanks for mentioning the TIFFReader proxy. I tried to modify my previously attached code such that the NPoints property links to a NPointsInfo property. Plus, I have removed the call "this->SetNPoints(nset);" inside vtkTestProperty::RequestData as suggested by Utkarsh. The NPoints property