This is complex but can be done with the time support in VTK’s pipeline. 
However, it requires the filter to hold state from one call of RequestData to 
the next. This is simple enough in C++, but I’m not sure how you do it in the 
Python interpreter (used by the programmable filter). You could declare a 
global variable, but are you guaranteed to get the same interpreter instance 
each call? That’s a question for Utkarsh.

-Ken


From: ParaView <[email protected]> on behalf of Walter Scott 
<[email protected]>
Date: Friday, March 10, 2017 at 1:16 PM
To: "[email protected]" <[email protected]>
Subject: [EXTERNAL] [Paraview] Field value question from a user


Greetings,

Is there a way with the calculator or something similar in paraview to grab the 
field value at a particular time step, so that I could then subtract it off of 
the time varying field?



Thanks,



Alan


_______________________________________________
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

Reply via email to