<HTML>
<HEAD>
<TITLE>Re: [Paraview] Problem with custom time-aware reader</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Karl,<BR>
<BR>
Your patch seems overly complicated. There is exactly one check in vtkFileSeriesReader to determine whether the internal reader has time, and that is in RequestInformation. It is a lot less intrusive to just add a condition to that check there. I’ve attached a patch that implements the no-time flag in this way. (BTW, I changed the name from IgnoreTimeStepValues to IgnoreReaderTime since a reader can in fact specify time without specifying time steps.)<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 9/18/09 4:47 AM, "Karl König" <<a href="kkoenig11@web.de">kkoenig11@web.de</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi,<BR>
<BR>
I dug deeper into the class FileSeriesReader and found out that despite<BR>
what I thought and posted earlier everything is already there to be able<BR>
to implement a toggle to use/ignore time step values contained in a file<BR>
series. I'd like to propose the attached patch. It can be tested with<BR>
the attached minimal time series reader plugin, sample input files are<BR>
contained. The plugin's server manager XML has been extended to expose<BR>
the IgnoreTimeStepValues checkbox provided by the patched class<BR>
FileSeriesReader.<BR>
<BR>
I don't see the patch interfering with existing readers relying on class<BR>
FileSeriesReader.<BR>
Any thoughts?<BR>
<BR>
Thanks in advance for feedback,<BR>
Karl<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>