[Paraview] Can ParaView create "envelope" or cumulative maximums?

Berk Geveci berk.geveci at kitware.com
Fri Dec 4 15:17:24 EST 2015


Somebody kindly defined a variable called "request" in the programmable
filter. So you can do:

request.Set(vtk.vtkStreamingDemandDrivenPipeline.CONTINUE_EXECUTING(), 1)

I believe.

On Fri, Dec 4, 2015 at 11:29 AM, Favre Jean <jfavre at cscs.ch> wrote:

>
> Incidentally, I tried to achieve this with a Python programmable filter
> since that was Alan's question.
>
> I did not succeed.  I am removing the TIME_STEPS() and TIME_RANGE() in
> the  RequestInformationScript script. I am setting a different
> UPDATE_TIME_STEP() at each iteration of the RequestUpdateExtentScript. I am
> setting CONTINUE_EXECUTING() in the main Script, but ParaView just does not
> loop after the first iteration.
>
> I have the feeling I am not setting CONTINUE_EXECUTING on the right
> object. Question:
>
> how does one get the request object from the executive? When I look at C
> code, I see
>
> int vtkTemporalStatistics::RequestData(vtkInformation *request,
>                                        vtkInformationVector **inputVector,
>                                        vtkInformationVector *outputVector)
> {
> ...
> request->Set(vtkStreamingDemandDrivenPipeline::CONTINUE_EXECUTING(), 1)
> ...
> }
>
> What is the equivalent in Python within a ProgrammableFilter()?
>
> Jean/CSCS
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20151204/2dad526e/attachment.html>


More information about the ParaView mailing list