[vtkusers] vtkAVSucdReader does not create error event?

Florian Bruckner e0425375 at gmail.com
Tue Jul 20 06:20:36 EDT 2010


hi,
I would like to write a generic unstructured grid reader function (class).
Therefor I want simply add vtkXMLUnstructredGridReader,
vtkUnstructuredGridReader, vtkAVSucdReader and possibly some others into a
list and try one after another to read the datafile. I assumed that each of
theses readers would raise an error event if something goes wrong reading
the file, but unfortunately vtkAVSucdReader seems to never fail, and
vtkXMLUnstructuredGridReader raises more then one event and only one of the
is caught by the try clause in my reader function!

is it very complicated to add some error conditions to the reader code? how
could i manage this, or is this already planned for future versions?

another question: why does my observer only catch one of the error events
while the others are directly printed to stdout.

thanks
FloB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100720/d1b41228/attachment.htm>


More information about the vtkusers mailing list