MCPcopy Create free account
hub / github.com/Kitware/VTK / SetAnimationTime

Method SetAnimationTime

Common/DataModel/vtkAnimationScene.cxx:261–274  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

259
260//------------------------------------------------------------------------------
261void vtkAnimationScene::SetAnimationTime(double currenttime)
262{
263 if (this->InPlay)
264 {
265 vtkErrorMacro("SetAnimationTime cannot be called while playing");
266 return;
267 }
268 this->Initialize();
269 this->Tick(currenttime, 0.0, currenttime);
270 if (this->CueState == vtkAnimationCue::INACTIVE)
271 {
272 this->Finalize();
273 }
274}
275
276//------------------------------------------------------------------------------
277void vtkAnimationScene::PrintSelf(ostream& os, vtkIndent indent)

Callers

nothing calls this directly

Calls 3

InitializeMethod · 0.45
TickMethod · 0.45
FinalizeMethod · 0.45

Tested by

no test coverage detected