[Paraview] Reader ctors called multiple times?
Burlen Loring
bloring at lbl.gov
Mon Aug 4 17:38:18 EDT 2014
I thought it was twice. The first one ParaView when creates the reader
to call CanReadFile in its search for potential readers of the file. The
second one when it builds the pipeline.
On 08/04/2014 02:31 PM, Vanmoer, Mark W wrote:
>
> Ah, is it because the exeutive's ProcessRequest is doing all three of
> REQUEST_DATA, REQUEST_INFORMATION, and REQUEST_DATA_OBJECT ?
>
> *From:* Vanmoer, Mark W
> *Sent:* Monday, August 04, 2014 4:04 PM
> *To:* paraview
> *Subject:* Reader ctors called multiple times?
>
> Hello ParaView,
>
> I've inherited a project that writes plugins for ParaView 3.14.1,
> serial. While debugging I found out that the constructor for one of
> this project's file readers is called 3 times when loading a file. I
> thought this was odd, so I tried setting a break point on
> vtkUnstructuredGridReader's ctor and discovered that it's called
> twice. However, a constructor for vtk source plugin that I wrote is
> only called once, as I would have guessed for the others.
>
> Is it normal for readers to have their constructors called multiple
> times when loading a file?
>
> Thanks,
>
> Mark
>
>
>
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/paraview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140804/d4fee0fe/attachment.html>
More information about the ParaView
mailing list