------------------------------------------------------------------------------
| 476 | |
| 477 | //------------------------------------------------------------------------------ |
| 478 | void vtkInteractorStyle::StopAnimate() |
| 479 | { |
| 480 | vtkRenderWindowInteractor* rwi = this->Interactor; |
| 481 | this->AnimState = VTKIS_ANIM_OFF; |
| 482 | if (this->State == VTKIS_NONE) |
| 483 | { |
| 484 | rwi->GetRenderWindow()->SetDesiredUpdateRate(rwi->GetStillUpdateRate()); |
| 485 | if (this->UseTimers && !rwi->DestroyTimer(this->TimerId)) |
| 486 | { |
| 487 | vtkErrorMacro(<< "Timer stop failed"); |
| 488 | } |
| 489 | } |
| 490 | } |
| 491 | |
| 492 | // JCP Animation control |
| 493 | //------------------------------------------------------------------------------ |
no test coverage detected