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 &lt;
<a href="mailto:mike.jackson@imts.us">mike.jackson@imts.us</a>&gt; wrote:<br>&gt; I am developing a ParaView reader for my custom file format. Inside our data<br>&gt; we have the data laid by timesteps. I was wanting to use this information
<br>&gt; inside of ParaView so I am basically copying the Exodus Reader (at least the<br>&gt; timestep portion). So far everything is ok except that the following line of<br>&gt; code comes back false:<br>&gt; <br>&gt;&nbsp;&nbsp; if(outInfo-&gt;Has(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_INDEX()))
<br>&gt; <br>&gt; It is with in this block that the time value and the index get updated but<br>&gt; for some reason when run in my code this comes back false. I am currently<br>&gt; running the reader using a command line &quot;test&quot; program and have not actually
<br>&gt; tried it in ParaView for some other reasons. Is there a special type of<br>&gt; pipeline I need to instantiate in a non-ParaView setting? Is there something<br>&gt; is the xml files that needs to be set so the UPDATE_TIME_INDEX key is
<br>&gt; present? How about in the header file for my class? Maybe some undocumented<br>&gt; accessor method?<br>&gt; <br>&gt; Any help would be appreciated.<br>&gt; <br>&gt; --<br>&gt; Mike Jackson&nbsp;&nbsp; Senior Research Engineer
<br>&gt; Innovative Management &amp; Technology Services<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; ParaView mailing list<br>&gt; <a href="mailto:ParaView@paraview.org">
ParaView@paraview.org</a><br>&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>&gt; <br><br><br>-- <br> Berk Geveci<br> Kitware Inc.<br> 28 Corporate Drive
<br> Clifton Park, NY, 12309<br>