Hi Mike,<br><br>First a disclaimer: the time support in VTK and ParaView is evolving.<br><br>Currently, the only way to set the time on a reader in ParaView is<br>though a set/get method pair on the public API. Exodus does this by
<br>providing SetTimeStep and GetTimeStep methods. To add the time<br>support on the GUI, readers.xml and Readers.xml files have to updated.<br><br>In VTK, a time aware pipeline can send UPDATE_TIME_INDEX() to request<br>
a specific time step instead of using the public methods. This is not<br>yet supported in paraview. It is however on our roadmap.<br><br>A reader tells the pipeline (and paraview) which time steps are<br>available by setting TIME_STEPS() key on the output information during
<br>RequestInformation(). This is also what is used to automatically display <br>the current time value as annotation. <br><br>Also, there has been some recent changes to the time support in VTK.<br>UPDATE_TIME_INDEX() is no longer used. UPDATE_TIME_STEPS() is used
<br>instead. This is not index based. It contains the time values that the<br>pipeline is requesting. It is up to the reader to find the closest time<br>step or even interpolate if desired. For more information, look here:
<br><a href="http://www.vtk.org/Wiki/VTK/Time_Support">http://www.vtk.org/Wiki/VTK/Time_Support</a><br><br>I hope that there will be an article on this in the next Kitware Source.<br><br>-berk<br><br>On 11/8/06, Mike Jackson <
<a href="mailto:mike.jackson@imts.us">mike.jackson@imts.us</a>> wrote:<br>> I am developing a ParaView reader for my custom file format. Inside our data<br>> we have the data laid by timesteps. I was wanting to use this information
<br>> inside of ParaView so I am basically copying the Exodus Reader (at least the<br>> timestep portion). So far everything is ok except that the following line of<br>> code comes back false:<br>> <br>> if(outInfo->Has(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_INDEX()))
<br>> <br>> It is with in this block that the time value and the index get updated but<br>> for some reason when run in my code this comes back false. I am currently<br>> running the reader using a command line "test" program and have not actually
<br>> tried it in ParaView for some other reasons. Is there a special type of<br>> pipeline I need to instantiate in a non-ParaView setting? Is there something<br>> is the xml files that needs to be set so the UPDATE_TIME_INDEX key is
<br>> present? How about in the header file for my class? Maybe some undocumented<br>> accessor method?<br>> <br>> Any help would be appreciated.<br>> <br>> --<br>> Mike Jackson Senior Research Engineer
<br>> Innovative Management & Technology Services<br>> <br>> <br>> <br>> <br>> _______________________________________________<br>> ParaView mailing list<br>> <a href="mailto:ParaView@paraview.org">
ParaView@paraview.org</a><br>> <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>> <br><br><br>-- <br> Berk Geveci<br> Kitware Inc.<br> 28 Corporate Drive
<br> Clifton Park, NY, 12309<br>