Can't animate on one time step in a dataset with multiple time steps
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Load a dataset that supports time, with N steps.
Create a slice through it. Now try to animat the slice from one end to the other of the data - with time fixed.
vtkAnimationPlayer goes into an infinite loop while (!this->StopPlay && this->CurrentTime <= endtime) { this->AnimationScene->Tick(this->CurrentTime, deltatime, this->CurrentTime); double progress = (this->CurrentTime-starttime)/(endtime-starttime); this->InvokeEvent(vtkCommand::ProgressEvent, &progress);
double nexttime = this->GetNextTime(this->CurrentTime);
deltatime = nexttime - this->CurrentTime;
this->CurrentTime = nexttime;
}
because there is no delta T. You can't do it!