[Paraview-developers] REQUEST_INFORMATION not being called
Berk Geveci
berk.geveci at kitware.com
Mon Nov 11 09:51:13 EST 2013
Hi John,
UpdateInformation has never been called every time step. Overall, VTK's
support for extent changing over time is not so great. There is a pipeline
pass - REQUEST_TIME_DEPENDENT_INFORMATION() - that is called every time
step. So your data source can update the extent information during that
pass. However, note that not all filters will behave properly because they
may allocate or set other information related to extent during
RequestInformation. I have a long standing branch that aims to clean up
extents, time support etc. and I hope to focus on getting that in over the
next few months. The safest approach is to wrap your image data with a
multi-block dataset currently.
Best,
-berk
On Mon, Nov 11, 2013 at 7:56 AM, Biddiscombe, John A. <biddisco at cscs.ch>wrote:
> I have a dataset which is vtkImageData and it changes size over time.
> When animating this, the extent handling is breaking when the image changes
> size.
>
> My initial attempts to fix it have failed and I suspect I need to force an
> update information at the renderwindow end when Update is called - the
> mappers are not honouring the extents (even outline filters are getting the
> shape wrong).
>
>
>
> It used to be that information was updated on every time step. Did
> something change?
>
>
>
> It’s possible to replicate this by simply creating a wavelet {-10,10} and
> saving it as image_000.vti, then making the wavelet bigger {-10,20} and
> saving as image_001.vti. Now load them as a time series and step forward.
> The image is not correctly displayed. One can verify by loading the image
> separately.
>
>
>
> Where would be the correct place to force an UpdateInformation in the
> render process?
>
>
>
> thanks
>
>
>
> JB
>
>
>
>
>
> --
>
> John Biddiscombe, email:biddisco @.at.@ cscs.ch
>
> http://www.cscs.ch/
>
> CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07
>
> Via Trevano 131, 6900 Lugano, Switzerland | Fax: +41 (91) 610.82.82
>
>
>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20131111/54d5a632/attachment.htm>
More information about the Paraview-developers
mailing list