[Paraview] New panel, widget update

felipe.bordeu at ec-nantes.fr felipe.bordeu at ec-nantes.fr
Thu Aug 1 08:43:40 EDT 2013


Also, had I said before, my reader y capable of generate data based in the value of the slider. This value is send using a keyinformation downstream in the pipeline.  Then I have an optimizer fiter capable of setting automatically this value(sending a request upstream). I whould like the properties panel to be updated with the final valiue.

Felipe
-----Message d'origine-----
De:Felipe Bordeu
Envoyé: 01/08/2013, 14:33 
A: Felipe Bordeu Weldt
Sujet: RE: [Paraview] New panel, widget update

-----Message d'origine-----
De:Felipe Bordeu Weldt
Envoyé: 30/07/2013, 21:23 
A: paraview at paraview.org
Sujet: Re: [Paraview] New panel, widget update


Hi,

the short story:

In my custom reader select some values using some sliders. Then push  
the Apply, at that moment, I (I mean the reader) read the file make  
the calculations for the construction of a field and set the sliders  
to the real final values calculated by the reader (so the user is  
aware of with values are used).

the long story:

Ok, my solution can be written like this T(x,y,z,r,s,t) =  
f1(x,y,z)*f2(r,s,t)   (this is a separation of variables). where f1 is  
a nodalfield in a mesh on the x,y,z space, and f2 is a nodalfield in a  
different mesh in the (r,s,t) space.
So my file holds 2 (or more) meshes with associated fields.
My field T (that lives in a 6 dimension space) cant be visualized in  
ParaView (or any visualization tool). So my idea is to fix (r,s,t) so  
the field T  becomes T(x,y,z,r0,s0,t0) = T(x,y,z) (this is a 3D field  
and can be visualized in ParaView).

In my custom reader I use 3 slider to select the values of r,s,t, and  
then internally I search for the closest point in the mesh (to get the  
value of f2). And with the older panel I used to update the slider so  
the user can know the point that is used for the calculation.

In this video you can see the reader in action http://www.youtube.com/watch?v=o6Vzww_cmhA#at 
=26 (details in  http://rom.research-centrale-nantes.com/overview/)  
but in this case I use the interpolation in the r,s,t space  so no  
update is done.


It this clear enough?

Felipe




Le 30 juil. 13 à 16:01, Utkarsh Ayachit a écrit :

> Felipe,
>
> Can you elaborate on why you need to do this?
>
> Thanks
> Utkarsh
>
> On Tue, Jul 30, 2013 at 2:35 AM, Felipe Bordeu Weldt
> <felipe.bordeu at ec-nantes.fr> wrote:
>> Hello,
>>
>> In the old panel system, the pqProxyPanel  has a  
>> updateInformationAndDomains() and the dataUpdated() to update the  
>> panel AFTER the algorithm is executed.
>> How can I achieve this in the new panel architecture ??
>>
>> My new panel is a subclass of pqPropertyWidget.
>>
>> Felipe
>> _______________________________________________
>> 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
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview

_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview



More information about the ParaView mailing list