Re: [Paraview] Algorithm causing reader RequestData when running

2010-03-31 Thread Paul Edwards
Ah! I didn't know that and it fixes my problem. Now I need to check all my other plugins. Thanks, Paul On 26 March 2010 15:46, Berk Geveci berk.gev...@kitware.com wrote: Burlen is correct. On Fri, Mar 26, 2010 at 11:30 AM, Burlen Loring burlen.lor...@gmail.com wrote: If I'm not

[Paraview] Algorithm causing reader RequestData when running

2010-03-26 Thread Paul Edwards
Hi, I am writing an algorithm to operate on a vtkMultiBlockDataSet where I would like to extract blocks depending on field data that is set. Internally in my algorithm I am using the vtkExtractBlock filter and when this is updated it causes the RequestData for my reader to be executed again.

Re: [Paraview] Algorithm causing reader RequestData when running

2010-03-26 Thread Burlen Loring
If I'm not mistaken, when creating a VTK pipeline inside of a PV filter, you need to make a shallow copy of the input dataset in order to keep the PV pipeline isolated as your VTK pipeline executes. Try making a shallow copy of input and passing that into extractBlockFilter, and see if it

Re: [Paraview] Algorithm causing reader RequestData when running

2010-03-26 Thread Berk Geveci
Burlen is correct. On Fri, Mar 26, 2010 at 11:30 AM, Burlen Loring burlen.lor...@gmail.com wrote: If I'm not mistaken, when creating a VTK pipeline inside of a PV filter, you need to make a shallow copy of the input dataset in order to keep the PV pipeline isolated as your VTK pipeline