<div dir="ltr">Hi, <div><div style> We will not continue to support it. In fact, the current development branch does not have the class anymore.</div></div><div style><br></div><div style> Yes, you can use vtkMultiTimeStepAlgorithm if you do not want to manually loop over all the time steps to construct a composite data set.</div>
<div style><br></div><div style> You should replace vtkTemporalDataSet by vtkMultiBlockDataSet. Replacing calls to vtkTemporalDataSet by calls to vtkMultiBlockDataSet should be fairly straightforward. You can look at the old vtkTemporalDataSet.h to see what to do. For example, </div>
<div style><div>- data->GetTimeStep(timeStep) can be replaced by data->GetChild(timestep); </div><div>- data->GetMetaData(timestep) can be replaced by data->GetChildMetaData(timestep); </div><div><br></div>
<div style>Leo<br></div></div><div style><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 10, 2013 at 4:02 PM, Sunrise <span dir="ltr"><<a href="mailto:helios.corona@gmail.com" target="_blank">helios.corona@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Thanks for the quick reply, Leo.<br>
<br>
I prefer to have a class that acts like a container of data
frames. I already use the keys that you have mentioned for looping
over pipeline, in order to do operations "on temporal data set". I
mean, the TemporalDataSets are sending back and forth over
pipeline. Having a class (like vtktemporalDataSet) that acts like
"container" of data would be much easier to avoid nested loops in
my case.<br>
<br>
Do you have any suggestion for a data container class such as
alternative to vtkTemporalDataSet class? Is deriving from
vtkMultiTimeStepAlgorithm suitable to create such container class?<br>
<br>
Next, I see vtkTemporalDataSet is still in vtk. Does it mean vtk
(well not ParaView) continue to support it?<br>
<br>
Again, Thanks.<div><div class="h5"><br>
<br>
On 01/09/2013 08:50 PM, Yuanxin Liu wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">Hi,
<div> This is because vtkTemporalDataSet is no longer
supported. The details of the change can be seen here: <a href="http://www.vtk.org/Wiki/VTK/Remove_vtkTemporalDataSet" target="_blank">http://www.vtk.org/Wiki/VTK/Remove_vtkTemporalDataSet</a>.
In short, the executives now only support updating single
time steps; if a filter needs to use multiple time step data,
it needs to use the key <span style="line-height:19.03999900817871px;font-size:12.800000190734863px;font-family:sans-serif">vtkStreamingDemandPipeline::CONTINUE_EXECUTION</span><span style="line-height:19.03999900817871px;font-size:12.800000190734863px;font-family:sans-serif">()</span> to
loop over those time steps.</div>
<div><br>
</div>
<div> If your filter works only on single time steps,
then the change should be fairly straightforward. Try:</div>
<div> - Inherit from vtkDataObjectAlgorithm instead of
vtkTemporalDataSetAlgorithm <br>
</div>
<div> - replace the key UPDATE_TIME_STEPS()
by UPDATE_TIME_STEP()</div>
<div> - replace the key DATA_TIME_STEPS() by
DATA_TIME_STEP()</div>
<div><br>
</div>
<div> The compiler would then hopefully guide you to
resolve the rest of the errors. Let me know if you have
trouble. Also please feel free to post your code.</div>
<div><br>
</div>
<div>Leo</div>
<div><br>
</div>
<div><br>
</div>
<div> </div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Jan 9, 2013 at 9:00 PM, Sunrise
<span dir="ltr"><<a href="mailto:helios.corona@gmail.com" target="_blank">helios.corona@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hello
everyone,<br>
<br>
I am compiling ParaView developement in order to develop a
ParaView plugin. Some of my classes are inherited from
vtkTemporalDataSetAlgorithm. In previous version(s) of
ParaView source code (i.e. <= 3.14.1) I could use
vtkTemporalDataSetAlgorithm and I everything was fine.<br>
<br>
Recently I tried to use newer version of ParaView source
(version 3.98.0) and some vtk files are missed, such as:<br>
<br>
.../Filtering/vtkTemporalDataSetAlgorithm.cxx<br>
.../Filtering/vtkTemporalDataSet.cxx<br>
.../Filtering/vtkTemporalDataSetAlgorithm.h<br>
.../Filtering/vtkTemporalDataSet.h<br>
<br>
How can I use vtkTemporalDataSet* in recent ParaView?<br>
<br>
Thanks.<br>
_______________________________________________<br>
Paraview-developers mailing list<br>
<a href="mailto:Paraview-developers@paraview.org" target="_blank">Paraview-developers@paraview.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div></div>