[vtkusers] SetTimeValue() not work in vtkOpenFOAMReader.cxx

Sehoon Lee sehooi at gmail.com
Tue Jan 31 21:04:56 EST 2017


I found the solution using the following code

   reader->UpdateInformation();
   vtkInformation* outInfo =
reader->GetExecutive()->GetOutputInformation(0);
   outInfo->Set(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEP(), 1.5);
   reader->Update();

instead of

   reader->SetTimeValue(1.5); 
   reader->Update();





--
View this message in context: http://vtk.1045678.n5.nabble.com/SetTimeValue-not-work-in-vtkOpenFOAMReader-cxx-tp5741995p5742003.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list