[Paraview-developers] Dynamic Updating of Time Steps and Range in Paraview simulation.

sumeet kumar sumeet.kumar507 at gmail.com
Mon Jun 12 08:25:08 EDT 2017


Hello all,

I want to visualize in preview simultaneously running the analysis. I have
met all the requirements and coded successfully to implement this feature.
The only this that I am stuck is to update the time steps and range
dynamically.

Currently, at the top of the *Request Data* method, I added the following
code thinking that  it will update the paraview gui












*    vtkInformation *Node_Mesh_Info =
outputVector->GetInformationObject(0);    this->Update_Time_Steps();
double Time_range[2]={Time[0],Time[Number_of_Time_Steps-1]};    cout <<
"Number of Time Steps " << Number_of_Time_Steps << endl;    cout << "Time
Tange " << Time_range[1] << endl;
Node_Mesh_Info->Set(vtkStreamingDemandDrivenPipeline::TIME_STEPS(),Time,
this->Number_of_Time_Steps);
Node_Mesh_Info->Set(vtkStreamingDemandDrivenPipeline::TIME_RANGE(),Time_range,2);*
But, it does not update. Id there any way, I can dynamically update the
paraview animation time steps and range.


Best Regards
Sumeet
-- 

Sumeet Kumar Sinha
Graduate Student
Phone: (+1)  <%28%2B91%29%209910516219>5306018271
Website : http://www.sumeetksinha.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20170612/7227d68e/attachment.html>


More information about the Paraview-developers mailing list